Temporary header file '/tmp/AM5qrNvJO3/dump1.h' with the following content will be compiled to create GCC translation unit dump:

  // add defines
  #define __STDC_VERSION__ 201710L
#define _GXX_NULLPTR_T
#define CLUTTER_ENABLE_COMPOSITOR_API 1
#define _REGEX_NELTS(n)
#define _Atomic
#define PACKED
#define getaddrinfo_a(a,b,c,d)

  // add includes
  #include "/usr/include/pktools/algorithms/ConfusionMatrix.h"
  #include "/usr/include/pktools/algorithms/CostFactory.h"
  #include "/usr/include/pktools/algorithms/CostFactorySVM.h"
  #include "/usr/include/pktools/algorithms/Egcs.h"
  #include "/usr/include/pktools/algorithms/FeatureSelector.h"
  #include "/usr/include/pktools/algorithms/Filter.h"
  #include "/usr/include/pktools/algorithms/Filter2d.h"
  #include "/usr/include/pktools/algorithms/ImgRegression.h"
  #include "/usr/include/pktools/algorithms/StatFactory.h"
  #include "/usr/include/pktools/algorithms/myfann_cpp.h"
  #include "/usr/include/pktools/algorithms/svm.h"
  #include "/usr/include/pktools/base/IndexValue.h"
  #include "/usr/include/pktools/base/Optionpk.h"
  #include "/usr/include/pktools/base/PosValue.h"
  #include "/usr/include/pktools/base/Vector2d.h"
  #include "/usr/include/pktools/fileclasses/FileReaderAscii.h"
  #include "/usr/include/pktools/imageclasses/ImgRasterGdal.h"
  #include "/usr/include/pktools/imageclasses/ImgReaderGdal.h"
  #include "/usr/include/pktools/imageclasses/ImgReaderOgr.h"
  #include "/usr/include/pktools/imageclasses/ImgUpdaterGdal.h"
  #include "/usr/include/pktools/imageclasses/ImgWriterGdal.h"
  #include "/usr/include/pktools/imageclasses/ImgWriterOgr.h"

  // add namespaces
  namespace arma{typedef int tmp_add_type_1;}
  arma::tmp_add_type_1 tmp_add_func_1(){return 0;};
  namespace arma{namespace arpack{typedef int tmp_add_type_2;}}
  arma::arpack::tmp_add_type_2 tmp_add_func_2(){return 0;};
  namespace arma{namespace blas{typedef int tmp_add_type_3;}}
  arma::blas::tmp_add_type_3 tmp_add_func_3(){return 0;};
  namespace arma{namespace fill{typedef int tmp_add_type_4;}}
  arma::fill::tmp_add_type_4 tmp_add_func_4(){return 0;};
  namespace arma{namespace junk{typedef int tmp_add_type_5;}}
  arma::junk::tmp_add_type_5 tmp_add_func_5(){return 0;};
  namespace arma{namespace lapack{typedef int tmp_add_type_6;}}
  arma::lapack::tmp_add_type_6 tmp_add_func_6(){return 0;};
  namespace arma{namespace newarp{typedef int tmp_add_type_7;}}
  arma::newarp::tmp_add_type_7 tmp_add_func_7(){return 0;};
  namespace arma{namespace priv{typedef int tmp_add_type_8;}}
  arma::priv::tmp_add_type_8 tmp_add_func_8(){return 0;};
  namespace arma{namespace superlu{typedef int tmp_add_type_9;}}
  arma::superlu::tmp_add_type_9 tmp_add_func_9(){return 0;};
  namespace confusionmatrix{typedef int tmp_add_type_10;}
  confusionmatrix::tmp_add_type_10 tmp_add_func_10(){return 0;};
  namespace cpl{typedef int tmp_add_type_11;}
  cpl::tmp_add_type_11 tmp_add_func_11(){return 0;};
  namespace FANN{typedef int tmp_add_type_12;}
  FANN::tmp_add_type_12 tmp_add_func_12(){return 0;};
  namespace filter{typedef int tmp_add_type_13;}
  filter::tmp_add_type_13 tmp_add_func_13(){return 0;};
  namespace filter2d{typedef int tmp_add_type_14;}
  filter2d::tmp_add_type_14 tmp_add_func_14(){return 0;};
  namespace imgregression{typedef int tmp_add_type_15;}
  imgregression::tmp_add_type_15 tmp_add_func_15(){return 0;};
  namespace statfactory{typedef int tmp_add_type_16;}
  statfactory::tmp_add_type_16 tmp_add_func_16(){return 0;};
  namespace svm{typedef int tmp_add_type_17;}
  svm::tmp_add_type_17 tmp_add_func_17(){return 0;};
  namespace arma{namespace arma_str{typedef int tmp_add_type_18;}}
  arma::arma_str::tmp_add_type_18 tmp_add_func_18(){return 0;};
  namespace arma{namespace band_helper{typedef int tmp_add_type_19;}}
  arma::band_helper::tmp_add_type_19 tmp_add_func_19(){return 0;};
  namespace arma{namespace csv_opts{typedef int tmp_add_type_20;}}
  arma::csv_opts::tmp_add_type_20 tmp_add_func_20(){return 0;};
  namespace arma{namespace gmm_priv{typedef int tmp_add_type_21;}}
  arma::gmm_priv::tmp_add_type_21 tmp_add_func_21(){return 0;};
  namespace arma{namespace hdf5_opts{typedef int tmp_add_type_22;}}
  arma::hdf5_opts::tmp_add_type_22 tmp_add_func_22(){return 0;};
  namespace arma{namespace inv_opts{typedef int tmp_add_type_23;}}
  arma::inv_opts::tmp_add_type_23 tmp_add_func_23(){return 0;};
  namespace arma{namespace qz_helper{typedef int tmp_add_type_24;}}
  arma::qz_helper::tmp_add_type_24 tmp_add_func_24(){return 0;};
  namespace arma{namespace solve_opts{typedef int tmp_add_type_25;}}
  arma::solve_opts::tmp_add_type_25 tmp_add_func_25(){return 0;};
  namespace arma{namespace sympd_helper{typedef int tmp_add_type_26;}}
  arma::sympd_helper::tmp_add_type_26 tmp_add_func_26(){return 0;};
  namespace arma{namespace trimat_helper{typedef int tmp_add_type_27;}}
  arma::trimat_helper::tmp_add_type_27 tmp_add_func_27(){return 0;};

  // add classes
  BadConversion* tmp_add_class_0;
  CPLConfigOptionSetter* tmp_add_class_1;
  CPLErrorHandlerPusher* tmp_add_class_2;
  CPLErrorStateBackuper* tmp_add_class_3;
  CPLJSONArray* tmp_add_class_4;
  CPLJSONDocument* tmp_add_class_5;
  CPLJSONObject* tmp_add_class_6;
  CPLLocaleC* tmp_add_class_7;
  CPLLockHolder* tmp_add_class_8;
  CPLMutexHolder* tmp_add_class_9;
  CPLString* tmp_add_class_10;
  CPLStringList* tmp_add_class_11;
  CPLThreadLocaleC* tmp_add_class_12;
  CPLXMLNode* tmp_add_class_13;
  CPLXMLTreeCloser* tmp_add_class_14;
  CPLXMLTreeCloserDeleter* tmp_add_class_15;
  Compare_IndexValue* tmp_add_class_16;
  Compare_PosValue* tmp_add_class_17;
  CostFactory* tmp_add_class_18;
  CostFactorySVM* tmp_add_class_19;
  Decrease_IndexValue* tmp_add_class_20;
  Decrease_PosValue* tmp_add_class_21;
  Egcs* tmp_add_class_22;
  FeatureSelector* tmp_add_class_23;
  FileReaderAscii* tmp_add_class_24;
  GDALAbstractBandBlockCache* tmp_add_class_25;
  GDALAbstractMDArray* tmp_add_class_26;
  GDALAllValidMaskBand* tmp_add_class_27;
  GDALAntiRecursionGuard* tmp_add_class_28;
  GDALAsyncReader* tmp_add_class_29;
  GDALAttribute* tmp_add_class_30;
  GDALAttributeNumeric* tmp_add_class_31;
  GDALAttributeString* tmp_add_class_32;
  GDALColorTable* tmp_add_class_33;
  GDALDataset* tmp_add_class_34;
  GDALDatasetUniquePtrDeleter* tmp_add_class_35;
  GDALDefaultOverviews* tmp_add_class_36;
  GDALDimension* tmp_add_class_37;
  GDALDimensionWeakIndexingVar* tmp_add_class_38;
  GDALDriver* tmp_add_class_39;
  GDALDriverManager* tmp_add_class_40;
  GDALEDTComponent* tmp_add_class_41;
  GDALExtendedDataType* tmp_add_class_42;
  GDALGroup* tmp_add_class_43;
  GDALIHasAttribute* tmp_add_class_44;
  GDALMDArray* tmp_add_class_45;
  GDALMDArrayRegularlySpaced* tmp_add_class_46;
  GDALMajorObject* tmp_add_class_47;
  GDALMultiDomainMetadata* tmp_add_class_48;
  GDALNoDataMaskBand* tmp_add_class_49;
  GDALNoDataValuesMaskBand* tmp_add_class_50;
  GDALOpenInfo* tmp_add_class_51;
  GDALRasterBand* tmp_add_class_52;
  GDALRasterBlock* tmp_add_class_53;
  GDALRawResult* tmp_add_class_54;
  GDALRelationship* tmp_add_class_55;
  GDALRescaledAlphaBand* tmp_add_class_56;
  IOGRConstGeometryVisitor* tmp_add_class_57;
  IOGRGeometryVisitor* tmp_add_class_58;
  ImgRasterGdal* tmp_add_class_59;
  ImgReaderGdal* tmp_add_class_60;
  ImgReaderOgr* tmp_add_class_61;
  ImgUpdaterGdal* tmp_add_class_62;
  ImgWriterGdal* tmp_add_class_63;
  ImgWriterOgr* tmp_add_class_64;
  Increase_IndexValue* tmp_add_class_65;
  Increase_PosValue* tmp_add_class_66;
  IndexValue* tmp_add_class_67;
  OGRCircularString* tmp_add_class_68;
  OGRCodedFieldDomain* tmp_add_class_69;
  OGRCompoundCurve* tmp_add_class_70;
  OGRCoordinateTransformation* tmp_add_class_71;
  OGRCoordinateTransformationOptions* tmp_add_class_72;
  OGRCurve* tmp_add_class_73;
  OGRCurveCollection* tmp_add_class_74;
  OGRCurvePolygon* tmp_add_class_75;
  OGRDataSource* tmp_add_class_76;
  OGRDefaultConstGeometryVisitor* tmp_add_class_77;
  OGRDefaultGeometryVisitor* tmp_add_class_78;
  OGREnvelope* tmp_add_class_79;
  OGREnvelope3D* tmp_add_class_80;
  OGRFeature* tmp_add_class_81;
  OGRFeatureDefn* tmp_add_class_82;
  OGRFeatureQuery* tmp_add_class_83;
  OGRFeatureUniquePtrDeleter* tmp_add_class_84;
  OGRFieldDefn* tmp_add_class_85;
  OGRFieldDomain* tmp_add_class_86;
  OGRGeomFieldDefn* tmp_add_class_87;
  OGRGeometry* tmp_add_class_88;
  OGRGeometryCollection* tmp_add_class_89;
  OGRGeometryFactory* tmp_add_class_90;
  OGRGeometryUniquePtrDeleter* tmp_add_class_91;
  OGRGlobFieldDomain* tmp_add_class_92;
  OGRIteratedPoint* tmp_add_class_93;
  OGRLayer* tmp_add_class_94;
  OGRLineString* tmp_add_class_95;
  OGRLinearRing* tmp_add_class_96;
  OGRMultiCurve* tmp_add_class_97;
  OGRMultiLineString* tmp_add_class_98;
  OGRMultiPoint* tmp_add_class_99;
  OGRMultiPolygon* tmp_add_class_100;
  OGRMultiSurface* tmp_add_class_101;
  OGRPoint* tmp_add_class_102;
  OGRPointIterator* tmp_add_class_103;
  OGRPolygon* tmp_add_class_104;
  OGRPolyhedralSurface* tmp_add_class_105;
  OGRPreparedGeometryUniquePtrDeleter* tmp_add_class_106;
  OGRRangeFieldDomain* tmp_add_class_107;
  OGRRawPoint* tmp_add_class_108;
  OGRSFDriver* tmp_add_class_109;
  OGRSFDriverRegistrar* tmp_add_class_110;
  OGRSimpleCurve* tmp_add_class_111;
  OGRSpatialReference* tmp_add_class_112;
  OGRStyleBrush* tmp_add_class_113;
  OGRStyleLabel* tmp_add_class_114;
  OGRStyleMgr* tmp_add_class_115;
  OGRStylePen* tmp_add_class_116;
  OGRStyleSymbol* tmp_add_class_117;
  OGRStyleTable* tmp_add_class_118;
  OGRStyleTool* tmp_add_class_119;
  OGRSurface* tmp_add_class_120;
  OGRTriangle* tmp_add_class_121;
  OGRTriangulatedSurface* tmp_add_class_122;
  OGRWktOptions* tmp_add_class_123;
  OGR_SRSNode* tmp_add_class_124;
  PosValue* tmp_add_class_125;
  VSIDIREntry* tmp_add_class_126;
  _G_fpos64_t* tmp_add_class_127;
  _G_fpos_t* tmp_add_class_128;
  _IO_cookie_io_functions_t* tmp_add_class_129;
  gsl_block_char_struct* tmp_add_class_130;
  gsl_block_complex_float_struct* tmp_add_class_131;
  gsl_block_complex_long_double_struct* tmp_add_class_132;
  gsl_block_complex_struct* tmp_add_class_133;
  gsl_block_float_struct* tmp_add_class_134;
  gsl_block_int_struct* tmp_add_class_135;
  gsl_block_long_double_struct* tmp_add_class_136;
  gsl_block_long_struct* tmp_add_class_137;
  gsl_block_short_struct* tmp_add_class_138;
  gsl_block_struct* tmp_add_class_139;
  gsl_block_uchar_struct* tmp_add_class_140;
  gsl_block_uint_struct* tmp_add_class_141;
  gsl_block_ulong_struct* tmp_add_class_142;
  gsl_block_ushort_struct* tmp_add_class_143;
  gsl_combination_struct* tmp_add_class_144;
  gsl_function_fdf_struct* tmp_add_class_145;
  gsl_function_struct* tmp_add_class_146;
  gsl_function_vec_struct* tmp_add_class_147;
  gsl_permutation_struct* tmp_add_class_148;
  ogr_style_param* tmp_add_class_149;
  ogr_style_value* tmp_add_class_150;
  statx_timestamp* tmp_add_class_151;
  svm_model* tmp_add_class_152;
  svm_node* tmp_add_class_153;
  svm_parameter* tmp_add_class_154;
  svm_problem* tmp_add_class_155;

The GCC parameters:
  gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/AM5qrNvJO3/dump1.h"  -I/usr/include/pktools -I/usr/include/gdal -I/usr/include/hdf5/serial

In file included from /usr/include/pktools/algorithms/ConfusionMatrix.h:26,
                 from /tmp/AM5qrNvJO3/dump1.h:12:
/usr/include/pktools/base/Optionpk.h: In member function ‘bool Optionpk<T>::retrieveOption(int, const std::vector<std::__cxx11::basic_string<char> >&)’:
/usr/include/pktools/base/Optionpk.h:347:19: error: ‘VERSION’ was not declared in this scope
  347 |       theVersion+=VERSION;
      |                   ^~~~~~~
/usr/include/pktools/base/Optionpk.h: In member function ‘bool Optionpk<T>::retrieveOption(int, char**)’:
/usr/include/pktools/base/Optionpk.h:418:19: error: ‘VERSION’ was not declared in this scope
  418 |       theVersion+=VERSION;
      |                   ^~~~~~~
In file included from /tmp/AM5qrNvJO3/dump1.h:21:
/usr/include/pktools/algorithms/myfann_cpp.h: At global scope:
/usr/include/pktools/algorithms/myfann_cpp.h:111:28: error: ‘FANN_ERRORFUNC_LINEAR’ was not declared in this scope
  111 |         ERRORFUNC_LINEAR = FANN_ERRORFUNC_LINEAR,
      |                            ^~~~~~~~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:130:28: error: ‘FANN_STOPFUNC_MSE’ was not declared in this scope
  130 |             STOPFUNC_MSE = FANN_STOPFUNC_MSE,
      |                            ^~~~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:167:29: error: ‘FANN_TRAIN_INCREMENTAL’ was not declared in this scope
  167 |         TRAIN_INCREMENTAL = FANN_TRAIN_INCREMENTAL,
      |                             ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:266:18: error: ‘FANN_LINEAR’ was not declared in this scope
  266 |         LINEAR = FANN_LINEAR,
      |                  ^~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:298:17: error: ‘FANN_NETTYPE_LAYER’ was not declared in this scope
  298 |         LAYER = FANN_NETTYPE_LAYER,
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:605:9: error: ‘fann_type’ does not name a type
  605 |         fann_type **get_input()
      |         ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:625:9: error: ‘fann_type’ does not name a type
  625 |         fann_type **get_output()
      |         ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:656:37: error: ‘fann_type’ has not been declared
  656 |             unsigned int num_input, fann_type **input,
      |                                     ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:657:38: error: ‘fann_type’ has not been declared
  657 |             unsigned int num_output, fann_type **output)
      |                                      ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:692:58: error: ‘fann_type’ was not declared in this scope
  692 |       void set_train_data(const std::vector< std::vector<fann_type> >& input,
      |                                                          ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:692:67: error: template argument 1 is invalid
  692 |       void set_train_data(const std::vector< std::vector<fann_type> >& input,
      |                                                                   ^
/usr/include/pktools/algorithms/myfann_cpp.h:692:67: error: template argument 2 is invalid
/usr/include/pktools/algorithms/myfann_cpp.h:692:69: error: template argument 1 is invalid
  692 |       void set_train_data(const std::vector< std::vector<fann_type> >& input,
      |                                                                     ^
/usr/include/pktools/algorithms/myfann_cpp.h:692:69: error: template argument 2 is invalid
/usr/include/pktools/algorithms/myfann_cpp.h:693:58: error: ‘fann_type’ was not declared in this scope
  693 |                           const std::vector< std::vector<fann_type> >& output)
      |                                                          ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:693:67: error: template argument 1 is invalid
  693 |                           const std::vector< std::vector<fann_type> >& output)
      |                                                                   ^
/usr/include/pktools/algorithms/myfann_cpp.h:693:67: error: template argument 2 is invalid
/usr/include/pktools/algorithms/myfann_cpp.h:693:69: error: template argument 1 is invalid
  693 |                           const std::vector< std::vector<fann_type> >& output)
      |                                                                     ^
/usr/include/pktools/algorithms/myfann_cpp.h:693:69: error: template argument 2 is invalid
/usr/include/pktools/algorithms/myfann_cpp.h:732:71: error: ‘fann_type’ was not declared in this scope
  732 |       void set_train_data(const std::vector< std::vector< std::vector<fann_type> > >& input, unsigned int num_data)
      |                                                                       ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:732:80: error: template argument 1 is invalid
  732 |       void set_train_data(const std::vector< std::vector< std::vector<fann_type> > >& input, unsigned int num_data)
      |                                                                                ^
/usr/include/pktools/algorithms/myfann_cpp.h:732:80: error: template argument 2 is invalid
/usr/include/pktools/algorithms/myfann_cpp.h:732:82: error: template argument 1 is invalid
  732 |       void set_train_data(const std::vector< std::vector< std::vector<fann_type> > >& input, unsigned int num_data)
      |                                                                                  ^
/usr/include/pktools/algorithms/myfann_cpp.h:732:82: error: template argument 2 is invalid
/usr/include/pktools/algorithms/myfann_cpp.h:732:84: error: template argument 1 is invalid
  732 |       void set_train_data(const std::vector< std::vector< std::vector<fann_type> > >& input, unsigned int num_data)
      |                                                                                    ^
/usr/include/pktools/algorithms/myfann_cpp.h:732:84: error: template argument 2 is invalid
/usr/include/pktools/algorithms/myfann_cpp.h:781:55: error: ‘fann_type’ was not declared in this scope
  781 |       void set_train_data(const std::vector< Vector2d<fann_type> >& input, unsigned int num_data)
      |                                                       ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:781:64: error: template argument 1 is invalid
  781 |       void set_train_data(const std::vector< Vector2d<fann_type> >& input, unsigned int num_data)
      |                                                                ^
/usr/include/pktools/algorithms/myfann_cpp.h:781:66: error: template argument 1 is invalid
  781 |       void set_train_data(const std::vector< Vector2d<fann_type> >& input, unsigned int num_data)
      |                                                                  ^
/usr/include/pktools/algorithms/myfann_cpp.h:781:66: error: template argument 2 is invalid
/usr/include/pktools/algorithms/myfann_cpp.h:781:12: error: ‘void FANN::training_data::set_train_data(const int&, unsigned int)’ cannot be overloaded with ‘void FANN::training_data::set_train_data(const int&, unsigned int)’
  781 |       void set_train_data(const std::vector< Vector2d<fann_type> >& input, unsigned int num_data)
      |            ^~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:732:12: note: previous declaration ‘void FANN::training_data::set_train_data(const int&, unsigned int)’
  732 |       void set_train_data(const std::vector< std::vector< std::vector<fann_type> > >& input, unsigned int num_data)
      |            ^~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:872:65: error: expected ‘)’ before ‘*’ token
  872 |                                                   void (FANN_API *user_function)( unsigned int,
      |                                                        ~        ^~
      |                                                                 )
/usr/include/pktools/algorithms/myfann_cpp.h:872:65: error: expected ‘)’ before ‘*’ token
  872 |                                                   void (FANN_API *user_function)( unsigned int,
      |                                                                 ^~
      |                                                                 )
/usr/include/pktools/algorithms/myfann_cpp.h:869:40: note: to match this ‘(’
  869 |         void create_train_from_callback(unsigned int num_data,
      |                                        ^
/usr/include/pktools/algorithms/myfann_cpp.h:872:57: error: expected ‘;’ at end of member declaration
  872 |                                                   void (FANN_API *user_function)( unsigned int,
      |                                                         ^~~~~~~~
      |                                                                 ;
/usr/include/pktools/algorithms/myfann_cpp.h:872:67: error: expected ‘;’ at end of member declaration
  872 |                                                   void (FANN_API *user_function)( unsigned int,
      |                                                                   ^~~~~~~~~~~~~
      |                                                                                ;
/usr/include/pktools/algorithms/myfann_cpp.h:872:80: error: expected unqualified-id before ‘)’ token
  872 |                                                   void (FANN_API *user_function)( unsigned int,
      |                                                                                ^
/usr/include/pktools/algorithms/myfann_cpp.h:891:37: error: ‘fann_type’ has not been declared
  891 |         void scale_input_train_data(fann_type new_min, fann_type new_max)
      |                                     ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:891:56: error: ‘fann_type’ has not been declared
  891 |         void scale_input_train_data(fann_type new_min, fann_type new_max)
      |                                                        ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:908:38: error: ‘fann_type’ has not been declared
  908 |         void scale_output_train_data(fann_type new_min, fann_type new_max)
      |                                      ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:908:57: error: ‘fann_type’ has not been declared
  908 |         void scale_output_train_data(fann_type new_min, fann_type new_max)
      |                                                         ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:925:31: error: ‘fann_type’ has not been declared
  925 |         void scale_train_data(fann_type new_min, fann_type new_max)
      |                               ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:925:50: error: ‘fann_type’ has not been declared
  925 |         void scale_train_data(fann_type new_min, fann_type new_max)
      |                                                  ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h: In copy constructor ‘FANN::training_data::training_data(const FANN::training_data&)’:
/usr/include/pktools/algorithms/myfann_cpp.h:384:30: error: ‘fann_duplicate_train_data’ was not declared in this scope
  384 |                 train_data = fann_duplicate_train_data(data.train_data);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::training_data::destroy_train()’:
/usr/include/pktools/algorithms/myfann_cpp.h:415:17: error: ‘fann_destroy_train’ was not declared in this scope; did you mean ‘destroy_train’?
  415 |                 fann_destroy_train(train_data);
      |                 ^~~~~~~~~~~~~~~~~~
      |                 destroy_train
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘bool FANN::training_data::read_train_from_file(const std::string&)’:
/usr/include/pktools/algorithms/myfann_cpp.h:443:26: error: ‘fann_read_train_from_file’ was not declared in this scope; did you mean ‘read_train_from_file’?
  443 |             train_data = fann_read_train_from_file(filename.c_str());
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                          read_train_from_file
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘bool FANN::training_data::save_train(const std::string&)’:
/usr/include/pktools/algorithms/myfann_cpp.h:465:17: error: ‘fann_save_train’ was not declared in this scope; did you mean ‘save_train’?
  465 |             if (fann_save_train(train_data, filename.c_str()) == -1)
      |                 ^~~~~~~~~~~~~~~
      |                 save_train
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘bool FANN::training_data::save_train_to_fixed(const std::string&, unsigned int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:492:17: error: ‘fann_save_train_to_fixed’ was not declared in this scope; did you mean ‘save_train_to_fixed’?
  492 |             if (fann_save_train_to_fixed(train_data, filename.c_str(), decimal_point) == -1)
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
      |                 save_train_to_fixed
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::training_data::shuffle_train_data()’:
/usr/include/pktools/algorithms/myfann_cpp.h:510:17: error: ‘fann_shuffle_train_data’ was not declared in this scope; did you mean ‘shuffle_train_data’?
  510 |                 fann_shuffle_train_data(train_data);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~
      |                 shuffle_train_data
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::training_data::merge_train_data(const FANN::training_data&)’:
/usr/include/pktools/algorithms/myfann_cpp.h:522:41: error: ‘fann_merge_train_data’ was not declared in this scope; did you mean ‘merge_train_data’?
  522 |             fann_train_data *new_data = fann_merge_train_data(train_data, data.train_data);
      |                                         ^~~~~~~~~~~~~~~~~~~~~
      |                                         merge_train_data
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘unsigned int FANN::training_data::length_train_data()’:
/usr/include/pktools/algorithms/myfann_cpp.h:547:24: error: ‘fann_length_train_data’ was not declared in this scope; did you mean ‘length_train_data’?
  547 |                 return fann_length_train_data(train_data);
      |                        ^~~~~~~~~~~~~~~~~~~~~~
      |                        length_train_data
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘unsigned int FANN::training_data::num_input_train_data()’:
/usr/include/pktools/algorithms/myfann_cpp.h:568:24: error: ‘fann_num_input_train_data’ was not declared in this scope; did you mean ‘num_input_train_data’?
  568 |                 return fann_num_input_train_data(train_data);
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                        num_input_train_data
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘unsigned int FANN::training_data::num_output_train_data()’:
/usr/include/pktools/algorithms/myfann_cpp.h:589:24: error: ‘fann_num_output_train_data’ was not declared in this scope; did you mean ‘num_output_train_data’?
  589 |                 return fann_num_output_train_data(train_data);
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |                        num_output_train_data
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::training_data::set_train_data(unsigned int, unsigned int, int**, unsigned int, int**)’:
/usr/include/pktools/algorithms/myfann_cpp.h:661:50: error: invalid application of ‘sizeof’ to incomplete type ‘FANN::fann_train_data’
  661 |                 (struct fann_train_data *)malloc(sizeof(struct fann_train_data));
      |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:662:17: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  662 |             data->input = (fann_type **)calloc(num_data, sizeof(fann_type *));
      |                 ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:662:28: error: ‘fann_type’ was not declared in this scope
  662 |             data->input = (fann_type **)calloc(num_data, sizeof(fann_type *));
      |                            ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:662:40: error: expected primary-expression before ‘)’ token
  662 |             data->input = (fann_type **)calloc(num_data, sizeof(fann_type *));
      |                                        ^
/usr/include/pktools/algorithms/myfann_cpp.h:663:17: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  663 |             data->output = (fann_type **)calloc(num_data, sizeof(fann_type *));
      |                 ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:663:41: error: expected primary-expression before ‘)’ token
  663 |             data->output = (fann_type **)calloc(num_data, sizeof(fann_type *));
      |                                         ^
/usr/include/pktools/algorithms/myfann_cpp.h:665:17: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  665 |             data->num_data = num_data;
      |                 ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:666:17: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  666 |             data->num_input = num_input;
      |                 ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:667:17: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  667 |             data->num_output = num_output;
      |                 ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:669:28: error: ‘data_input’ was not declared in this scope
  669 |                 fann_type *data_input = (fann_type *)calloc(num_input*num_data, sizeof(fann_type));
      |                            ^~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:669:53: error: expected primary-expression before ‘)’ token
  669 |                 fann_type *data_input = (fann_type *)calloc(num_input*num_data, sizeof(fann_type));
      |                                                     ^
/usr/include/pktools/algorithms/myfann_cpp.h:670:28: error: ‘data_output’ was not declared in this scope
  670 |                 fann_type *data_output = (fann_type *)calloc(num_output*num_data, sizeof(fann_type));
      |                            ^~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:670:54: error: expected primary-expression before ‘)’ token
  670 |                 fann_type *data_output = (fann_type *)calloc(num_output*num_data, sizeof(fann_type));
      |                                                      ^
/usr/include/pktools/algorithms/myfann_cpp.h:674:21: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  674 |                 data->input[i] = data_input;
      |                     ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:678:25: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  678 |                     data->input[i][j] = input[i][j];
      |                         ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:680:21: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  680 |                 data->output[i] = data_output;
      |                     ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:684:25: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  684 |                     data->output[i][j] = output[i][j];
      |                         ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::training_data::set_train_data(const int&, const int&)’:
/usr/include/pktools/algorithms/myfann_cpp.h:695:39: error: request for member ‘size’ in ‘input’, which is of non-class type ‘const int’
  695 |           unsigned int num_data=input.size();
      |                                       ^~~~
In file included from /usr/include/c++/12/cassert:44,
                 from /usr/include/pktools/algorithms/myfann_cpp.h:91:
/usr/include/pktools/algorithms/myfann_cpp.h:697:24: error: request for member ‘size’ in ‘input’, which is of non-class type ‘const int’
  697 |           assert(input.size()==output.size());
      |                        ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:697:39: error: request for member ‘size’ in ‘output’, which is of non-class type ‘const int’
  697 |           assert(input.size()==output.size());
      |                                       ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:698:39: error: invalid types ‘const int[int]’ for array subscript
  698 |           unsigned int num_input=input[0].size();
      |                                       ^
/usr/include/pktools/algorithms/myfann_cpp.h:699:41: error: invalid types ‘const int[int]’ for array subscript
  699 |           unsigned int num_output=output[0].size();
      |                                         ^
/usr/include/pktools/algorithms/myfann_cpp.h:703:50: error: invalid application of ‘sizeof’ to incomplete type ‘FANN::fann_train_data’
  703 |                 (struct fann_train_data *)malloc(sizeof(struct fann_train_data));
      |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:704:17: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  704 |             data->input = (fann_type **)calloc(num_data, sizeof(fann_type *));
      |                 ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:704:28: error: ‘fann_type’ was not declared in this scope
  704 |             data->input = (fann_type **)calloc(num_data, sizeof(fann_type *));
      |                            ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:704:40: error: expected primary-expression before ‘)’ token
  704 |             data->input = (fann_type **)calloc(num_data, sizeof(fann_type *));
      |                                        ^
/usr/include/pktools/algorithms/myfann_cpp.h:705:17: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  705 |             data->output = (fann_type **)calloc(num_data, sizeof(fann_type *));
      |                 ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:705:41: error: expected primary-expression before ‘)’ token
  705 |             data->output = (fann_type **)calloc(num_data, sizeof(fann_type *));
      |                                         ^
/usr/include/pktools/algorithms/myfann_cpp.h:707:17: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  707 |             data->num_data = num_data;
      |                 ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:708:17: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  708 |             data->num_input = num_input;
      |                 ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:709:17: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  709 |             data->num_output = num_output;
      |                 ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:711:28: error: ‘data_input’ was not declared in this scope
  711 |                 fann_type *data_input = (fann_type *)calloc(num_input*num_data, sizeof(fann_type));
      |                            ^~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:711:53: error: expected primary-expression before ‘)’ token
  711 |                 fann_type *data_input = (fann_type *)calloc(num_input*num_data, sizeof(fann_type));
      |                                                     ^
/usr/include/pktools/algorithms/myfann_cpp.h:712:28: error: ‘data_output’ was not declared in this scope
  712 |                 fann_type *data_output = (fann_type *)calloc(num_output*num_data, sizeof(fann_type));
      |                            ^~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:712:54: error: expected primary-expression before ‘)’ token
  712 |                 fann_type *data_output = (fann_type *)calloc(num_output*num_data, sizeof(fann_type));
      |                                                      ^
/usr/include/pktools/algorithms/myfann_cpp.h:716:21: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  716 |                 data->input[i] = data_input;
      |                     ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:720:25: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  720 |                     data->input[i][j] = input[i][j];
      |                         ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:720:46: error: invalid types ‘const int[unsigned int]’ for array subscript
  720 |                     data->input[i][j] = input[i][j];
      |                                              ^
/usr/include/pktools/algorithms/myfann_cpp.h:722:21: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  722 |                 data->output[i] = data_output;
      |                     ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:726:25: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  726 |                     data->output[i][j] = output[i][j];
      |                         ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:726:48: error: invalid types ‘const int[unsigned int]’ for array subscript
  726 |                     data->output[i][j] = output[i][j];
      |                                                ^
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::training_data::set_train_data(const int&, unsigned int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:735:24: error: request for member ‘size’ in ‘input’, which is of non-class type ‘const int’
  735 |           assert(input.size());
      |                        ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:736:40: error: request for member ‘size’ in ‘input’, which is of non-class type ‘const int’
  736 |           unsigned int num_class=input.size();
      |                                        ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:737:23: error: invalid types ‘const int[int]’ for array subscript
  737 |           assert(input[0].size());
      |                       ^
/usr/include/pktools/algorithms/myfann_cpp.h:738:39: error: invalid types ‘const int[int]’ for array subscript
  738 |           unsigned int num_input=input[0][0].size();
      |                                       ^
/usr/include/pktools/algorithms/myfann_cpp.h:745:50: error: invalid application of ‘sizeof’ to incomplete type ‘FANN::fann_train_data’
  745 |                 (struct fann_train_data *)malloc(sizeof(struct fann_train_data));
      |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:746:17: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  746 |             data->input = (fann_type **)calloc(num_data, sizeof(fann_type *));
      |                 ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:746:28: error: ‘fann_type’ was not declared in this scope
  746 |             data->input = (fann_type **)calloc(num_data, sizeof(fann_type *));
      |                            ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:746:40: error: expected primary-expression before ‘)’ token
  746 |             data->input = (fann_type **)calloc(num_data, sizeof(fann_type *));
      |                                        ^
/usr/include/pktools/algorithms/myfann_cpp.h:747:17: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  747 |             data->output = (fann_type **)calloc(num_data, sizeof(fann_type *));
      |                 ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:747:41: error: expected primary-expression before ‘)’ token
  747 |             data->output = (fann_type **)calloc(num_data, sizeof(fann_type *));
      |                                         ^
/usr/include/pktools/algorithms/myfann_cpp.h:749:17: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  749 |             data->num_data = num_data;
      |                 ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:750:17: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  750 |             data->num_input = num_input;
      |                 ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:751:17: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  751 |             data->num_output = num_output;
      |                 ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:753:24: error: ‘data_input’ was not declared in this scope
  753 |             fann_type *data_input = (fann_type *)calloc(num_input*num_data, sizeof(fann_type));
      |                        ^~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:753:49: error: expected primary-expression before ‘)’ token
  753 |             fann_type *data_input = (fann_type *)calloc(num_input*num_data, sizeof(fann_type));
      |                                                 ^
/usr/include/pktools/algorithms/myfann_cpp.h:754:24: error: ‘data_output’ was not declared in this scope
  754 |             fann_type *data_output = (fann_type *)calloc(num_output*num_data, sizeof(fann_type));
      |                        ^~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:754:50: error: expected primary-expression before ‘)’ token
  754 |             fann_type *data_output = (fann_type *)calloc(num_output*num_data, sizeof(fann_type));
      |                                                  ^
/usr/include/pktools/algorithms/myfann_cpp.h:758:46: error: invalid types ‘const int[int]’ for array subscript
  758 |               for(int csample=0;csample<input[iclass].size();++csample){
      |                                              ^
/usr/include/pktools/algorithms/myfann_cpp.h:759:21: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  759 |                 data->input[isample] = data_input;
      |                     ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:761:44: error: invalid types ‘const int[int]’ for array subscript
  761 |                 for(int iband=0;iband<input[iclass][csample].size();++iband){
      |                                            ^
/usr/include/pktools/algorithms/myfann_cpp.h:762:31: error: invalid types ‘const int[int]’ for array subscript
  762 |                   assert(input[iclass][csample].size()==num_input);
      |                               ^
/usr/include/pktools/algorithms/myfann_cpp.h:763:23: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  763 |                   data->input[isample][iband] = input[iclass][csample][iband];
      |                       ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:763:54: error: invalid types ‘const int[int]’ for array subscript
  763 |                   data->input[isample][iband] = input[iclass][csample][iband];
      |                                                      ^
/usr/include/pktools/algorithms/myfann_cpp.h:765:21: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  765 |                 data->output[isample] = data_output;
      |                     ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:771:25: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  771 |                     data->output[isample][ic] = 1;
      |                         ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:773:25: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  773 |                     data->output[isample][ic] = -1;
      |                         ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::training_data::set_train_data(const int&, unsigned int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:784:24: error: request for member ‘size’ in ‘input’, which is of non-class type ‘const int’
  784 |           assert(input.size());
      |                        ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:785:40: error: request for member ‘size’ in ‘input’, which is of non-class type ‘const int’
  785 |           unsigned int num_class=input.size();
      |                                        ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:786:23: error: invalid types ‘const int[int]’ for array subscript
  786 |           assert(input[0].size());
      |                       ^
/usr/include/pktools/algorithms/myfann_cpp.h:787:39: error: invalid types ‘const int[int]’ for array subscript
  787 |           unsigned int num_input=input[0][0].size();
      |                                       ^
/usr/include/pktools/algorithms/myfann_cpp.h:794:50: error: invalid application of ‘sizeof’ to incomplete type ‘FANN::fann_train_data’
  794 |                 (struct fann_train_data *)malloc(sizeof(struct fann_train_data));
      |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:795:17: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  795 |             data->input = (fann_type **)calloc(num_data, sizeof(fann_type *));
      |                 ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:795:28: error: ‘fann_type’ was not declared in this scope
  795 |             data->input = (fann_type **)calloc(num_data, sizeof(fann_type *));
      |                            ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:795:40: error: expected primary-expression before ‘)’ token
  795 |             data->input = (fann_type **)calloc(num_data, sizeof(fann_type *));
      |                                        ^
/usr/include/pktools/algorithms/myfann_cpp.h:796:17: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  796 |             data->output = (fann_type **)calloc(num_data, sizeof(fann_type *));
      |                 ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:796:41: error: expected primary-expression before ‘)’ token
  796 |             data->output = (fann_type **)calloc(num_data, sizeof(fann_type *));
      |                                         ^
/usr/include/pktools/algorithms/myfann_cpp.h:798:17: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  798 |             data->num_data = num_data;
      |                 ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:799:17: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  799 |             data->num_input = num_input;
      |                 ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:800:17: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  800 |             data->num_output = num_output;
      |                 ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:802:24: error: ‘data_input’ was not declared in this scope
  802 |             fann_type *data_input = (fann_type *)calloc(num_input*num_data, sizeof(fann_type));
      |                        ^~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:802:49: error: expected primary-expression before ‘)’ token
  802 |             fann_type *data_input = (fann_type *)calloc(num_input*num_data, sizeof(fann_type));
      |                                                 ^
/usr/include/pktools/algorithms/myfann_cpp.h:803:24: error: ‘data_output’ was not declared in this scope
  803 |             fann_type *data_output = (fann_type *)calloc(num_output*num_data, sizeof(fann_type));
      |                        ^~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:803:50: error: expected primary-expression before ‘)’ token
  803 |             fann_type *data_output = (fann_type *)calloc(num_output*num_data, sizeof(fann_type));
      |                                                  ^
/usr/include/pktools/algorithms/myfann_cpp.h:807:46: error: invalid types ‘const int[int]’ for array subscript
  807 |               for(int csample=0;csample<input[iclass].size();++csample){
      |                                              ^
/usr/include/pktools/algorithms/myfann_cpp.h:808:21: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  808 |                 data->input[isample] = data_input;
      |                     ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:810:44: error: invalid types ‘const int[int]’ for array subscript
  810 |                 for(int iband=0;iband<input[iclass][csample].size();++iband){
      |                                            ^
/usr/include/pktools/algorithms/myfann_cpp.h:811:31: error: invalid types ‘const int[int]’ for array subscript
  811 |                   assert(input[iclass][csample].size()==num_input);
      |                               ^
/usr/include/pktools/algorithms/myfann_cpp.h:812:23: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  812 |                   data->input[isample][iband] = input[iclass][csample][iband];
      |                       ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:812:54: error: invalid types ‘const int[int]’ for array subscript
  812 |                   data->input[isample][iband] = input[iclass][csample][iband];
      |                                                      ^
/usr/include/pktools/algorithms/myfann_cpp.h:814:21: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  814 |                 data->output[isample] = data_output;
      |                     ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:820:25: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  820 |                     data->output[isample][ic] = 1;
      |                         ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:822:25: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
  822 |                     data->output[isample][ic] = -1;
      |                         ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::training_data::scale_input_train_data(int, int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:895:17: error: ‘fann_scale_input_train_data’ was not declared in this scope; did you mean ‘scale_input_train_data’?
  895 |                 fann_scale_input_train_data(train_data, new_min, new_max);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 scale_input_train_data
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::training_data::scale_output_train_data(int, int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:912:17: error: ‘fann_scale_output_train_data’ was not declared in this scope; did you mean ‘scale_output_train_data’?
  912 |                 fann_scale_output_train_data(train_data, new_min, new_max);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 scale_output_train_data
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::training_data::scale_train_data(int, int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:929:17: error: ‘fann_scale_train_data’ was not declared in this scope; did you mean ‘scale_train_data’?
  929 |                 fann_scale_train_data(train_data, new_min, new_max);
      |                 ^~~~~~~~~~~~~~~~~~~~~
      |                 scale_train_data
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::training_data::subset_train_data(unsigned int, unsigned int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:955:48: error: ‘fann_subset_train_data’ was not declared in this scope; did you mean ‘subset_train_data’?
  955 |                 struct fann_train_data *temp = fann_subset_train_data(train_data, pos, length);
      |                                                ^~~~~~~~~~~~~~~~~~~~~~
      |                                                subset_train_data
/usr/include/pktools/algorithms/myfann_cpp.h: At global scope:
/usr/include/pktools/algorithms/myfann_cpp.h:1223:9: error: ‘fann_type’ does not name a type
 1223 |         fann_type* run(fann_type *input)
      |         ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1235:19: error: ‘fann_type’ was not declared in this scope
 1235 |       std::vector<fann_type> run(std::vector<fann_type> input)
      |                   ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1235:28: error: template argument 1 is invalid
 1235 |       std::vector<fann_type> run(std::vector<fann_type> input)
      |                            ^
/usr/include/pktools/algorithms/myfann_cpp.h:1235:28: error: template argument 2 is invalid
/usr/include/pktools/algorithms/myfann_cpp.h:1235:46: error: ‘fann_type’ was not declared in this scope
 1235 |       std::vector<fann_type> run(std::vector<fann_type> input)
      |                                              ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1235:55: error: template argument 1 is invalid
 1235 |       std::vector<fann_type> run(std::vector<fann_type> input)
      |                                                       ^
/usr/include/pktools/algorithms/myfann_cpp.h:1235:55: error: template argument 2 is invalid
/usr/include/pktools/algorithms/myfann_cpp.h:1261:32: error: ‘fann_type’ has not been declared
 1261 |         void randomize_weights(fann_type min_weight, fann_type max_weight)
      |                                ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1261:54: error: ‘fann_type’ has not been declared
 1261 |         void randomize_weights(fann_type min_weight, fann_type max_weight)
      |                                                      ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1439:20: error: ‘fann_type’ has not been declared
 1439 |         void train(fann_type *input, fann_type *desired_output)
      |                    ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1439:38: error: ‘fann_type’ has not been declared
 1439 |         void train(fann_type *input, fann_type *desired_output)
      |                                      ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1512:57: error: ‘fann_type’ was not declared in this scope
 1512 |       void train_on_data(const std::vector< std::vector<fann_type> >& input,
      |                                                         ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1512:66: error: template argument 1 is invalid
 1512 |       void train_on_data(const std::vector< std::vector<fann_type> >& input,
      |                                                                  ^
/usr/include/pktools/algorithms/myfann_cpp.h:1512:66: error: template argument 2 is invalid
/usr/include/pktools/algorithms/myfann_cpp.h:1512:68: error: template argument 1 is invalid
 1512 |       void train_on_data(const std::vector< std::vector<fann_type> >& input,
      |                                                                    ^
/usr/include/pktools/algorithms/myfann_cpp.h:1512:68: error: template argument 2 is invalid
/usr/include/pktools/algorithms/myfann_cpp.h:1513:57: error: ‘fann_type’ was not declared in this scope
 1513 |                          const std::vector< std::vector<fann_type> >& output,
      |                                                         ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1513:66: error: template argument 1 is invalid
 1513 |                          const std::vector< std::vector<fann_type> >& output,
      |                                                                  ^
/usr/include/pktools/algorithms/myfann_cpp.h:1513:66: error: template argument 2 is invalid
/usr/include/pktools/algorithms/myfann_cpp.h:1513:68: error: template argument 1 is invalid
 1513 |                          const std::vector< std::vector<fann_type> >& output,
      |                                                                    ^
/usr/include/pktools/algorithms/myfann_cpp.h:1513:68: error: template argument 2 is invalid
/usr/include/pktools/algorithms/myfann_cpp.h:1532:56: error: ‘fann_type’ was not declared in this scope
 1532 |         void train_on_data(const std::vector< Vector2d<fann_type> >& input,
      |                                                        ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1532:65: error: template argument 1 is invalid
 1532 |         void train_on_data(const std::vector< Vector2d<fann_type> >& input,
      |                                                                 ^
/usr/include/pktools/algorithms/myfann_cpp.h:1532:67: error: template argument 1 is invalid
 1532 |         void train_on_data(const std::vector< Vector2d<fann_type> >& input,
      |                                                                   ^
/usr/include/pktools/algorithms/myfann_cpp.h:1532:67: error: template argument 2 is invalid
/usr/include/pktools/algorithms/myfann_cpp.h:1553:54: error: ‘fann_type’ was not declared in this scope
 1553 |         float cross_validation(std::vector< Vector2d<fann_type> >& trainingFeatures,
      |                                                      ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1553:63: error: template argument 1 is invalid
 1553 |         float cross_validation(std::vector< Vector2d<fann_type> >& trainingFeatures,
      |                                                               ^
/usr/include/pktools/algorithms/myfann_cpp.h:1553:65: error: template argument 1 is invalid
 1553 |         float cross_validation(std::vector< Vector2d<fann_type> >& trainingFeatures,
      |                                                                 ^
/usr/include/pktools/algorithms/myfann_cpp.h:1553:65: error: template argument 2 is invalid
/usr/include/pktools/algorithms/myfann_cpp.h:1663:57: error: ‘fann_type’ was not declared in this scope
 1663 |         float cross_validation(std::vector< std::vector<fann_type> >& input,
      |                                                         ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1663:66: error: template argument 1 is invalid
 1663 |         float cross_validation(std::vector< std::vector<fann_type> >& input,
      |                                                                  ^
/usr/include/pktools/algorithms/myfann_cpp.h:1663:66: error: template argument 2 is invalid
/usr/include/pktools/algorithms/myfann_cpp.h:1663:68: error: template argument 1 is invalid
 1663 |         float cross_validation(std::vector< std::vector<fann_type> >& input,
      |                                                                    ^
/usr/include/pktools/algorithms/myfann_cpp.h:1663:68: error: template argument 2 is invalid
/usr/include/pktools/algorithms/myfann_cpp.h:1664:57: error: ‘fann_type’ was not declared in this scope
 1664 |                                std::vector< std::vector<fann_type> >& output,
      |                                                         ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1664:66: error: template argument 1 is invalid
 1664 |                                std::vector< std::vector<fann_type> >& output,
      |                                                                  ^
/usr/include/pktools/algorithms/myfann_cpp.h:1664:66: error: template argument 2 is invalid
/usr/include/pktools/algorithms/myfann_cpp.h:1664:68: error: template argument 1 is invalid
 1664 |                                std::vector< std::vector<fann_type> >& output,
      |                                                                    ^
/usr/include/pktools/algorithms/myfann_cpp.h:1664:68: error: template argument 2 is invalid
/usr/include/pktools/algorithms/myfann_cpp.h:1668:57: error: ‘fann_type’ was not declared in this scope
 1668 |                                std::vector< std::vector<fann_type> >& referenceVector,
      |                                                         ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1668:66: error: template argument 1 is invalid
 1668 |                                std::vector< std::vector<fann_type> >& referenceVector,
      |                                                                  ^
/usr/include/pktools/algorithms/myfann_cpp.h:1668:66: error: template argument 2 is invalid
/usr/include/pktools/algorithms/myfann_cpp.h:1668:68: error: template argument 1 is invalid
 1668 |                                std::vector< std::vector<fann_type> >& referenceVector,
      |                                                                    ^
/usr/include/pktools/algorithms/myfann_cpp.h:1668:68: error: template argument 2 is invalid
/usr/include/pktools/algorithms/myfann_cpp.h:1669:57: error: ‘fann_type’ was not declared in this scope
 1669 |                                std::vector< std::vector<fann_type> >& outputVector,
      |                                                         ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1669:66: error: template argument 1 is invalid
 1669 |                                std::vector< std::vector<fann_type> >& outputVector,
      |                                                                  ^
/usr/include/pktools/algorithms/myfann_cpp.h:1669:66: error: template argument 2 is invalid
/usr/include/pktools/algorithms/myfann_cpp.h:1669:68: error: template argument 1 is invalid
 1669 |                                std::vector< std::vector<fann_type> >& outputVector,
      |                                                                    ^
/usr/include/pktools/algorithms/myfann_cpp.h:1669:68: error: template argument 2 is invalid
/usr/include/pktools/algorithms/myfann_cpp.h:1785:9: error: ‘fann_type’ does not name a type
 1785 |         fann_type * test(fann_type *input, fann_type *desired_output)
      |         ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1816:51: error: ‘fann_type’ was not declared in this scope
 1816 |       float test_data(const std::vector< Vector2d<fann_type> >& input, unsigned int num_data)
      |                                                   ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1816:60: error: template argument 1 is invalid
 1816 |       float test_data(const std::vector< Vector2d<fann_type> >& input, unsigned int num_data)
      |                                                            ^
/usr/include/pktools/algorithms/myfann_cpp.h:1816:62: error: template argument 1 is invalid
 1816 |       float test_data(const std::vector< Vector2d<fann_type> >& input, unsigned int num_data)
      |                                                              ^
/usr/include/pktools/algorithms/myfann_cpp.h:1816:62: error: template argument 2 is invalid
/usr/include/pktools/algorithms/myfann_cpp.h:2192:9: error: ‘fann_type’ does not name a type
 2192 |         fann_type get_activation_steepness(int layer, int neuron)
      |         ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:2225:39: error: ‘fann_type’ has not been declared
 2225 |         void set_activation_steepness(fann_type steepness, int layer, int neuron)
      |                                       ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:2247:45: error: ‘fann_type’ has not been declared
 2247 |         void set_activation_steepness_layer(fann_type steepness, int layer)
      |                                             ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:2266:46: error: ‘fann_type’ has not been declared
 2266 |         void set_activation_steepness_hidden(fann_type steepness)
      |                                              ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:2285:46: error: ‘fann_type’ has not been declared
 2285 |         void set_activation_steepness_output(fann_type steepness)
      |                                              ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:2884:75: error: ‘fann_type’ has not been declared
 2884 |         void set_weight(unsigned int from_neuron, unsigned int to_neuron, fann_type weight)
      |                                                                           ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:2997:9: error: ‘fann_type’ does not name a type
 2997 |         fann_type get_bit_fail_limit()
      |         ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:3017:33: error: ‘fann_type’ has not been declared
 3017 |         void set_bit_fail_limit(fann_type bit_fail_limit)
      |                                 ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:3309:9: error: ‘fann_type’ does not name a type
 3309 |         fann_type get_cascade_weight_multiplier()
      |         ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:3328:44: error: ‘fann_type’ has not been declared
 3328 |         void set_cascade_weight_multiplier(fann_type cascade_weight_multiplier)
      |                                            ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:3351:9: error: ‘fann_type’ does not name a type
 3351 |         fann_type get_cascade_candidate_limit()
      |         ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:3370:42: error: ‘fann_type’ has not been declared
 3370 |         void set_cascade_candidate_limit(fann_type cascade_candidate_limit)
      |                                          ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:3598:9: error: ‘fann_type’ does not name a type
 3598 |         fann_type *get_cascade_activation_steepnesses()
      |         ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:3622:49: error: ‘fann_type’ has not been declared
 3622 |         void set_cascade_activation_steepnesses(fann_type *cascade_activation_steepnesses,
      |                                                 ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:3800:26: error: ‘fann_type’ has not been declared
 3800 |         void scale_input(fann_type *input_vector)
      |                          ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:3817:27: error: ‘fann_type’ has not been declared
 3817 |         void scale_output(fann_type *output_vector)
      |                           ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:3834:28: error: ‘fann_type’ has not been declared
 3834 |         void descale_input(fann_type *input_vector)
      |                            ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:3851:29: error: ‘fann_type’ has not been declared
 3851 |         void descale_output(fann_type *output_vector)
      |                             ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:3958:20: error: expected ‘;’ at end of member declaration
 3958 |         static int FANN_API internal_callback(struct fann *ann, struct fann_train_data *train,
      |                    ^~~~~~~~
      |                            ;
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::destroy()’:
/usr/include/pktools/algorithms/myfann_cpp.h:1021:71: error: ‘fann_get_user_data’ was not declared in this scope
 1021 |                 user_context *user_data = static_cast<user_context *>(fann_get_user_data(ann));
      |                                                                       ^~~~~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1025:17: error: ‘fann_destroy’ was not declared in this scope
 1025 |                 fann_destroy(ann);
      |                 ^~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘bool FANN::neural_net::create_standard_array(unsigned int, const unsigned int*)’:
/usr/include/pktools/algorithms/myfann_cpp.h:1092:19: error: ‘fann_create_standard_array’ was not declared in this scope; did you mean ‘create_standard_array’?
 1092 |             ann = fann_create_standard_array(num_layers, layers);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |                   create_standard_array
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘bool FANN::neural_net::create_sparse_array(float, unsigned int, const unsigned int*)’:
/usr/include/pktools/algorithms/myfann_cpp.h:1153:19: error: ‘fann_create_sparse_array’ was not declared in this scope; did you mean ‘create_sparse_array’?
 1153 |             ann = fann_create_sparse_array(connection_rate, num_layers, layers);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~
      |                   create_sparse_array
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘bool FANN::neural_net::create_shortcut_array(unsigned int, const unsigned int*)’:
/usr/include/pktools/algorithms/myfann_cpp.h:1209:19: error: ‘fann_create_shortcut_array’ was not declared in this scope; did you mean ‘create_shortcut_array’?
 1209 |             ann = fann_create_shortcut_array(num_layers, layers);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |                   create_shortcut_array
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘int FANN::neural_net::run(int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:1237:23: error: ‘fann_type’ was not declared in this scope
 1237 |           std::vector<fann_type> vresult;
      |                       ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1237:32: error: template argument 1 is invalid
 1237 |           std::vector<fann_type> vresult;
      |                                ^
/usr/include/pktools/algorithms/myfann_cpp.h:1237:32: error: template argument 2 is invalid
/usr/include/pktools/algorithms/myfann_cpp.h:1242:21: error: request for member ‘resize’ in ‘vresult’, which is of non-class type ‘int’
 1242 |             vresult.resize(get_num_output());
      |                     ^~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1243:24: error: ‘result’ was not declared in this scope; did you mean ‘vresult’?
 1243 |             fann_type* result;
      |                        ^~~~~~
      |                        vresult
/usr/include/pktools/algorithms/myfann_cpp.h:1244:40: error: invalid types ‘int[int]’ for array subscript
 1244 |             result=fann_run(ann,&(input[0]));
      |                                        ^
/usr/include/pktools/algorithms/myfann_cpp.h:1244:20: error: ‘fann_run’ was not declared in this scope
 1244 |             result=fann_run(ann,&(input[0]));
      |                    ^~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1246:22: error: invalid types ‘int[int]’ for array subscript
 1246 |               vresult[iout]=*(result++);
      |                      ^
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::randomize_weights(int, int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:1265:17: error: ‘fann_randomize_weights’ was not declared in this scope; did you mean ‘randomize_weights’?
 1265 |                 fann_randomize_weights(ann, min_weight, max_weight);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
      |                 randomize_weights
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::init_weights(const FANN::training_data&)’:
/usr/include/pktools/algorithms/myfann_cpp.h:1292:17: error: ‘fann_init_weights’ was not declared in this scope; did you mean ‘init_weights’?
 1292 |                 fann_init_weights(ann, data.train_data);
      |                 ^~~~~~~~~~~~~~~~~
      |                 init_weights
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::print_connections()’:
/usr/include/pktools/algorithms/myfann_cpp.h:1326:17: error: ‘fann_print_connections’ was not declared in this scope; did you mean ‘print_connections’?
 1326 |                 fann_print_connections(ann);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
      |                 print_connections
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘bool FANN::neural_net::create_from_file(const std::string&)’:
/usr/include/pktools/algorithms/myfann_cpp.h:1343:19: error: ‘fann_create_from_file’ was not declared in this scope; did you mean ‘create_from_file’?
 1343 |             ann = fann_create_from_file(configuration_file.c_str());
      |                   ^~~~~~~~~~~~~~~~~~~~~
      |                   create_from_file
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘bool FANN::neural_net::save(const std::string&)’:
/usr/include/pktools/algorithms/myfann_cpp.h:1373:17: error: ‘fann_save’ was not declared in this scope
 1373 |             if (fann_save(ann, configuration_file.c_str()) == -1)
      |                 ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘int FANN::neural_net::save_to_fixed(const std::string&)’:
/usr/include/pktools/algorithms/myfann_cpp.h:1417:28: error: ‘fann_save_to_fixed’ was not declared in this scope; did you mean ‘save_to_fixed’?
 1417 |                 fixpoint = fann_save_to_fixed(ann, configuration_file.c_str());
      |                            ^~~~~~~~~~~~~~~~~~
      |                            save_to_fixed
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::train(int*, int*)’:
/usr/include/pktools/algorithms/myfann_cpp.h:1443:17: error: ‘fann_train’ was not declared in this scope; did you mean ‘fann_train_data’?
 1443 |                 fann_train(ann, input, desired_output);
      |                 ^~~~~~~~~~
      |                 fann_train_data
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘float FANN::neural_net::train_epoch(const FANN::training_data&)’:
/usr/include/pktools/algorithms/myfann_cpp.h:1471:23: error: ‘fann_train_epoch’ was not declared in this scope; did you mean ‘train_epoch’?
 1471 |                 mse = fann_train_epoch(ann, data.train_data);
      |                       ^~~~~~~~~~~~~~~~
      |                       train_epoch
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::train_on_data(const FANN::training_data&, unsigned int, unsigned int, float)’:
/usr/include/pktools/algorithms/myfann_cpp.h:1505:17: error: ‘fann_train_on_data’ was not declared in this scope; did you mean ‘fann_train_data’?
 1505 |                 fann_train_on_data(ann, data.train_data, max_epochs,
      |                 ^~~~~~~~~~~~~~~~~~
      |                 fann_train_data
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::train_on_data(const int&, const int&, bool, unsigned int, unsigned int, float)’:
/usr/include/pktools/algorithms/myfann_cpp.h:1526:17: error: ‘fann_train_on_data’ was not declared in this scope; did you mean ‘fann_train_data’?
 1526 |                 fann_train_on_data(ann, data.train_data, max_epochs,
      |                 ^~~~~~~~~~~~~~~~~~
      |                 fann_train_data
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::train_on_data(const int&, unsigned int, bool, unsigned int, unsigned int, float)’:
/usr/include/pktools/algorithms/myfann_cpp.h:1546:17: error: ‘fann_train_on_data’ was not declared in this scope; did you mean ‘fann_train_data’?
 1546 |                 fann_train_on_data(ann, data.train_data, max_epochs,
      |                 ^~~~~~~~~~~~~~~~~~
      |                 fann_train_data
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘float FANN::neural_net::cross_validation(int&, unsigned int, short unsigned int, unsigned int, float, std::vector<short unsigned int>&, std::vector<short unsigned int>&, short int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:1566:39: error: request for member ‘size’ in ‘trainingFeatures’, which is of non-class type ‘int’
 1566 |           int nclass=trainingFeatures.size();
      |                                       ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1581:33: error: invalid types ‘int[int]’ for array subscript
 1581 |                 trainingFeatures[iclass].push_back(testFeatures[iclass].back());
      |                                 ^
/usr/include/pktools/algorithms/myfann_cpp.h:1585:84: error: invalid types ‘int[int]’ for array subscript
 1585 |                 std::cout << "training size " << iclass << ": " << trainingFeatures[iclass].size() << std::endl;
      |                                                                                    ^
/usr/include/pktools/algorithms/myfann_cpp.h:1588:38: error: invalid types ‘int[int]’ for array subscript
 1588 |               assert(trainingFeatures[iclass].size());
      |                                      ^
/usr/include/pktools/algorithms/myfann_cpp.h:1599:65: error: invalid types ‘int[int]’ for array subscript
 1599 |               testFeatures[testclass].push_back(trainingFeatures[testclass][0]);
      |                                                                 ^
/usr/include/pktools/algorithms/myfann_cpp.h:1600:31: error: invalid types ‘int[int]’ for array subscript
 1600 |               trainingFeatures[testclass].erase(trainingFeatures[testclass].begin());
      |                               ^
/usr/include/pktools/algorithms/myfann_cpp.h:1600:65: error: invalid types ‘int[int]’ for array subscript
 1600 |               trainingFeatures[testclass].erase(trainingFeatures[testclass].begin());
      |                                                                 ^
/usr/include/pktools/algorithms/myfann_cpp.h:1601:35: error: invalid types ‘int[int]’ for array subscript
 1601 |               if(!trainingFeatures[testclass].size())
      |                                   ^
/usr/include/pktools/algorithms/myfann_cpp.h:1603:38: error: invalid types ‘int[int]’ for array subscript
 1603 |               assert(trainingFeatures[testclass].size());
      |                                      ^
/usr/include/pktools/algorithms/myfann_cpp.h:1605:53: error: invalid types ‘int[int]’ for array subscript
 1605 |               if(static_cast<float>(trainingFeatures[testclass].size())/static_cast<float>(testFeatures[testclass].size())<=(cv-1)){
      |                                                     ^
/usr/include/pktools/algorithms/myfann_cpp.h:1607:89: error: invalid types ‘int[int]’ for array subscript
 1607 |                   std::cout << "training size " << testclass << ": " << trainingFeatures[testclass].size() << std::endl;
      |                                                                                         ^
/usr/include/pktools/algorithms/myfann_cpp.h:1628:38: error: invalid types ‘int[int]’ for array subscript
 1628 |               assert(trainingFeatures[iclass].size());
      |                                      ^
/usr/include/pktools/algorithms/myfann_cpp.h:1630:27: error: cannot convert ‘__gnu_cxx::__alloc_traits<std::allocator<std::vector<float, std::allocator<float> > >, std::vector<float, std::allocator<float> > >::value_type’ {aka ‘std::vector<float, std::allocator<float> >’} to ‘int’
 1630 |                 result=run(testFeatures[iclass][isample]);
      |                        ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1235:57: note:   initializing argument 1 of ‘int FANN::neural_net::run(int)’
 1235 |       std::vector<fann_type> run(std::vector<fann_type> input)
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1654:31: error: invalid types ‘int[int]’ for array subscript
 1654 |               trainingFeatures[iclass].push_back(testFeatures[iclass].back());
      |                               ^
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘float FANN::neural_net::cross_validation(int&, int&, short unsigned int, unsigned int, float, int&, int&, short int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:1672:24: error: request for member ‘size’ in ‘input’, which is of non-class type ‘int’
 1672 |           assert(input.size());
      |                        ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1673:25: error: request for member ‘size’ in ‘output’, which is of non-class type ‘int’
 1673 |           assert(output.size()==input.size());
      |                         ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1673:39: error: request for member ‘size’ in ‘input’, which is of non-class type ‘int’
 1673 |           assert(output.size()==input.size());
      |                                       ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1674:40: error: request for member ‘size’ in ‘input’, which is of non-class type ‘int’
 1674 |           unsigned int ntraining=input.size();
      |                                        ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1675:38: error: invalid types ‘int[int]’ for array subscript
 1675 |           unsigned int noutput=output[0].size();
      |                                      ^
/usr/include/pktools/algorithms/myfann_cpp.h:1676:27: error: request for member ‘clear’ in ‘referenceVector’, which is of non-class type ‘int’
 1676 |           referenceVector.clear();
      |                           ^~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1677:24: error: request for member ‘clear’ in ‘outputVector’, which is of non-class type ‘int’
 1677 |           outputVector.clear();
      |                        ^~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1680:36: error: ‘fann_type’ was not declared in this scope
 1680 |           std::vector< std::vector<fann_type> > testInput;
      |                                    ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1680:45: error: template argument 1 is invalid
 1680 |           std::vector< std::vector<fann_type> > testInput;
      |                                             ^
/usr/include/pktools/algorithms/myfann_cpp.h:1680:45: error: template argument 2 is invalid
/usr/include/pktools/algorithms/myfann_cpp.h:1680:47: error: template argument 1 is invalid
 1680 |           std::vector< std::vector<fann_type> > testInput;
      |                                               ^
/usr/include/pktools/algorithms/myfann_cpp.h:1680:47: error: template argument 2 is invalid
/usr/include/pktools/algorithms/myfann_cpp.h:1681:45: error: template argument 2 is invalid
 1681 |           std::vector< std::vector<fann_type> > testOutput;
      |                                             ^
/usr/include/pktools/algorithms/myfann_cpp.h:1681:47: error: template argument 1 is invalid
 1681 |           std::vector< std::vector<fann_type> > testOutput;
      |                                               ^
/usr/include/pktools/algorithms/myfann_cpp.h:1681:47: error: template argument 2 is invalid
/usr/include/pktools/algorithms/myfann_cpp.h:1692:29: error: request for member ‘size’ in ‘testInput’, which is of non-class type ‘int’
 1692 |             while(testInput.size()){
      |                             ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1693:21: error: request for member ‘push_back’ in ‘input’, which is of non-class type ‘int’
 1693 |               input.push_back(testInput.back());
      |                     ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1693:41: error: request for member ‘back’ in ‘testInput’, which is of non-class type ‘int’
 1693 |               input.push_back(testInput.back());
      |                                         ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1694:25: error: request for member ‘pop_back’ in ‘testInput’, which is of non-class type ‘int’
 1694 |               testInput.pop_back();
      |                         ^~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1696:30: error: request for member ‘size’ in ‘testOutput’, which is of non-class type ‘int’
 1696 |             while(testOutput.size()){
      |                              ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1697:22: error: request for member ‘push_back’ in ‘output’, which is of non-class type ‘int’
 1697 |               output.push_back(testOutput.back());
      |                      ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1697:43: error: request for member ‘back’ in ‘testOutput’, which is of non-class type ‘int’
 1697 |               output.push_back(testOutput.back());
      |                                           ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1698:26: error: request for member ‘pop_back’ in ‘testOutput’, which is of non-class type ‘int’
 1698 |               testOutput.pop_back();
      |                          ^~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1700:30: error: request for member ‘size’ in ‘testInput’, which is of non-class type ‘int’
 1700 |             assert(testInput.size()==testOutput.size());
      |                              ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1700:49: error: request for member ‘size’ in ‘testOutput’, which is of non-class type ‘int’
 1700 |             assert(testInput.size()==testOutput.size());
      |                                                 ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1702:55: error: request for member ‘size’ in ‘input’, which is of non-class type ‘int’
 1702 |               std::cout << "training size: " << input.size() << std::endl;
      |                                                       ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1703:55: error: request for member ‘size’ in ‘testInput’, which is of non-class type ‘int’
 1703 |               std::cout << "test size: " << testInput.size() << std::endl;
      |                                                       ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1705:26: error: request for member ‘size’ in ‘input’, which is of non-class type ‘int’
 1705 |             assert(input.size());
      |                          ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1712:25: error: request for member ‘push_back’ in ‘testInput’, which is of non-class type ‘int’
 1712 |               testInput.push_back(input[0]);
      |                         ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1712:40: error: invalid types ‘int[int]’ for array subscript
 1712 |               testInput.push_back(input[0]);
      |                                        ^
/usr/include/pktools/algorithms/myfann_cpp.h:1713:26: error: request for member ‘push_back’ in ‘testOutput’, which is of non-class type ‘int’
 1713 |               testOutput.push_back(output[0]);
      |                          ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1713:42: error: invalid types ‘int[int]’ for array subscript
 1713 |               testOutput.push_back(output[0]);
      |                                          ^
/usr/include/pktools/algorithms/myfann_cpp.h:1714:21: error: request for member ‘erase’ in ‘input’, which is of non-class type ‘int’
 1714 |               input.erase(input.begin());
      |                     ^~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1714:33: error: request for member ‘begin’ in ‘input’, which is of non-class type ‘int’
 1714 |               input.erase(input.begin());
      |                                 ^~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1715:22: error: request for member ‘erase’ in ‘output’, which is of non-class type ‘int’
 1715 |               output.erase(output.begin());
      |                      ^~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1715:35: error: request for member ‘begin’ in ‘output’, which is of non-class type ‘int’
 1715 |               output.erase(output.begin());
      |                                   ^~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1716:28: error: request for member ‘size’ in ‘input’, which is of non-class type ‘int’
 1716 |               assert(input.size());
      |                            ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1717:29: error: request for member ‘size’ in ‘output’, which is of non-class type ‘int’
 1717 |               assert(output.size());
      |                             ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1718:28: error: request for member ‘size’ in ‘input’, which is of non-class type ‘int’
 1718 |               assert(input.size()==output.size());
      |                            ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1718:43: error: request for member ‘size’ in ‘output’, which is of non-class type ‘int’
 1718 |               assert(input.size()==output.size());
      |                                           ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1722:30: error: request for member ‘size’ in ‘testInput’, which is of non-class type ‘int’
 1722 |             assert(testInput.size()==testOutput.size());
      |                              ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1722:49: error: request for member ‘size’ in ‘testOutput’, which is of non-class type ‘int’
 1722 |             assert(testInput.size()==testOutput.size());
      |                                                 ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1735:34: error: template argument 2 is invalid
 1735 |             std::vector<fann_type> result(noutput);
      |                                  ^
/usr/include/pktools/algorithms/myfann_cpp.h:1736:49: error: request for member ‘size’ in ‘testInput’, which is of non-class type ‘int’
 1736 |             for(int isample=0;isample<testInput.size();++isample){
      |                                                 ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1737:35: error: invalid types ‘int[int]’ for array subscript
 1737 |               result=run(testInput[isample]);
      |                                   ^
/usr/include/pktools/algorithms/myfann_cpp.h:1738:31: error: request for member ‘push_back’ in ‘referenceVector’, which is of non-class type ‘int’
 1738 |               referenceVector.push_back(testOutput[isample]);
      |                               ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1738:51: error: invalid types ‘int[int]’ for array subscript
 1738 |               referenceVector.push_back(testOutput[isample]);
      |                                                   ^
/usr/include/pktools/algorithms/myfann_cpp.h:1739:28: error: request for member ‘push_back’ in ‘outputVector’, which is of non-class type ‘int’
 1739 |               outputVector.push_back(result);
      |                            ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1743:27: error: request for member ‘size’ in ‘testInput’, which is of non-class type ‘int’
 1743 |           while(testInput.size()){
      |                           ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1744:19: error: request for member ‘push_back’ in ‘input’, which is of non-class type ‘int’
 1744 |             input.push_back(testInput.back());
      |                   ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1744:39: error: request for member ‘back’ in ‘testInput’, which is of non-class type ‘int’
 1744 |             input.push_back(testInput.back());
      |                                       ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1745:23: error: request for member ‘pop_back’ in ‘testInput’, which is of non-class type ‘int’
 1745 |             testInput.pop_back();
      |                       ^~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1747:28: error: request for member ‘size’ in ‘testOutput’, which is of non-class type ‘int’
 1747 |           while(testOutput.size()){
      |                            ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1748:20: error: request for member ‘push_back’ in ‘output’, which is of non-class type ‘int’
 1748 |             output.push_back(testOutput.back());
      |                    ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1748:41: error: request for member ‘back’ in ‘testOutput’, which is of non-class type ‘int’
 1748 |             output.push_back(testOutput.back());
      |                                         ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1749:24: error: request for member ‘pop_back’ in ‘testOutput’, which is of non-class type ‘int’
 1749 |             testOutput.pop_back();
      |                        ^~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::train_on_file(const std::string&, unsigned int, unsigned int, float)’:
/usr/include/pktools/algorithms/myfann_cpp.h:1768:17: error: ‘fann_train_on_file’ was not declared in this scope; did you mean ‘train_on_file’?
 1768 |                 fann_train_on_file(ann, filename.c_str(),
      |                 ^~~~~~~~~~~~~~~~~~
      |                 train_on_file
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘float FANN::neural_net::test_data(const FANN::training_data&)’:
/usr/include/pktools/algorithms/myfann_cpp.h:1811:23: error: ‘fann_test_data’ was not declared in this scope; did you mean ‘fann_train_data’?
 1811 |                 mse = fann_test_data(ann, data.train_data);
      |                       ^~~~~~~~~~~~~~
      |                       fann_train_data
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘float FANN::neural_net::test_data(const int&, unsigned int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:1819:24: error: request for member ‘size’ in ‘input’, which is of non-class type ‘const int’
 1819 |           assert(input.size());
      |                        ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1820:40: error: request for member ‘size’ in ‘input’, which is of non-class type ‘const int’
 1820 |           unsigned int num_class=input.size();
      |                                        ^~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1821:23: error: invalid types ‘const int[int]’ for array subscript
 1821 |           assert(input[0].size());
      |                       ^
/usr/include/pktools/algorithms/myfann_cpp.h:1822:39: error: invalid types ‘const int[int]’ for array subscript
 1822 |           unsigned int num_input=input[0][0].size();
      |                                       ^
/usr/include/pktools/algorithms/myfann_cpp.h:1825:50: error: invalid application of ‘sizeof’ to incomplete type ‘FANN::fann_train_data’
 1825 |                 (struct fann_train_data *)malloc(sizeof(struct fann_train_data));
      |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1826:17: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
 1826 |             data->input = (fann_type **)calloc(num_data, sizeof(fann_type *));
      |                 ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1826:28: error: ‘fann_type’ was not declared in this scope
 1826 |             data->input = (fann_type **)calloc(num_data, sizeof(fann_type *));
      |                            ^~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1826:40: error: expected primary-expression before ‘)’ token
 1826 |             data->input = (fann_type **)calloc(num_data, sizeof(fann_type *));
      |                                        ^
/usr/include/pktools/algorithms/myfann_cpp.h:1827:17: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
 1827 |             data->output = (fann_type **)calloc(num_data, sizeof(fann_type *));
      |                 ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1827:41: error: expected primary-expression before ‘)’ token
 1827 |             data->output = (fann_type **)calloc(num_data, sizeof(fann_type *));
      |                                         ^
/usr/include/pktools/algorithms/myfann_cpp.h:1829:17: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
 1829 |             data->num_data = num_data;
      |                 ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1830:17: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
 1830 |             data->num_input = num_input;
      |                 ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1831:17: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
 1831 |             data->num_output = num_output;
      |                 ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1833:24: error: ‘data_input’ was not declared in this scope
 1833 |             fann_type *data_input = (fann_type *)calloc(num_input*num_data, sizeof(fann_type));
      |                        ^~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1833:49: error: expected primary-expression before ‘)’ token
 1833 |             fann_type *data_input = (fann_type *)calloc(num_input*num_data, sizeof(fann_type));
      |                                                 ^
/usr/include/pktools/algorithms/myfann_cpp.h:1834:24: error: ‘data_output’ was not declared in this scope; did you mean ‘scale_output’?
 1834 |             fann_type *data_output = (fann_type *)calloc(num_output*num_data, sizeof(fann_type));
      |                        ^~~~~~~~~~~
      |                        scale_output
/usr/include/pktools/algorithms/myfann_cpp.h:1834:50: error: expected primary-expression before ‘)’ token
 1834 |             fann_type *data_output = (fann_type *)calloc(num_output*num_data, sizeof(fann_type));
      |                                                  ^
/usr/include/pktools/algorithms/myfann_cpp.h:1838:46: error: invalid types ‘const int[int]’ for array subscript
 1838 |               for(int csample=0;csample<input[iclass].size();++csample){
      |                                              ^
/usr/include/pktools/algorithms/myfann_cpp.h:1839:21: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
 1839 |                 data->input[isample] = data_input;
      |                     ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1841:44: error: invalid types ‘const int[int]’ for array subscript
 1841 |                 for(int iband=0;iband<input[iclass][csample].size();++iband){
      |                                            ^
/usr/include/pktools/algorithms/myfann_cpp.h:1842:31: error: invalid types ‘const int[int]’ for array subscript
 1842 |                   assert(input[iclass][csample].size()==num_input);
      |                               ^
/usr/include/pktools/algorithms/myfann_cpp.h:1843:23: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
 1843 |                   data->input[isample][iband] = input[iclass][csample][iband];
      |                       ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1843:54: error: invalid types ‘const int[int]’ for array subscript
 1843 |                   data->input[isample][iband] = input[iclass][csample][iband];
      |                                                      ^
/usr/include/pktools/algorithms/myfann_cpp.h:1845:21: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
 1845 |                 data->output[isample] = data_output;
      |                     ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1851:25: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
 1851 |                     data->output[isample][ic] = 1;
      |                         ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1853:25: error: invalid use of incomplete type ‘struct FANN::fann_train_data’
 1853 |                     data->output[isample][ic] = -1;
      |                         ^~
/usr/include/pktools/algorithms/myfann_cpp.h:835:36: note: forward declaration of ‘struct FANN::fann_train_data’
  835 |         void set_train_data(struct fann_train_data *data)
      |                                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘float FANN::neural_net::get_MSE()’:
/usr/include/pktools/algorithms/myfann_cpp.h:1881:23: error: ‘fann_get_MSE’ was not declared in this scope
 1881 |                 mse = fann_get_MSE(ann);
      |                       ^~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::reset_MSE()’:
/usr/include/pktools/algorithms/myfann_cpp.h:1901:17: error: ‘fann_reset_MSE’ was not declared in this scope; did you mean ‘reset_MSE’?
 1901 |                 fann_reset_MSE(ann);
      |                 ^~~~~~~~~~~~~~
      |                 reset_MSE
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_callback(FANN::callback_type, void*)’:
/usr/include/pktools/algorithms/myfann_cpp.h:1922:75: error: ‘fann_get_user_data’ was not declared in this scope
 1922 |                 user_context *user_instance = static_cast<user_context *>(fann_get_user_data(ann));
      |                                                                           ^~~~~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1930:17: error: ‘fann_set_user_data’ was not declared in this scope
 1930 |                 fann_set_user_data(ann, user_instance);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:1933:21: error: ‘fann_set_callback’ was not declared in this scope; did you mean ‘set_callback’?
 1933 |                     fann_set_callback(ann, &FANN::neural_net::internal_callback);
      |                     ^~~~~~~~~~~~~~~~~
      |                     set_callback
/usr/include/pktools/algorithms/myfann_cpp.h:1935:21: error: ‘fann_set_callback’ was not declared in this scope; did you mean ‘set_callback’?
 1935 |                     fann_set_callback(ann, NULL);
      |                     ^~~~~~~~~~~~~~~~~
      |                     set_callback
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::print_parameters()’:
/usr/include/pktools/algorithms/myfann_cpp.h:1952:17: error: ‘fann_print_parameters’ was not declared in this scope; did you mean ‘print_parameters’?
 1952 |                 fann_print_parameters(ann);
      |                 ^~~~~~~~~~~~~~~~~~~~~
      |                 print_parameters
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘FANN::training_algorithm_enum FANN::neural_net::get_training_algorithm()’:
/usr/include/pktools/algorithms/myfann_cpp.h:1974:13: error: ‘fann_train_enum’ was not declared in this scope; did you mean ‘fann_train_data’?
 1974 |             fann_train_enum training_algorithm = FANN_TRAIN_INCREMENTAL;
      |             ^~~~~~~~~~~~~~~
      |             fann_train_data
/usr/include/pktools/algorithms/myfann_cpp.h:1977:17: error: ‘training_algorithm’ was not declared in this scope; did you mean ‘get_training_algorithm’?
 1977 |                 training_algorithm = fann_get_training_algorithm(ann);
      |                 ^~~~~~~~~~~~~~~~~~
      |                 get_training_algorithm
/usr/include/pktools/algorithms/myfann_cpp.h:1977:38: error: ‘fann_get_training_algorithm’ was not declared in this scope; did you mean ‘get_training_algorithm’?
 1977 |                 training_algorithm = fann_get_training_algorithm(ann);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                      get_training_algorithm
/usr/include/pktools/algorithms/myfann_cpp.h:1979:57: error: ‘training_algorithm’ was not declared in this scope; did you mean ‘get_training_algorithm’?
 1979 |             return static_cast<training_algorithm_enum>(training_algorithm);
      |                                                         ^~~~~~~~~~~~~~~~~~
      |                                                         get_training_algorithm
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_training_algorithm(FANN::training_algorithm_enum)’:
/usr/include/pktools/algorithms/myfann_cpp.h:1995:53: error: ‘fann_train_enum’ does not name a type; did you mean ‘fann_train_data’?
 1995 |                                         static_cast<fann_train_enum>(training_algorithm));
      |                                                     ^~~~~~~~~~~~~~~
      |                                                     fann_train_data
/usr/include/pktools/algorithms/myfann_cpp.h:1994:17: error: ‘fann_set_training_algorithm’ was not declared in this scope; did you mean ‘set_training_algorithm’?
 1994 |                 fann_set_training_algorithm(ann,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 set_training_algorithm
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘float FANN::neural_net::get_learning_rate()’:
/usr/include/pktools/algorithms/myfann_cpp.h:2020:33: error: ‘fann_get_learning_rate’ was not declared in this scope; did you mean ‘get_learning_rate’?
 2020 |                 learning_rate = fann_get_learning_rate(ann);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
      |                                 get_learning_rate
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_learning_rate(float)’:
/usr/include/pktools/algorithms/myfann_cpp.h:2037:17: error: ‘fann_set_learning_rate’ was not declared in this scope; did you mean ‘set_learning_rate’?
 2037 |                 fann_set_learning_rate(ann, learning_rate);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
      |                 set_learning_rate
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘FANN::activation_function_enum FANN::neural_net::get_activation_function(int, int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:2067:39: error: ‘fann_get_activation_function’ was not declared in this scope; did you mean ‘get_activation_function’?
 2067 |                 activation_function = fann_get_activation_function(ann, layer, neuron);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                       get_activation_function
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_activation_function(FANN::activation_function_enum, int, int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:2099:53: error: ‘fann_activationfunc_enum’ does not name a type
 2099 |                                         static_cast<fann_activationfunc_enum>(activation_function), layer, neuron);
      |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:2098:17: error: ‘fann_set_activation_function’ was not declared in this scope; did you mean ‘set_activation_function’?
 2098 |                 fann_set_activation_function(ann,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 set_activation_function
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_activation_function_layer(FANN::activation_function_enum, int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:2122:53: error: ‘fann_activationfunc_enum’ does not name a type
 2122 |                                         static_cast<fann_activationfunc_enum>(activation_function), layer);
      |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:2121:17: error: ‘fann_set_activation_function_layer’ was not declared in this scope; did you mean ‘set_activation_function_layer’?
 2121 |                 fann_set_activation_function_layer(ann,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 set_activation_function_layer
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_activation_function_hidden(FANN::activation_function_enum)’:
/usr/include/pktools/algorithms/myfann_cpp.h:2142:53: error: ‘fann_activationfunc_enum’ does not name a type
 2142 |                                         static_cast<fann_activationfunc_enum>(activation_function));
      |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:2141:17: error: ‘fann_set_activation_function_hidden’ was not declared in this scope; did you mean ‘set_activation_function_hidden’?
 2141 |                 fann_set_activation_function_hidden(ann,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 set_activation_function_hidden
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_activation_function_output(FANN::activation_function_enum)’:
/usr/include/pktools/algorithms/myfann_cpp.h:2162:53: error: ‘fann_activationfunc_enum’ does not name a type
 2162 |                                         static_cast<fann_activationfunc_enum>(activation_function));
      |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:2161:17: error: ‘fann_set_activation_function_output’ was not declared in this scope; did you mean ‘set_activation_function_output’?
 2161 |                 fann_set_activation_function_output(ann,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 set_activation_function_output
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_activation_steepness(int, int, int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:2229:17: error: ‘fann_set_activation_steepness’ was not declared in this scope; did you mean ‘set_activation_steepness’?
 2229 |                 fann_set_activation_steepness(ann, steepness, layer, neuron);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 set_activation_steepness
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_activation_steepness_layer(int, int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:2251:17: error: ‘fann_set_activation_steepness_layer’ was not declared in this scope; did you mean ‘set_activation_steepness_layer’?
 2251 |                 fann_set_activation_steepness_layer(ann, steepness, layer);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 set_activation_steepness_layer
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_activation_steepness_hidden(int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:2270:17: error: ‘fann_set_activation_steepness_hidden’ was not declared in this scope; did you mean ‘set_activation_steepness_hidden’?
 2270 |                 fann_set_activation_steepness_hidden(ann, steepness);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 set_activation_steepness_hidden
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_activation_steepness_output(int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:2289:17: error: ‘fann_set_activation_steepness_output’ was not declared in this scope; did you mean ‘set_activation_steepness_output’?
 2289 |                 fann_set_activation_steepness_output(ann, steepness);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 set_activation_steepness_output
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘FANN::error_function_enum FANN::neural_net::get_train_error_function()’:
/usr/include/pktools/algorithms/myfann_cpp.h:2310:13: error: ‘fann_errorfunc_enum’ was not declared in this scope
 2310 |             fann_errorfunc_enum train_error_function = FANN_ERRORFUNC_LINEAR;
      |             ^~~~~~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:2313:17: error: ‘train_error_function’ was not declared in this scope; did you mean ‘get_train_error_function’?
 2313 |                 train_error_function = fann_get_train_error_function(ann);
      |                 ^~~~~~~~~~~~~~~~~~~~
      |                 get_train_error_function
/usr/include/pktools/algorithms/myfann_cpp.h:2313:40: error: ‘fann_get_train_error_function’ was not declared in this scope; did you mean ‘get_train_error_function’?
 2313 |                 train_error_function = fann_get_train_error_function(ann);
      |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                        get_train_error_function
/usr/include/pktools/algorithms/myfann_cpp.h:2315:53: error: ‘train_error_function’ was not declared in this scope; did you mean ‘get_train_error_function’?
 2315 |             return static_cast<error_function_enum>(train_error_function);
      |                                                     ^~~~~~~~~~~~~~~~~~~~
      |                                                     get_train_error_function
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_train_error_function(FANN::error_function_enum)’:
/usr/include/pktools/algorithms/myfann_cpp.h:2334:53: error: ‘fann_errorfunc_enum’ does not name a type
 2334 |                                         static_cast<fann_errorfunc_enum>(train_error_function));
      |                                                     ^~~~~~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:2333:17: error: ‘fann_set_train_error_function’ was not declared in this scope; did you mean ‘set_train_error_function’?
 2333 |                 fann_set_train_error_function(ann,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 set_train_error_function
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘float FANN::neural_net::get_quickprop_decay()’:
/usr/include/pktools/algorithms/myfann_cpp.h:2356:35: error: ‘fann_get_quickprop_decay’ was not declared in this scope; did you mean ‘get_quickprop_decay’?
 2356 |                 quickprop_decay = fann_get_quickprop_decay(ann);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
      |                                   get_quickprop_decay
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_quickprop_decay(float)’:
/usr/include/pktools/algorithms/myfann_cpp.h:2374:17: error: ‘fann_set_quickprop_decay’ was not declared in this scope; did you mean ‘set_quickprop_decay’?
 2374 |                 fann_set_quickprop_decay(ann, quickprop_decay);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
      |                 set_quickprop_decay
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘float FANN::neural_net::get_quickprop_mu()’:
/usr/include/pktools/algorithms/myfann_cpp.h:2396:32: error: ‘fann_get_quickprop_mu’ was not declared in this scope; did you mean ‘get_quickprop_mu’?
 2396 |                 quickprop_mu = fann_get_quickprop_mu(ann);
      |                                ^~~~~~~~~~~~~~~~~~~~~
      |                                get_quickprop_mu
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_quickprop_mu(float)’:
/usr/include/pktools/algorithms/myfann_cpp.h:2414:17: error: ‘fann_set_quickprop_mu’ was not declared in this scope; did you mean ‘set_quickprop_mu’?
 2414 |                 fann_set_quickprop_mu(ann, quickprop_mu);
      |                 ^~~~~~~~~~~~~~~~~~~~~
      |                 set_quickprop_mu
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘float FANN::neural_net::get_rprop_increase_factor()’:
/usr/include/pktools/algorithms/myfann_cpp.h:2435:26: error: ‘fann_get_rprop_increase_factor’ was not declared in this scope; did you mean ‘get_rprop_increase_factor’?
 2435 |                 factor = fann_get_rprop_increase_factor(ann);
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                          get_rprop_increase_factor
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_rprop_increase_factor(float)’:
/usr/include/pktools/algorithms/myfann_cpp.h:2453:17: error: ‘fann_set_rprop_increase_factor’ was not declared in this scope; did you mean ‘set_rprop_increase_factor’?
 2453 |                 fann_set_rprop_increase_factor(ann, rprop_increase_factor);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 set_rprop_increase_factor
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘float FANN::neural_net::get_rprop_decrease_factor()’:
/usr/include/pktools/algorithms/myfann_cpp.h:2473:26: error: ‘fann_get_rprop_decrease_factor’ was not declared in this scope; did you mean ‘get_rprop_decrease_factor’?
 2473 |                 factor = fann_get_rprop_decrease_factor(ann);
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                          get_rprop_decrease_factor
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_rprop_decrease_factor(float)’:
/usr/include/pktools/algorithms/myfann_cpp.h:2491:17: error: ‘fann_set_rprop_decrease_factor’ was not declared in this scope; did you mean ‘set_rprop_decrease_factor’?
 2491 |                 fann_set_rprop_decrease_factor(ann, rprop_decrease_factor);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 set_rprop_decrease_factor
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘float FANN::neural_net::get_rprop_delta_min()’:
/usr/include/pktools/algorithms/myfann_cpp.h:2511:25: error: ‘fann_get_rprop_delta_min’ was not declared in this scope; did you mean ‘get_rprop_delta_min’?
 2511 |                 delta = fann_get_rprop_delta_min(ann);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~
      |                         get_rprop_delta_min
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_rprop_delta_min(float)’:
/usr/include/pktools/algorithms/myfann_cpp.h:2529:17: error: ‘fann_set_rprop_delta_min’ was not declared in this scope; did you mean ‘set_rprop_delta_min’?
 2529 |                 fann_set_rprop_delta_min(ann, rprop_delta_min);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
      |                 set_rprop_delta_min
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘float FANN::neural_net::get_rprop_delta_max()’:
/usr/include/pktools/algorithms/myfann_cpp.h:2549:25: error: ‘fann_get_rprop_delta_max’ was not declared in this scope; did you mean ‘get_rprop_delta_max’?
 2549 |                 delta = fann_get_rprop_delta_max(ann);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~
      |                         get_rprop_delta_max
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_rprop_delta_max(float)’:
/usr/include/pktools/algorithms/myfann_cpp.h:2567:17: error: ‘fann_set_rprop_delta_max’ was not declared in this scope; did you mean ‘set_rprop_delta_max’?
 2567 |                 fann_set_rprop_delta_max(ann, rprop_delta_max);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
      |                 set_rprop_delta_max
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘unsigned int FANN::neural_net::get_num_input()’:
/usr/include/pktools/algorithms/myfann_cpp.h:2582:29: error: ‘fann_get_num_input’ was not declared in this scope; did you mean ‘get_num_input’?
 2582 |                 num_input = fann_get_num_input(ann);
      |                             ^~~~~~~~~~~~~~~~~~
      |                             get_num_input
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘unsigned int FANN::neural_net::get_num_output()’:
/usr/include/pktools/algorithms/myfann_cpp.h:2598:30: error: ‘fann_get_num_output’ was not declared in this scope; did you mean ‘get_num_output’?
 2598 |                 num_output = fann_get_num_output(ann);
      |                              ^~~~~~~~~~~~~~~~~~~
      |                              get_num_output
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘unsigned int FANN::neural_net::get_total_neurons()’:
/usr/include/pktools/algorithms/myfann_cpp.h:2616:20: error: ‘fann_get_total_neurons’ was not declared in this scope; did you mean ‘get_total_neurons’?
 2616 |             return fann_get_total_neurons(ann);
      |                    ^~~~~~~~~~~~~~~~~~~~~~
      |                    get_total_neurons
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘unsigned int FANN::neural_net::get_total_connections()’:
/usr/include/pktools/algorithms/myfann_cpp.h:2631:20: error: ‘fann_get_total_connections’ was not declared in this scope; did you mean ‘get_total_connections’?
 2631 |             return fann_get_total_connections(ann);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    get_total_connections
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘FANN::network_type_enum FANN::neural_net::get_network_type()’:
/usr/include/pktools/algorithms/myfann_cpp.h:2702:13: error: ‘fann_nettype_enum’ was not declared in this scope
 2702 |             fann_nettype_enum network_type = FANN_NETTYPE_LAYER;
      |             ^~~~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:2705:17: error: ‘network_type’ was not declared in this scope; did you mean ‘get_network_type’?
 2705 |                 network_type = fann_get_network_type(ann);
      |                 ^~~~~~~~~~~~
      |                 get_network_type
/usr/include/pktools/algorithms/myfann_cpp.h:2705:32: error: ‘fann_get_network_type’ was not declared in this scope; did you mean ‘get_network_type’?
 2705 |                 network_type = fann_get_network_type(ann);
      |                                ^~~~~~~~~~~~~~~~~~~~~
      |                                get_network_type
/usr/include/pktools/algorithms/myfann_cpp.h:2707:51: error: ‘network_type’ was not declared in this scope; did you mean ‘get_network_type’?
 2707 |             return static_cast<network_type_enum>(network_type);
      |                                                   ^~~~~~~~~~~~
      |                                                   get_network_type
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘float FANN::neural_net::get_connection_rate()’:
/usr/include/pktools/algorithms/myfann_cpp.h:2728:20: error: ‘fann_get_connection_rate’ was not declared in this scope; did you mean ‘get_connection_rate’?
 2728 |             return fann_get_connection_rate(ann);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~
      |                    get_connection_rate
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘unsigned int FANN::neural_net::get_num_layers()’:
/usr/include/pktools/algorithms/myfann_cpp.h:2749:20: error: ‘fann_get_num_layers’ was not declared in this scope; did you mean ‘get_num_layers’?
 2749 |             return fann_get_num_layers(ann);
      |                    ^~~~~~~~~~~~~~~~~~~
      |                    get_num_layers
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::get_layer_array(unsigned int*)’:
/usr/include/pktools/algorithms/myfann_cpp.h:2770:17: error: ‘fann_get_layer_array’ was not declared in this scope; did you mean ‘get_layer_array’?
 2770 |                 fann_get_layer_array(ann, layers);
      |                 ^~~~~~~~~~~~~~~~~~~~
      |                 get_layer_array
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::get_layer_array(std::vector<unsigned int>)’:
/usr/include/pktools/algorithms/myfann_cpp.h:2780:13: error: ‘fann_get_layer_array’ was not declared in this scope; did you mean ‘get_layer_array’?
 2780 |             fann_get_layer_array(ann, layers);
      |             ^~~~~~~~~~~~~~~~~~~~
      |             get_layer_array
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::get_bias_array(unsigned int*)’:
/usr/include/pktools/algorithms/myfann_cpp.h:2802:17: error: ‘fann_get_bias_array’ was not declared in this scope; did you mean ‘get_bias_array’?
 2802 |                 fann_get_bias_array(ann, bias);
      |                 ^~~~~~~~~~~~~~~~~~~
      |                 get_bias_array
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::get_connection_array(FANN::connection*)’:
/usr/include/pktools/algorithms/myfann_cpp.h:2822:17: error: ‘fann_get_connection_array’ was not declared in this scope; did you mean ‘get_connection_array’?
 2822 |                 fann_get_connection_array(ann, connections);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                 get_connection_array
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::get_connection_array(std::vector<FANN::fann_connection>&)’:
/usr/include/pktools/algorithms/myfann_cpp.h:2832:83: error: invalid application of ‘sizeof’ to incomplete type ‘FANN::connection’ {aka ‘FANN::fann_connection’}
 2832 |               connection* connections=(connection*)calloc(get_total_connections(),sizeof(connection));
      |                                                                                   ^~~~~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:2833:15: error: ‘fann_get_connection_array’ was not declared in this scope; did you mean ‘get_connection_array’?
 2833 |               fann_get_connection_array(ann, connections);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~
      |               get_connection_array
/usr/include/pktools/algorithms/myfann_cpp.h:2835:35: error: cannot increment a pointer to incomplete type ‘FANN::connection’ {aka ‘FANN::fann_connection’}
 2835 |                 convector[icon]=*(connections++);
      |                                   ^~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:2835:48: error: invalid use of incomplete type ‘__gnu_cxx::__alloc_traits<std::allocator<FANN::fann_connection>, FANN::fann_connection>::value_type’ {aka ‘struct FANN::fann_connection’}
 2835 |                 convector[icon]=*(connections++);
      |                                                ^
/usr/include/pktools/algorithms/myfann_cpp.h:315:20: note: forward declaration of ‘__gnu_cxx::__alloc_traits<std::allocator<FANN::fann_connection>, FANN::fann_connection>::value_type’ {aka ‘struct FANN::fann_connection’}
  315 |     typedef struct fann_connection connection;
      |                    ^~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_weight_array(FANN::connection*, unsigned int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:2857:17: error: ‘fann_set_weight_array’ was not declared in this scope; did you mean ‘set_weight_array’?
 2857 |                 fann_set_weight_array(ann, connections, num_connections);
      |                 ^~~~~~~~~~~~~~~~~~~~~
      |                 set_weight_array
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_weight_array(std::vector<FANN::fann_connection>)’:
/usr/include/pktools/algorithms/myfann_cpp.h:2866:75: error: invalid application of ‘sizeof’ to incomplete type ‘FANN::connection’ {aka ‘FANN::fann_connection’}
 2866 |               connection* connections=(connection*)calloc(num_connections,sizeof(connection));
      |                                                                           ^~~~~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:2868:15: error: ‘fann_set_weight_array’ was not declared in this scope; did you mean ‘set_weight_array’?
 2868 |               fann_set_weight_array(ann, connections, num_connections);
      |               ^~~~~~~~~~~~~~~~~~~~~
      |               set_weight_array
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_weight(unsigned int, unsigned int, int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:2888:17: error: ‘fann_set_weight’ was not declared in this scope; did you mean ‘set_weight’?
 2888 |                 fann_set_weight(ann, from_neuron, to_neuron, weight);
      |                 ^~~~~~~~~~~~~~~
      |                 set_weight
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘float FANN::neural_net::get_learning_momentum()’:
/usr/include/pktools/algorithms/myfann_cpp.h:2915:37: error: ‘fann_get_learning_momentum’ was not declared in this scope; did you mean ‘get_learning_momentum’?
 2915 |                 learning_momentum = fann_get_learning_momentum(ann);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                     get_learning_momentum
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_learning_momentum(float)’:
/usr/include/pktools/algorithms/myfann_cpp.h:2932:17: error: ‘fann_set_learning_momentum’ was not declared in this scope; did you mean ‘set_learning_momentum’?
 2932 |                 fann_set_learning_momentum(ann, learning_momentum);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 set_learning_momentum
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘FANN::stop_function_enum FANN::neural_net::get_train_stop_function()’:
/usr/include/pktools/algorithms/myfann_cpp.h:2951:18: error: use of enum ‘fann_stopfunc_enum’ without previous declaration
 2951 |             enum fann_stopfunc_enum stopfunc = FANN_STOPFUNC_MSE;
      |                  ^~~~~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:2951:48: error: ‘FANN_STOPFUNC_MSE’ was not declared in this scope; did you mean ‘STOPFUNC_MSE’?
 2951 |             enum fann_stopfunc_enum stopfunc = FANN_STOPFUNC_MSE;
      |                                                ^~~~~~~~~~~~~~~~~
      |                                                STOPFUNC_MSE
/usr/include/pktools/algorithms/myfann_cpp.h:2954:28: error: ‘fann_get_train_stop_function’ was not declared in this scope; did you mean ‘get_train_stop_function’?
 2954 |                 stopfunc = fann_get_train_stop_function(ann);
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                            get_train_stop_function
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_train_stop_function(FANN::stop_function_enum)’:
/usr/include/pktools/algorithms/myfann_cpp.h:2975:38: error: use of enum ‘fann_stopfunc_enum’ without previous declaration
 2975 |                     static_cast<enum fann_stopfunc_enum>(train_stop_function));
      |                                      ^~~~~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:2974:17: error: ‘fann_set_train_stop_function’ was not declared in this scope; did you mean ‘set_train_stop_function’?
 2974 |                 fann_set_train_stop_function(ann,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 set_train_stop_function
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_bit_fail_limit(int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:3021:17: error: ‘fann_set_bit_fail_limit’ was not declared in this scope; did you mean ‘set_bit_fail_limit’?
 3021 |                 fann_set_bit_fail_limit(ann, bit_fail_limit);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~
      |                 set_bit_fail_limit
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘unsigned int FANN::neural_net::get_bit_fail()’:
/usr/include/pktools/algorithms/myfann_cpp.h:3045:28: error: ‘fann_get_bit_fail’ was not declared in this scope; did you mean ‘get_bit_fail’?
 3045 |                 bit_fail = fann_get_bit_fail(ann);
      |                            ^~~~~~~~~~~~~~~~~
      |                            get_bit_fail
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::cascadetrain_on_data(const FANN::training_data&, unsigned int, unsigned int, float)’:
/usr/include/pktools/algorithms/myfann_cpp.h:3086:17: error: ‘fann_cascadetrain_on_data’ was not declared in this scope; did you mean ‘cascadetrain_on_data’?
 3086 |                 fann_cascadetrain_on_data(ann, data.train_data, max_neurons,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                 cascadetrain_on_data
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::cascadetrain_on_file(const std::string&, unsigned int, unsigned int, float)’:
/usr/include/pktools/algorithms/myfann_cpp.h:3105:17: error: ‘fann_cascadetrain_on_file’ was not declared in this scope; did you mean ‘cascadetrain_on_file’?
 3105 |                 fann_cascadetrain_on_file(ann, filename.c_str(),
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                 cascadetrain_on_file
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘float FANN::neural_net::get_cascade_output_change_fraction()’:
/usr/include/pktools/algorithms/myfann_cpp.h:3138:35: error: ‘fann_get_cascade_output_change_fraction’ was not declared in this scope; did you mean ‘get_cascade_output_change_fraction’?
 3138 |                 change_fraction = fann_get_cascade_output_change_fraction(ann);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                   get_cascade_output_change_fraction
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_cascade_output_change_fraction(float)’:
/usr/include/pktools/algorithms/myfann_cpp.h:3156:17: error: ‘fann_set_cascade_output_change_fraction’ was not declared in this scope; did you mean ‘set_cascade_output_change_fraction’?
 3156 |                 fann_set_cascade_output_change_fraction(ann, cascade_output_change_fraction);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 set_cascade_output_change_fraction
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘unsigned int FANN::neural_net::get_cascade_output_stagnation_epochs()’:
/usr/include/pktools/algorithms/myfann_cpp.h:3180:37: error: ‘fann_get_cascade_output_stagnation_epochs’ was not declared in this scope; did you mean ‘get_cascade_output_stagnation_epochs’?
 3180 |                 stagnation_epochs = fann_get_cascade_output_stagnation_epochs(ann);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                     get_cascade_output_stagnation_epochs
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_cascade_output_stagnation_epochs(unsigned int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:3198:17: error: ‘fann_set_cascade_output_stagnation_epochs’ was not declared in this scope; did you mean ‘set_cascade_output_stagnation_epochs’?
 3198 |                 fann_set_cascade_output_stagnation_epochs(ann, cascade_output_stagnation_epochs);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 set_cascade_output_stagnation_epochs
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘float FANN::neural_net::get_cascade_candidate_change_fraction()’:
/usr/include/pktools/algorithms/myfann_cpp.h:3230:35: error: ‘fann_get_cascade_candidate_change_fraction’ was not declared in this scope; did you mean ‘get_cascade_candidate_change_fraction’?
 3230 |                 change_fraction = fann_get_cascade_candidate_change_fraction(ann);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                   get_cascade_candidate_change_fraction
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_cascade_candidate_change_fraction(float)’:
/usr/include/pktools/algorithms/myfann_cpp.h:3249:17: error: ‘fann_set_cascade_candidate_change_fraction’ was not declared in this scope; did you mean ‘set_cascade_candidate_change_fraction’?
 3249 |                 fann_set_cascade_candidate_change_fraction(ann, cascade_candidate_change_fraction);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 set_cascade_candidate_change_fraction
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘unsigned int FANN::neural_net::get_cascade_candidate_stagnation_epochs()’:
/usr/include/pktools/algorithms/myfann_cpp.h:3273:37: error: ‘fann_get_cascade_candidate_stagnation_epochs’ was not declared in this scope; did you mean ‘get_cascade_candidate_stagnation_epochs’?
 3273 |                 stagnation_epochs = fann_get_cascade_candidate_stagnation_epochs(ann);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                     get_cascade_candidate_stagnation_epochs
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_cascade_candidate_stagnation_epochs(unsigned int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:3292:17: error: ‘fann_set_cascade_candidate_stagnation_epochs’ was not declared in this scope; did you mean ‘set_cascade_candidate_stagnation_epochs’?
 3292 |                 fann_set_cascade_candidate_stagnation_epochs(ann, cascade_candidate_stagnation_epochs);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 set_cascade_candidate_stagnation_epochs
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_cascade_weight_multiplier(int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:3332:17: error: ‘fann_set_cascade_weight_multiplier’ was not declared in this scope; did you mean ‘set_cascade_weight_multiplier’?
 3332 |                 fann_set_cascade_weight_multiplier(ann, cascade_weight_multiplier);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 set_cascade_weight_multiplier
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_cascade_candidate_limit(int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:3374:17: error: ‘fann_set_cascade_candidate_limit’ was not declared in this scope; did you mean ‘set_cascade_candidate_limit’?
 3374 |                 fann_set_cascade_candidate_limit(ann, cascade_candidate_limit);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 set_cascade_candidate_limit
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘unsigned int FANN::neural_net::get_cascade_max_out_epochs()’:
/usr/include/pktools/algorithms/myfann_cpp.h:3395:34: error: ‘fann_get_cascade_max_out_epochs’ was not declared in this scope; did you mean ‘get_cascade_max_out_epochs’?
 3395 |                 max_out_epochs = fann_get_cascade_max_out_epochs(ann);
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                  get_cascade_max_out_epochs
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_cascade_max_out_epochs(unsigned int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:3413:17: error: ‘fann_set_cascade_max_out_epochs’ was not declared in this scope; did you mean ‘set_cascade_max_out_epochs’?
 3413 |                 fann_set_cascade_max_out_epochs(ann, cascade_max_out_epochs);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 set_cascade_max_out_epochs
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘unsigned int FANN::neural_net::get_cascade_max_cand_epochs()’:
/usr/include/pktools/algorithms/myfann_cpp.h:3434:35: error: ‘fann_get_cascade_max_cand_epochs’ was not declared in this scope; did you mean ‘get_cascade_max_cand_epochs’?
 3434 |                 max_cand_epochs = fann_get_cascade_max_cand_epochs(ann);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                   get_cascade_max_cand_epochs
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_cascade_max_cand_epochs(unsigned int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:3452:17: error: ‘fann_set_cascade_max_cand_epochs’ was not declared in this scope; did you mean ‘set_cascade_max_cand_epochs’?
 3452 |                 fann_set_cascade_max_cand_epochs(ann, cascade_max_cand_epochs);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 set_cascade_max_cand_epochs
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘unsigned int FANN::neural_net::get_cascade_num_candidates()’:
/usr/include/pktools/algorithms/myfann_cpp.h:3484:34: error: ‘fann_get_cascade_num_candidates’ was not declared in this scope; did you mean ‘get_cascade_num_candidates’?
 3484 |                 num_candidates = fann_get_cascade_num_candidates(ann);
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                  get_cascade_num_candidates
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘unsigned int FANN::neural_net::get_cascade_activation_functions_count()’:
/usr/include/pktools/algorithms/myfann_cpp.h:3506:46: error: ‘fann_get_cascade_activation_functions_count’ was not declared in this scope; did you mean ‘get_cascade_activation_functions_count’?
 3506 |                 activation_functions_count = fann_get_cascade_activation_functions_count(ann);
      |                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                              get_cascade_activation_functions_count
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘FANN::activation_function_enum* FANN::neural_net::get_cascade_activation_functions()’:
/usr/include/pktools/algorithms/myfann_cpp.h:3527:18: error: use of enum ‘fann_activationfunc_enum’ without previous declaration
 3527 |             enum fann_activationfunc_enum *activation_functions = NULL;
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:3530:40: error: ‘fann_get_cascade_activation_functions’ was not declared in this scope; did you mean ‘get_cascade_activation_functions’?
 3530 |                 activation_functions = fann_get_cascade_activation_functions(ann);
      |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                        get_cascade_activation_functions
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_cascade_activation_functions(FANN::activation_function_enum*, unsigned int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:3555:43: error: use of enum ‘fann_activationfunc_enum’ without previous declaration
 3555 |                     reinterpret_cast<enum fann_activationfunc_enum *>(cascade_activation_functions),
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:3555:68: error: expected ‘>’ before ‘*’ token
 3555 |                     reinterpret_cast<enum fann_activationfunc_enum *>(cascade_activation_functions),
      |                                                                    ^
/usr/include/pktools/algorithms/myfann_cpp.h:3555:68: error: expected ‘(’ before ‘*’ token
/usr/include/pktools/algorithms/myfann_cpp.h:3555:69: error: expected primary-expression before ‘>’ token
 3555 |                     reinterpret_cast<enum fann_activationfunc_enum *>(cascade_activation_functions),
      |                                                                     ^
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘unsigned int FANN::neural_net::get_cascade_activation_steepnesses_count()’:
/usr/include/pktools/algorithms/myfann_cpp.h:3577:46: error: ‘fann_get_cascade_activation_steepnesses_count’ was not declared in this scope; did you mean ‘get_cascade_activation_steepnesses_count’?
 3577 |                 activation_steepness_count = fann_get_cascade_activation_steepnesses_count(ann);
      |                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                              get_cascade_activation_steepnesses_count
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_cascade_activation_steepnesses(int*, unsigned int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:3627:17: error: ‘fann_set_cascade_activation_steepnesses’ was not declared in this scope; did you mean ‘set_cascade_activation_steepnesses’?
 3627 |                 fann_set_cascade_activation_steepnesses(ann,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 set_cascade_activation_steepnesses
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘unsigned int FANN::neural_net::get_cascade_num_candidate_groups()’:
/usr/include/pktools/algorithms/myfann_cpp.h:3654:40: error: ‘fann_get_cascade_num_candidate_groups’ was not declared in this scope; did you mean ‘get_cascade_num_candidate_groups’?
 3654 |                 num_candidate_groups = fann_get_cascade_num_candidate_groups(ann);
      |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                        get_cascade_num_candidate_groups
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_cascade_num_candidate_groups(unsigned int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:3672:17: error: ‘fann_set_cascade_num_candidate_groups’ was not declared in this scope; did you mean ‘set_cascade_num_candidate_groups’?
 3672 |                 fann_set_cascade_num_candidate_groups(ann, cascade_num_candidate_groups);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 set_cascade_num_candidate_groups
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::scale_train(FANN::training_data&)’:
/usr/include/pktools/algorithms/myfann_cpp.h:3692:17: error: ‘fann_scale_train’ was not declared in this scope; did you mean ‘scale_train’?
 3692 |                 fann_scale_train(ann, data.train_data);
      |                 ^~~~~~~~~~~~~~~~
      |                 scale_train
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::descale_train(FANN::training_data&)’:
/usr/include/pktools/algorithms/myfann_cpp.h:3709:17: error: ‘fann_descale_train’ was not declared in this scope; did you mean ‘descale_train’?
 3709 |                 fann_descale_train(ann, data.train_data);
      |                 ^~~~~~~~~~~~~~~~~~
      |                 descale_train
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘bool FANN::neural_net::set_input_scaling_params(const FANN::training_data&, float, float)’:
/usr/include/pktools/algorithms/myfann_cpp.h:3727:27: error: ‘fann_set_input_scaling_params’ was not declared in this scope; did you mean ‘set_input_scaling_params’?
 3727 |                 status = (fann_set_input_scaling_params(ann, data.train_data, new_input_min, new_input_max) != -1);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                           set_input_scaling_params
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘bool FANN::neural_net::set_output_scaling_params(const FANN::training_data&, float, float)’:
/usr/include/pktools/algorithms/myfann_cpp.h:3746:27: error: ‘fann_set_output_scaling_params’ was not declared in this scope; did you mean ‘set_output_scaling_params’?
 3746 |                 status = (fann_set_output_scaling_params(ann, data.train_data, new_output_min, new_output_max) != -1);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                           set_output_scaling_params
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘bool FANN::neural_net::set_scaling_params(const FANN::training_data&, float, float, float, float)’:
/usr/include/pktools/algorithms/myfann_cpp.h:3766:27: error: ‘fann_set_scaling_params’ was not declared in this scope; did you mean ‘set_scaling_params’?
 3766 |                 status = (fann_set_scaling_params(ann, data.train_data,
      |                           ^~~~~~~~~~~~~~~~~~~~~~~
      |                           set_scaling_params
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘bool FANN::neural_net::clear_scaling_params()’:
/usr/include/pktools/algorithms/myfann_cpp.h:3786:27: error: ‘fann_clear_scaling_params’ was not declared in this scope; did you mean ‘clear_scaling_params’?
 3786 |                 status = (fann_clear_scaling_params(ann) != -1);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                           clear_scaling_params
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::scale_input(int*)’:
/usr/include/pktools/algorithms/myfann_cpp.h:3804:17: error: ‘fann_scale_input’ was not declared in this scope; did you mean ‘scale_input’?
 3804 |                 fann_scale_input(ann, input_vector );
      |                 ^~~~~~~~~~~~~~~~
      |                 scale_input
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::scale_output(int*)’:
/usr/include/pktools/algorithms/myfann_cpp.h:3821:17: error: ‘fann_scale_output’ was not declared in this scope; did you mean ‘scale_output’?
 3821 |                 fann_scale_output(ann, output_vector );
      |                 ^~~~~~~~~~~~~~~~~
      |                 scale_output
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::descale_input(int*)’:
/usr/include/pktools/algorithms/myfann_cpp.h:3838:17: error: ‘fann_descale_input’ was not declared in this scope; did you mean ‘descale_input’?
 3838 |                 fann_descale_input(ann, input_vector );
      |                 ^~~~~~~~~~~~~~~~~~
      |                 descale_input
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::descale_output(int*)’:
/usr/include/pktools/algorithms/myfann_cpp.h:3855:17: error: ‘fann_descale_output’ was not declared in this scope; did you mean ‘descale_output’?
 3855 |                 fann_descale_output(ann, output_vector );
      |                 ^~~~~~~~~~~~~~~~~~~
      |                 descale_output
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::set_error_log(FILE*)’:
/usr/include/pktools/algorithms/myfann_cpp.h:3883:13: error: ‘fann_set_error_log’ was not declared in this scope; did you mean ‘set_error_log’?
 3883 |             fann_set_error_log(reinterpret_cast<struct fann_error *>(ann), log_file);
      |             ^~~~~~~~~~~~~~~~~~
      |             set_error_log
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘unsigned int FANN::neural_net::get_errno()’:
/usr/include/pktools/algorithms/myfann_cpp.h:3897:20: error: ‘fann_get_errno’ was not declared in this scope; did you mean ‘get_errno’?
 3897 |             return fann_get_errno(reinterpret_cast<struct fann_error *>(ann));
      |                    ^~~~~~~~~~~~~~
      |                    get_errno
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::reset_errno()’:
/usr/include/pktools/algorithms/myfann_cpp.h:3908:13: error: ‘fann_reset_errno’ was not declared in this scope; did you mean ‘reset_errno’?
 3908 |             fann_reset_errno(reinterpret_cast<struct fann_error *>(ann));
      |             ^~~~~~~~~~~~~~~~
      |             reset_errno
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::reset_errstr()’:
/usr/include/pktools/algorithms/myfann_cpp.h:3919:13: error: ‘fann_reset_errstr’ was not declared in this scope; did you mean ‘reset_errstr’?
 3919 |             fann_reset_errstr(reinterpret_cast<struct fann_error *>(ann));
      |             ^~~~~~~~~~~~~~~~~
      |             reset_errstr
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘std::string FANN::neural_net::get_errstr()’:
/usr/include/pktools/algorithms/myfann_cpp.h:3932:32: error: ‘fann_get_errstr’ was not declared in this scope; did you mean ‘get_errstr’?
 3932 |             return std::string(fann_get_errstr(reinterpret_cast<struct fann_error *>(ann)));
      |                                ^~~~~~~~~~~~~~~
      |                                get_errstr
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘void FANN::neural_net::print_error()’:
/usr/include/pktools/algorithms/myfann_cpp.h:3943:13: error: ‘fann_print_error’ was not declared in this scope; did you mean ‘print_error’?
 3943 |             fann_print_error(reinterpret_cast<struct fann_error *>(ann));
      |             ^~~~~~~~~~~~~~~~
      |             print_error
/usr/include/pktools/algorithms/myfann_cpp.h: In member function ‘int FANN::neural_net::internal_callback(FANN::fann*, FANN::fann_train_data*, unsigned int, unsigned int, float, unsigned int)’:
/usr/include/pktools/algorithms/myfann_cpp.h:3961:67: error: ‘fann_get_user_data’ was not declared in this scope
 3961 |             user_context *user_data = static_cast<user_context *>(fann_get_user_data(ann));
      |                                                                   ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/12/vector:64,
                 from /usr/include/pktools/algorithms/ConfusionMatrix.h:24:
/usr/include/c++/12/bits/stl_vector.h: In instantiation of ‘void std::vector<_Tp, _Alloc>::resize(size_type) [with _Tp = FANN::fann_connection; _Alloc = std::allocator<FANN::fann_connection>; size_type = unsigned int]’:
/usr/include/pktools/algorithms/myfann_cpp.h:2831:31:   required from here
/usr/include/c++/12/bits/stl_vector.h:1013:50: error: invalid use of incomplete type ‘struct FANN::fann_connection’
 1013 |           _M_erase_at_end(this->_M_impl._M_start + __new_size);
      |                           ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:315:20: note: forward declaration of ‘struct FANN::fann_connection’
  315 |     typedef struct fann_connection connection;
      |                    ^~~~~~~~~~~~~~~
/usr/include/c++/12/bits/stl_vector.h: In instantiation of ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = FANN::fann_connection; _Alloc = std::allocator<FANN::fann_connection>; reference = FANN::fann_connection&; size_type = unsigned int]’:
/usr/include/pktools/algorithms/myfann_cpp.h:2835:31:   required from here
/usr/include/c++/12/bits/stl_vector.h:1124:41: error: invalid use of incomplete type ‘struct FANN::fann_connection’
 1124 |         return *(this->_M_impl._M_start + __n);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:315:20: note: forward declaration of ‘struct FANN::fann_connection’
  315 |     typedef struct fann_connection connection;
      |                    ^~~~~~~~~~~~~~~
/usr/include/c++/12/bits/stl_vector.h: In instantiation of ‘std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = FANN::fann_connection; _Alloc = std::allocator<FANN::fann_connection>; size_type = unsigned int]’:
/usr/include/pktools/algorithms/myfann_cpp.h:2865:58:   required from here
/usr/include/c++/12/bits/stl_vector.h:988:50: error: invalid use of incomplete type ‘struct FANN::fann_connection’
  988 |       { return size_type(this->_M_impl._M_finish - this->_M_impl._M_start); }
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:315:20: note: forward declaration of ‘struct FANN::fann_connection’
  315 |     typedef struct fann_connection connection;
      |                    ^~~~~~~~~~~~~~~
/usr/include/c++/12/bits/stl_vector.h: In instantiation of ‘void std::vector<_Tp, _Alloc>::_M_erase_at_end(pointer) [with _Tp = FANN::fann_connection; _Alloc = std::allocator<FANN::fann_connection>; pointer = FANN::fann_connection*]’:
/usr/include/c++/12/bits/stl_vector.h:1601:9:   required from ‘void std::vector<_Tp, _Alloc>::clear() [with _Tp = FANN::fann_connection; _Alloc = std::allocator<FANN::fann_connection>]’
/usr/include/pktools/algorithms/myfann_cpp.h:2828:26:   required from here
/usr/include/c++/12/bits/stl_vector.h:1930:53: error: invalid use of incomplete type ‘struct FANN::fann_connection’
 1930 |         if (size_type __n = this->_M_impl._M_finish - __pos)
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:315:20: note: forward declaration of ‘struct FANN::fann_connection’
  315 |     typedef struct fann_connection connection;
      |                    ^~~~~~~~~~~~~~~
In file included from /usr/include/c++/12/vector:70:
/usr/include/c++/12/bits/vector.tcc: In instantiation of ‘void std::vector<_Tp, _Alloc>::_M_default_append(size_type) [with _Tp = FANN::fann_connection; _Alloc = std::allocator<FANN::fann_connection>; size_type = unsigned int]’:
/usr/include/c++/12/bits/stl_vector.h:1011:4:   required from ‘void std::vector<_Tp, _Alloc>::resize(size_type) [with _Tp = FANN::fann_connection; _Alloc = std::allocator<FANN::fann_connection>; size_type = unsigned int]’
/usr/include/pktools/algorithms/myfann_cpp.h:2831:31:   required from here
/usr/include/c++/12/bits/vector.tcc:633:42: error: invalid use of incomplete type ‘struct FANN::fann_connection’
  632 |           size_type __navail = size_type(this->_M_impl._M_end_of_storage
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  633 |                                          - this->_M_impl._M_finish);
      |                                          ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:315:20: note: forward declaration of ‘struct FANN::fann_connection’
  315 |     typedef struct fann_connection connection;
      |                    ^~~~~~~~~~~~~~~
In file included from /usr/include/c++/12/bits/move.h:57,
                 from /usr/include/c++/12/bits/exception_ptr.h:43,
                 from /usr/include/c++/12/exception:168,
                 from /usr/include/c++/12/ios:39,
                 from /usr/include/c++/12/istream:38,
                 from /usr/include/c++/12/sstream:38,
                 from /usr/include/pktools/algorithms/ConfusionMatrix.h:23:
/usr/include/c++/12/type_traits: In instantiation of ‘struct std::is_move_constructible<FANN::fann_connection>’:
/usr/include/c++/12/bits/alloc_traits.h:792:12:   required from ‘struct std::__is_move_insertable<std::allocator<FANN::fann_connection> >’
/usr/include/c++/12/bits/stl_vector.h:483:28:   required from ‘static constexpr bool std::vector<_Tp, _Alloc>::_S_use_relocate() [with _Tp = FANN::fann_connection; _Alloc = std::allocator<FANN::fann_connection>]’
/usr/include/c++/12/bits/vector.tcc:651:48:   required from ‘void std::vector<_Tp, _Alloc>::_M_default_append(size_type) [with _Tp = FANN::fann_connection; _Alloc = std::allocator<FANN::fann_connection>; size_type = unsigned int]’
/usr/include/c++/12/bits/stl_vector.h:1011:4:   required from ‘void std::vector<_Tp, _Alloc>::resize(size_type) [with _Tp = FANN::fann_connection; _Alloc = std::allocator<FANN::fann_connection>; size_type = unsigned int]’
/usr/include/pktools/algorithms/myfann_cpp.h:2831:31:   required from here
/usr/include/c++/12/type_traits:1035:52: error: static assertion failed: template argument must be a complete class or an unbounded array
 1035 |       static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/12/type_traits:1035:52: note: ‘std::__is_complete_or_unbounded<__type_identity<FANN::fann_connection> >((std::__type_identity<FANN::fann_connection>(), std::__type_identity<FANN::fann_connection>()))’ evaluates to false
/usr/include/c++/12/bits/vector.tcc: In instantiation of ‘void std::vector<_Tp, _Alloc>::_M_default_append(size_type) [with _Tp = FANN::fann_connection; _Alloc = std::allocator<FANN::fann_connection>; size_type = unsigned int]’:
/usr/include/c++/12/bits/stl_vector.h:1011:4:   required from ‘void std::vector<_Tp, _Alloc>::resize(size_type) [with _Tp = FANN::fann_connection; _Alloc = std::allocator<FANN::fann_connection>; size_type = unsigned int]’
/usr/include/pktools/algorithms/myfann_cpp.h:2831:31:   required from here
/usr/include/c++/12/bits/vector.tcc:671:68: error: invalid use of incomplete type ‘struct FANN::fann_connection’
  671 |                       std::__uninitialized_default_n_a(__new_start + __size,
      |                                                        ~~~~~~~~~~~~^~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:315:20: note: forward declaration of ‘struct FANN::fann_connection’
  315 |     typedef struct fann_connection connection;
      |                    ^~~~~~~~~~~~~~~
/usr/include/c++/12/bits/vector.tcc:673:52: error: invalid use of incomplete type ‘struct FANN::fann_connection’
  673 |                       __destroy_from = __new_start + __size;
      |                                        ~~~~~~~~~~~~^~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:315:20: note: forward declaration of ‘struct FANN::fann_connection’
  315 |     typedef struct fann_connection connection;
      |                    ^~~~~~~~~~~~~~~
/usr/include/c++/12/bits/vector.tcc:681:70: error: invalid use of incomplete type ‘struct FANN::fann_connection’
  681 |                         std::_Destroy(__destroy_from, __destroy_from + __n,
      |                                                       ~~~~~~~~~~~~~~~^~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:315:20: note: forward declaration of ‘struct FANN::fann_connection’
  315 |     typedef struct fann_connection connection;
      |                    ^~~~~~~~~~~~~~~
/usr/include/c++/12/bits/vector.tcc:692:29: error: invalid use of incomplete type ‘struct FANN::fann_connection’
  691 |                             this->_M_impl._M_end_of_storage
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  692 |                             - this->_M_impl._M_start);
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:315:20: note: forward declaration of ‘struct FANN::fann_connection’
  315 |     typedef struct fann_connection connection;
      |                    ^~~~~~~~~~~~~~~
/usr/include/c++/12/bits/vector.tcc:694:53: error: invalid use of incomplete type ‘struct FANN::fann_connection’
  694 |               this->_M_impl._M_finish = __new_start + __size + __n;
      |                                         ~~~~~~~~~~~~^~~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:315:20: note: forward declaration of ‘struct FANN::fann_connection’
  315 |     typedef struct fann_connection connection;
      |                    ^~~~~~~~~~~~~~~
/usr/include/c++/12/bits/vector.tcc:694:62: error: invalid use of incomplete type ‘struct FANN::fann_connection’
  694 |               this->_M_impl._M_finish = __new_start + __size + __n;
      |                                         ~~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:315:20: note: forward declaration of ‘struct FANN::fann_connection’
  315 |     typedef struct fann_connection connection;
      |                    ^~~~~~~~~~~~~~~
/usr/include/c++/12/bits/vector.tcc:695:61: error: invalid use of incomplete type ‘struct FANN::fann_connection’
  695 |               this->_M_impl._M_end_of_storage = __new_start + __len;
      |                                                 ~~~~~~~~~~~~^~~~~~~
/usr/include/pktools/algorithms/myfann_cpp.h:315:20: note: forward declaration of ‘struct FANN::fann_connection’
  315 |     typedef struct fann_connection connection;
      |                    ^~~~~~~~~~~~~~~

