Hi, I'm building OTB newest version on Fedora 20, and I get the following message during configuring phase:
CMake Warning at CMake/ImportLibKML.cmake:22 (message): There is a known issue which does not allow to use internal libKML with external ITK in OTB.You might consider using an external LibKML. See http://bugs.orfeo-toolbox.org/view.php?id=896 for details Call Stack (most recent call first): CMakeLists.txt:220 (include) I have already built external ITK. Now I downloaded LibKML 1.2.0 and I'm configuring it (as far as I understand this message suggests to do so). But I get the following weird message: configure: WARNING: You have SWIG 2.0.11 installed, but libkml requires at least SWIG 1.3.35. The bindings will not be built. (seriously?) If I try to ignore and run make, I get [...] file_posix.cc: In static member function ‘static bool kmlbase::File::Delete(const string&)’: file_posix.cc:56:33: error: ‘unlink’ was not declared in this scope return unlink(filepath.c_str()) == 0; ^ file_posix.cc: In static member function ‘static bool kmlbase::File::CreateNewTempFile(std::string*)’: file_posix.cc:68:11: error: ‘close’ was not declared in this scope close(fd); ^ file_posix.cc: In static member function ‘static bool kmlbase::File::Delete(const string&)’: file_posix.cc:57:1: error: control reaches end of non-void function [-Werror=return-type] } ^ cc1plus: all warnings being treated as errors make[4]: *** [file_posix.lo] Error 1 make[4]: Leaving directory `/home/madi/gis/libkml-1.2.0/src/kml/base' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/madi/gis/libkml-1.2.0/src/kml' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/madi/gis/libkml-1.2.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/madi/gis/libkml-1.2.0' make: *** [all] Error 2 Do you have any pointers how to bypass this and get OTB built on Fedora 20? Thank you very much in advance Margherita -- -- 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.
