Hi Conard,
On Mon, Mar 10, 2014 at 10:05 AM, Conrad Bielski <[email protected]>wrote: > Ciao Julien, > I tested Rachad's suggestion first and it seems to fix the expat error. > However, I'm not getting a linking error (which probably has nothing to do > with expat). > > [100%] Building CXX object > Code/Testing/CMakeFiles/otbTestDriver.dir/otbTestDriver.cxx.o > Linking CXX executable ../../bin/otbTestDriver > ld: library not found for -lITKBioCell > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > make[2]: *** [bin/otbTestDriver] Error 1 > make[1]: *** [Code/Testing/CMakeFiles/otbTestDriver.dir/all] Error 2 > > This seem strange as ITKBioCell is disabled in CMakeLists.txt. See here - http://hg.orfeo-toolbox.org/OTB/file/ba3d7d8fb081/Utilities/CMakeLists.txt#l78 IIRC, Visual studio also report an error related to missing ITKBioCell on windows. But I really dont understand why the comment line from CMakeLists.txt is not considered. This happens if i generate VS project via CMake and import in VS2010 IDE and tried "Build solution" As Julien told before, using internal ITK is not the only solution for this. if you have an external libkml it will work. Sorry I didnt mentioned about it before. Anyway the ITKBiocell need to checked as this might be a bug in building. > make: *** [all] Error 2 > > Any ideas? > Conrad :) > > > > > On Monday, March 10, 2014 9:38 AM, Julien Malik <[email protected]> > wrote: > Conrad, your issue is that you're using internal libkml. Try to switch > to external libkml. > > Julien > > > On 03/10/2014 09:28 AM, Conrad Bielski wrote: > > Thanks Rashad, > I'll test with the internal ITK and then read the bug report to see if I > can help there. > Have a great day, > Conrad :) > > > > On Monday, March 10, 2014 9:12 AM, Rashad M > <[email protected]><[email protected]>wrote: > Hi Conard, > > There has been some expat related issues when building OTB with external > ITK and internal libkml. See mantis bug[1]. Could you try using internal > ITK? > > OTB_USE_EXTERNAL_ITK=OFF > > [1] http://bugs.orfeo-toolbox.org/view.php?id=879 > > > On Mon, Mar 10, 2014 at 9:05 AM, Conrad Bielski > <[email protected]>wrote: > > Ciao Rashad, > yes I am. > Conrad :) > > > > On Monday, March 10, 2014 9:02 AM, Rashad M <[email protected]> > wrote: > Hi Conard, > > Are you using External ITK ? > > > On Mon, Mar 10, 2014 at 9:00 AM, Conrad Bielski > <[email protected]>wrote: > > Hi, > I recently upgraded to Mavericks and I've almost compiled OTB except for > the following error related to expat: > [ 83%] Building CXX object > Utilities/otbkml/CMakeFiles/otbkml.dir/src/kml/base/expat_parser.cc.o > /Users/conradbielski/Documents/MyDocuments/WorkAndPlay/DEV/OTB/OTB/Utilities/otbkml/src/kml/base/expat_parser.cc:35:13: > error: > variable has incomplete type 'void' > static void XMLCALL > ^ > /Users/conradbielski/Documents/MyDocuments/WorkAndPlay/DEV/OTB/OTB/Utilities/otbkml/src/kml/base/expat_parser.cc:35:20: > error: > expected ';' after top level declarator > static void XMLCALL > ^ > ; > 2 errors generated. > make[2]: *** > [Utilities/otbkml/CMakeFiles/otbkml.dir/src/kml/base/expat_parser.cc.o] > Error 1 > make[1]: *** [Utilities/otbkml/CMakeFiles/otbkml.dir/all] Error 2 > make: *** [all] Error 2 > > Has anyone else had this issue? And if so, what is the workaround? > > In Cmake, I have OTB_USE_EXTERNAL_EXPAT=ON because it was automatically > found. However, I get the same error when OTB_USE_EXTERNAL_EXPAT=OFF. > Thanks in advance, > Conrad :) > -- > -- > 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. > > > > > -- > 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 a topic in the > Google Groups "otb-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/otb-users/vQCwnfWDCWk/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [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. > > > > > -- > 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 a topic in the > Google Groups "otb-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/otb-users/vQCwnfWDCWk/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [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. > > > -- > -- > 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 a topic in the > Google Groups "otb-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/otb-users/vQCwnfWDCWk/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [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. > -- 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.
