Menu

FastIca errors

RachitS
2012-12-04
2012-12-18
  • RachitS

    RachitS - 2012-12-04

    Hi,

    I am getting the following errors when I try to build the FastICA solution. Appreciate any help
    :

    Warning 1 warning C4005: 'FASTICA_TEST_FILE' : macro redefinition d:\itpp-4.2\tests\fastica_test.cpp 81 1 ICA_Rachit

    Warning 2 warning C4129: 'D' : unrecognized character escape sequence d:\itpp-4.2\tests\fastica_test.cpp 93 1 ICA_Rachit

    Warning 3 warning C4129: 'V' : unrecognized character escape sequence d:\itpp-4.2\tests\fastica_test.cpp 93 1 ICA_Rachit

    Warning 4 warning C4129: 'P' : unrecognized character escape sequence d:\itpp-4.2\tests\fastica_test.cpp 93 1 ICA_Rachit

    Warning 5 warning C4129: 'I' : unrecognized character escape sequence d:\itpp-4.2\tests\fastica_test.cpp 93 1 ICA_Rachit

    Warning 6 warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. d:\itpp-4.2\tests\fastica_test.cpp 93 1 ICA_Rachit

    Warning 7 warning C4996: 'fscanf': This function or variable may be unsafe. Consider using fscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. d:\itpp-4.2\tests\fastica_test.cpp 103 1 ICA_Rachit

    Warning 8 warning C4996: 'fscanf': This function or variable may be unsafe. Consider using fscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. d:\itpp-4.2\tests\fastica_test.cpp 104 1 ICA_Rachit

    Warning 9 warning C4996: 'fscanf': This function or variable may be unsafe. Consider using fscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. d:\itpp-4.2\tests\fastica_test.cpp 110 1 ICA_Rachit

    Error 10 error LNK2019: unresolved external symbol "class itpp::Mat<double> cdecl itpp::operator*<double>(class itpp::Mat<double> const &,class itpp::Mat<double> const &)" (??$?DN@itpp@@YA?AV?$Mat@N@0@ABV10@0@Z) referenced in function "public: void thiscall itpp::Fast_ICA::separate(void)" (?separate@Fast_ICA@itpp@@QAEXXZ) c:\Users\rachit\documents\visual studio 2010\Projects\ICA_Rachit\ICA_Rachit\fastica.obj ICA_Rachit

    Error 11 error LNK2019: unresolved external symbol "class itpp::Vec<double> cdecl itpp::zeros(int)" (?zeros@itpp@@YA?AV?$Vec@N@1@H@Z) referenced in function "public: void thiscall itpp::Fast_ICA::separate(void)" (?separate@Fast_ICA@itpp@@QAEXXZ) c:\Users\rachit\documents\visual studio 2010\Projects\ICA_Rachit\ICA_Rachit\fastica.obj ICA_Rachit

    Error 12 error LNK2019: unresolved external symbol "class itpp::Mat<double> cdecl itpp::zeros(int,int)" (?zeros@itpp@@YA?AV?$Mat@N@1@HH@Z) referenced in function "public: void thiscall itpp::Fast_ICA::separate(void)" (?separate@Fast_ICA@itpp@@QAEXXZ) c:\Users\rachit\documents\visual studio 2010\Projects\ICA_Rachit\ICA_Rachit\fastica.obj ICA_Rachit

    Error 13 error LNK2001: unresolved external symbol "class itpp::Mat<double> __cdecl itpp::zeros(int,int)" (?zeros@itpp@@YA?AV?$Mat@N@1@HH@Z) c:\Users\rachit\documents\visual studio 2010\Projects\ICA_Rachit\ICA_Rachit\fastica_test.obj ICA_Rachit

    Error 14 error LNK2019: unresolved external symbol "void cdecl itpp::it_warning_f(class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> >,int)" (?it_warning_f@itpp@@YAXV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0H@Z) referenced in function "public: class itpp::Mat<double> thiscall itpp::Fast_ICA::get_mixing_matrix(void)" (?get_mixing_matrix@Fast_ICA@itpp@@QAE?AV?$Mat@N@2@XZ) c:\Users\rachit\documents\visual studio 2010\Projects\ICA_Rachit\ICA_Rachit\fastica.obj ICA_Rachit

    Error 15 error LNK2019: unresolved external symbol "bool cdecl itpp::eig_sym(class itpp::Mat<double> const &,class itpp::Vec<double> &,class itpp::Mat<double> &)" (?eig_sym@itpp@@YA_NABV?$Mat@N@1@AAV?$Vec@N@1@AAV21@@Z) referenced in function "void cdecl pcamat(class itpp::Mat<double>,int,int,int,class itpp::Mat<double> &,class itpp::Vec<double> &)" (?pcamat@@YAXV?$Mat@N@itpp@@HHHAAV12@AAV?$Vec@N@2@@Z) c:\Users\rachit\documents\visual studio 2010\Projects\ICA_Rachit\ICA_Rachit\fastica.obj ICA_Rachit

    Error 16 error LNK2019: unresolved external symbol "class itpp::Mat<double> cdecl itpp::cov(class itpp::Mat<double> const &,bool)" (?cov@itpp@@YA?AV?$Mat@N@1@ABV21@_N@Z) referenced in function "void cdecl pcamat(class itpp::Mat<double>,int,int,int,class itpp::Mat<double> &,class itpp::Vec<double> &)" (?pcamat@@YAXV?$Mat@N@itpp@@HHHAAV12@AAV?$Vec@N@2@@Z) c:\Users\rachit\documents\visual studio 2010\Projects\ICA_Rachit\ICA_Rachit\fastica.obj ICA_Rachit

    Error 17 error LNK2019: unresolved external symbol "double cdecl itpp::mean(class itpp::Vec<double> const &)" (?mean@itpp@@YANABV?$Vec@N@1@@Z) referenced in function "void cdecl remmean(class itpp::Mat<double>,class itpp::Mat<double> &,class itpp::Vec<double> &)" (?remmean@@YAXV?$Mat@N@itpp@@AAV12@AAV?$Vec@N@2@@Z) c:\Users\rachit\documents\visual studio 2010\Projects\ICA_Rachit\ICA_Rachit\fastica.obj ICA_Rachit

    Error 18 error LNK2019: unresolved external symbol "double cdecl itpp::dot<double>(class itpp::Vec<double> const &,class itpp::Vec<double> const &)" (??$dot@N@itpp@@YANABV?$Vec@N@0@0@Z) referenced in function "void cdecl fpica(class itpp::Mat<double>,class itpp::Mat<double>,class itpp::Mat<double>,int,int,int,int,double,double,double,int,double,int,int,int,class itpp::Mat<double>,double,class itpp::Mat<double> &,class itpp::Mat<double> &)" (?fpica@@YAXV?$Mat@N@itpp@@00HHHHNNNHNHHHV12@NAAV12@2@Z) c:\Users\rachit\documents\visual studio 2010\Projects\ICA_Rachit\ICA_Rachit\fastica.obj ICA_Rachit

    Error 19 error LNK2019: unresolved external symbol "class itpp::Vec<double> cdecl itpp::operator*<double>(class itpp::Mat<double> const &,class itpp::Vec<double> const &)" (??$?DN@itpp@@YA?AV?$Vec@N@0@ABV?$Mat@N@0@ABV10@@Z) referenced in function "void cdecl fpica(class itpp::Mat<double>,class itpp::Mat<double>,class itpp::Mat<double>,int,int,int,int,double,double,double,int,double,int,int,int,class itpp::Mat<double>,double,class itpp::Mat<double> &,class itpp::Mat<double> &)" (?fpica@@YAXV?$Mat@N@itpp@@00HHHHNNNHNHHHV12@NAAV12@2@Z) c:\Users\rachit\documents\visual studio 2010\Projects\ICA_Rachit\ICA_Rachit\fastica.obj ICA_Rachit

    Error 20 error LNK2019: unresolved external symbol "public: thiscall itpp::Uniform_RNG::Uniform_RNG(double,double)" (??0Uniform_RNG@itpp@@QAE@NN@Z) referenced in function "void cdecl itpp::randu(int,class itpp::Vec<double> &)" (?randu@itpp@@YAXHAAV?$Vec@N@1@@Z) c:\Users\rachit\documents\visual studio 2010\Projects\ICA_Rachit\ICA_Rachit\fastica.obj ICA_Rachit

    Error 21 error LNK2019: unresolved external symbol "bool cdecl itpp::svd(class itpp::Mat<double> const &,class itpp::Mat<double> &,class itpp::Vec<double> &,class itpp::Mat<double> &)" (?svd@itpp@@YA_NABV?$Mat@N@1@AAV21@AAV?$Vec@N@1@1@Z) referenced in function "class itpp::Mat<double> cdecl orth(class itpp::Mat<double>)" (?orth@@YA?AV?$Mat@N@itpp@@V12@@Z) c:\Users\rachit\documents\visual studio 2010\Projects\ICA_Rachit\ICA_Rachit\fastica.obj ICA_Rachit

    Error 22 error LNK2001: unresolved external symbol "private: static int itpp::DSFMT<19937,117,19,4498102069230399,4501400546508797,1047295,4294966079,1048063,4237361149,-8070088360419441879,4291106551315987578,4432916062321256576,1>::idx" (?idx@?$DSFMT@$0ENOB@$0HF@$0BD@$0PPKPPPPPPPLDP@$0PPNPPPMJAPPPN@$0PPKPP@$0PPPPPLDP@$0PPNPP@$0PMJAPPPN@$0?GPPOLGJLEMNALMNH@$0DLINBCKMFEIKHMHK@$0DNIEOBKMANMICIIA@$00@itpp@@0HA) c:\Users\rachit\documents\visual studio 2010\Projects\ICA_Rachit\ICA_Rachit\fastica.obj ICA_Rachit

    Error 23 error LNK2001: unresolved external symbol "private: static union itpp::DSFMT<19937,117,19,4498102069230399,4501400546508797,1047295,4294966079,1048063,4237361149,-8070088360419441879,4291106551315987578,4432916062321256576,1>::W128_T * itpp::DSFMT<19937,117,19,4498102069230399,4501400546508797,1047295,4294966079,1048063,4237361149,-8070088360419441879,4291106551315987578,4432916062321256576,1>::status" (?status@?$DSFMT@$0ENOB@$0HF@$0BD@$0PPKPPPPPPPLDP@$0PPNPPPMJAPPPN@$0PPKPP@$0PPPPPLDP@$0PPNPP@$0PMJAPPPN@$0?GPPOLGJLEMNALMNH@$0DLINBCKMFEIKHMHK@$0DNIEOBKMANMICIIA@$00@itpp@@0PATW128_T@12@A) c:\Users\rachit\documents\visual studio 2010\Projects\ICA_Rachit\ICA_Rachit\fastica.obj ICA_Rachit

    Error 24 error LNK2019: unresolved external symbol "void cdecl itpp::copy_vector(int,double const ,double )" (?copy_vector@itpp@@YAXHPBNPAN@Z) referenced in function "public: thiscall itpp::Vec<double>::Vec<double>(class itpp::Vec<double> const &)" (??0?$Vec@N@itpp@@QAE@ABV01@@Z) c:\Users\rachit\documents\visual studio 2010\Projects\ICA_Rachit\ICA_Rachit\fastica.obj ICA_Rachit

    Error 25 error LNK2001: unresolved external symbol "void __cdecl itpp::copy_vector(int,double const ,double )" (?copy_vector@itpp@@YAXHPBNPAN@Z) c:\Users\rachit\documents\visual studio 2010\Projects\ICA_Rachit\ICA_Rachit\fastica_test.obj ICA_Rachit

    Error 26 error LNK2019: unresolved external symbol "void cdecl itpp::it_assert_f(class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> >,int)" (?it_assert_f@itpp@@YAXV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@00H@Z) referenced in function "public: void thiscall itpp::Vec<double>::set_size(int,bool)" (?set_size@?$Vec@N@itpp@@QAEXH_N@Z) c:\Users\rachit\documents\visual studio 2010\Projects\ICA_Rachit\ICA_Rachit\fastica.obj ICA_Rachit

    Error 27 error LNK2001: unresolved external symbol "void __cdecl itpp::it_assert_f(class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> >,int)" (?it_assert_f@itpp@@YAXV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@00H@Z) c:\Users\rachit\documents\visual studio 2010\Projects\ICA_Rachit\ICA_Rachit\fastica_test.obj ICA_Rachit

    Error 28 error LNK2019: unresolved external symbol "void cdecl itpp::copy_vector(int,double const ,int,double ,int)" (?copy_vector@itpp@@YAXHPBNHPANH@Z) referenced in function "public: class itpp::Vec<double> thiscall itpp::Mat<double>::get_row(int)const " (?get_row@?$Mat@N@itpp@@QBE?AV?$Vec@N@2@H@Z) c:\Users\rachit\documents\visual studio 2010\Projects\ICA_Rachit\ICA_Rachit\fastica.obj ICA_Rachit

    Error 29 error LNK2001: unresolved external symbol "void __cdecl itpp::copy_vector(int,double const ,int,double ,int)" (?copy_vector@itpp@@YAXHPBNHPANH@Z) c:\Users\rachit\documents\visual studio 2010\Projects\ICA_Rachit\ICA_Rachit\fastica_test.obj ICA_Rachit

    Error 30 error LNK2019: unresolved external symbol "void cdecl itpp::it_error_f(class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> >,int)" (?it_error_f@itpp@@YAXV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0H@Z) referenced in function "public: void thiscall itpp::Sort<double>::sort(int,int,class itpp::Vec<double> &)" (?sort@?$Sort@N@itpp@@QAEXHHAAV?$Vec@N@2@@Z) c:\Users\rachit\documents\visual studio 2010\Projects\ICA_Rachit\ICA_Rachit\fastica.obj ICA_Rachit

    Error 31 error LNK1120: 17 unresolved externals c:\users\rachit\documents\visual studio 2010\Projects\ICA_Rachit\Debug\ICA_Rachit.exe ICA_Rachit

    32  IntelliSense: incorrectly formed universal character name   d:\itpp-4.2\tests\fastica_test.cpp  93  16  ICA_Rachit
    
    33  IntelliSense: no instance of overloaded function "itpp::pow" matches the argument list  d:\itpp-4.2\itpp\base\math\log_exp.h    54  39
    
    34  IntelliSense: no instance of overloaded function "itpp::pow" matches the argument list  d:\itpp-4.2\itpp\base\math\log_exp.h    57  40
    
    35  IntelliSense: no instance of overloaded function "itpp::log10" matches the argument list    d:\itpp-4.2\itpp\base\math\log_exp.h    60  44
    
    36  IntelliSense: no instance of overloaded function "itpp::pow" matches the argument list  d:\itpp-4.2\itpp\base\math\log_exp.h    62  41
    
    37  IntelliSense: no instance of overloaded function "itpp::sin" matches the argument list  d:\itpp-4.2\itpp\base\math\trig_hyp.h   49  12
    

    Regards,
    Rachit

     
  • Bogdan Cristea

    Bogdan Cristea - 2012-12-05

    Hi
    I am not sure what are you trying to achieve. Fastica unit test project was indeed broken. Please update your sources from trunk and use cmake build system.
    regards
    Bogdan

     
    • RachitS

      RachitS - 2012-12-13

      Hi Bogdan,

      Thanks for the reply... I need to run the fastica demo..I am also very new to c++ and Visual studio.Will appreciate if you can help me run the ica code..

      I have installed and compiled it++.
      However I am having trouble using BLAS and LAPACK libraries. I am using Visual Studio 2010 and not sure where and which library/dll files to download
      As I understand I will be able to run fastica once i have these external dependencies added in the system.

      Regards,
      Rachit

       
  • Bogdan Cristea

    Bogdan Cristea - 2012-12-13

    Hi

    Currently only ACML is recognized by cmake build system. If you want to use MKL you need to use the old MSVC project files. With cmake you can also generate the HTML help file (if doxygen is installed in the default path). Once you compile the HTML help, open the installation page and follow the instructions.

    regards
    Bogdan

     
    • RachitS

      RachitS - 2012-12-13

      Hi Bogdan,

      I have a silly question will ACML libraries work on systems with Intel processors.... At this point I am more concerned about getting a working solution rather than quicker processor optimized processing !

      Regards,
      Rachit

       
  • Bogdan Cristea

    Bogdan Cristea - 2012-12-13

    Yes, tested on my own Intel i7 system. I have not tested how well they perform wrt MKL, but it might be an interesting issue.

     
  • RachitS

    RachitS - 2012-12-13

    Hi Bogdan,

    I have been looking up AMDs website for the ACML - 32 bit Windows and they dont seem to have one... is there a ACML library for 32 bit windows with microsoft C compiler?

    Regards,
    Rachit

     
  • Bogdan Cristea

    Bogdan Cristea - 2012-12-13

    You need to ask this on an ACML forum. Another option is to follow these instructions: http://herve.boeglen.free.fr/itpp_windows/chap1/chap1.htm

     
  • RachitS

    RachitS - 2012-12-18

    Hi Bogdan,

    Thanks for your response, I downloaded Intel's MKL library (30 day trial version) and after following the instructions given on http://itpp.sourceforge.net/devel/installation.html . i got the following compilation error when compiling the intel_mkl:
    1>d:\itpp-4.2\itpp\signal\transforms.cpp(39): fatal error C1083: Cannot open include file: 'mkl_dfti.h': No such file or directory

    can you please help?

    Regards,
    Rachit

     
  • Bogdan Cristea

    Bogdan Cristea - 2012-12-18

    mkl_dfti.h header file is not on included path.
    You need to find where this header file is installed by MKL, then change it++ project settings in order to search for header files in this path.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.