Hi, Have you follow the indications at http://wiki.orfeo-toolbox.org/index.php/OTB_%26_Windows_OS Mickaël Le 03/09/2014 10:22, Aleksey Dmitriev a écrit : > 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 OTBfrom the repository (rev. 16979, 4.2-rc1) > > With regards, > Dmitriev Aleksey > > > 2014-09-03 14:26 GMT+09:00 Omran Al Hammadi <[email protected] > <mailto:[email protected]>>: > > 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: > > *Error1error 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)* > * > * > * > * > *Error2error 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)* > * > * > *Error3error 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)* > * > * > *Error4error 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] > <mailto:[email protected]> > To unsubscribe from this group, send email to > [email protected] > <mailto:otb-users%[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] > <mailto:[email protected]>. > 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] > 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] > <mailto:[email protected]>. > 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] 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.
