i have shifted to otb 4.2 and now i got the following error: "Error 189 error C1083: Cannot open include file: 'Python.h': No such file or directory "
On Wednesday, September 3, 2014 3:58:15 PM UTC+4, Rashad wrote: > > Hello, > > If it helps, external ITK had no such issues with OTB 4.2 or trunk > > > On Wed, Sep 3, 2014 at 1:52 PM, Aleksey Dmitriev <[email protected] > <javascript:>> wrote: > >> I want to join to this question. I also got such errors in my >> applications, based on OTB. They arise from >> ITKCommon-4.6.lib(itkMetaDataObject.obj), for example linker output in MS >> Visual Studio Pro 2012 (Update 4) is the same as in above mail: >> >> I >> >> >> >> >> >> *TKCommon-4.6.lib(itkMetaDataObject.obj) : error LNK2019: unresolved >> external symbol "public: __cdecl vnl_vector<char>::~vnl_vector<char>(void)" >> (??1?$vnl_vector@D@@QEAA@XZ) referenced in function "public: __cdecl >> itk::Array<char>::~Array<char>(void)" (??1?$Array@D@itk@@QEAA@XZ) >> ITKCommon-4.6.lib(itkMetaDataObject.obj) : error LNK2019: unresolved >> external symbol "public: class vnl_vector<char> & __cdecl >> vnl_vector<char>::operator=(class vnl_vector<char> const &)" >> (??4?$vnl_vector@D@@QEAAAEAV0@AEBV0@@Z) referenced in function "public: >> class itk::Array<char> const & __cdecl itk::Array<char>::operator=(class >> itk::Array<char> const &)" (??4?$Array@D@itk@@QEAAAEBV01@AEBV01@@Z) >> ITKCommon-4.6.lib(itkMetaDataObject.obj) : error LNK2019: unresolved >> external symbol "public: bool __cdecl vnl_vector<char>::set_size(unsigned >> int)" (?set_size@?$vnl_vector@D@@QEAA_NI@Z) referenced in function "public: >> void __cdecl itk::Array<char>::SetSize(unsigned int)" >> (?SetSize@?$Array@D@itk@@QEAAXI@Z) application1.exe : fatal error LNK1120: >> 3 unresolved externals* >> >> I get the source code of OTB from the repository (rev. 16979, 4.2-rc1) >> >> With regards, >> Dmitriev Aleksey >> >> >> 2014-09-03 14:26 GMT+09:00 Omran Al Hammadi <[email protected] >> <javascript:>>: >> >> Dear otb-users >>> >>> I am very new to OTB libraries and i successfully download and compile >>> OTB source code. >>> Then I tried to run the hello world example and I was able to generate >>> the sln file. >>> I opened the sln file to build it, but I couldn't. I got the following >>> errors: >>> >>> *Error 1 error LNK2019: unresolved external symbol "public: __cdecl >>> vnl_vector<char>::~vnl_vector<char>(void)" (??1?$vnl_vector@D@@QEAA@XZ) >>> referenced in function "public: __cdecl >>> itk::Array<char>::~Array<char>(void)" (??1?$Array@D@itk@@QEAA@XZ) * >>> >>> >>> *Error 2 error LNK2019: unresolved external symbol "public: class >>> vnl_vector<char> & __cdecl vnl_vector<char>::operator=(class >>> vnl_vector<char> const &)" (??4?$vnl_vector@D@@QEAAAEAV0@AEBV0@@Z) >>> referenced in function "public: class itk::Array<char> const & __cdecl >>> itk::Array<char>::operator=(class itk::Array<char> const &)" >>> (??4?$Array@D@itk@@QEAAAEBV01@AEBV01@@Z) * >>> >>> *Error 3 error LNK2019: unresolved external symbol "public: bool __cdecl >>> vnl_vector<char>::set_size(unsigned int)" >>> (?set_size@?$vnl_vector@D@@QEAA_NI@Z) referenced in function "public: class >>> itk::Array<char> const & __cdecl itk::Array<char>::operator=(class >>> itk::Array<char> const &)" (??4?$Array@D@itk@@QEAAAEBV01@AEBV01@@Z)* >>> >>> *Error 4 error LNK1120: 3 unresolved externals * >>> >>> >>> your help will be highly appreciated >>> >>> regards >>> Omran >>> >>> -- >>> -- >>> Check the OTB FAQ at >>> http://www.orfeo-toolbox.org/FAQ.html >>> >>> You received this message because you are subscribed to the Google >>> Groups "otb-users" group. >>> To post to this group, send email to [email protected] >>> <javascript:> >>> To unsubscribe from this group, send email to >>> [email protected] <javascript:> >>> For more options, visit this group at >>> http://groups.google.com/group/otb-users?hl=en >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "otb-users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected] <javascript:>. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> -- >> Check the OTB FAQ at >> http://www.orfeo-toolbox.org/FAQ.html >> >> You received this message because you are subscribed to the Google >> Groups "otb-users" group. >> To post to this group, send email to [email protected] >> <javascript:> >> To unsubscribe from this group, send email to >> [email protected] <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/otb-users?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "otb-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Regards, > Rashad > -- -- Check the OTB FAQ at http://www.orfeo-toolbox.org/FAQ.html You received this message because you are subscribed to the Google Groups "otb-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/otb-users?hl=en --- You received this message because you are subscribed to the Google Groups "otb-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
