Hi Julien, I checked my libraries and 'unfortunately' I had already installed libgdal-dev. I tried to compile OTB one time against libgdal-dev and one time against my own GDAL (builded imposing ./configure options), but for both cases the same error persists:
[ 46%] Building CXX object Code/IO/CMakeFiles/OTBIO.dir/otbGDALImageIO.cxx.o /home/martina/OTB_source/OTB/Code/IO/otbGDALImageIO.cxx: In member function ‘void otb::GDALImageIO::InternalWriteImageInformation(const void*)’: /home/martina/OTB_source/OTB/Code/IO/otbGDALImageIO.cxx:1722:54: error: ‘RPCInfoToMD’ was not declared in this scope make[2]: *** [Code/IO/CMakeFiles/OTBIO.dir/otbGDALImageIO.cxx.o] Errore 1 make[1]: *** [Code/IO/CMakeFiles/OTBIO.dir/all] Errore 2 make: *** [all] Errore 2 I get the GDAL 1.9.0 release (as recommended in OTBSoftwareGuide), is it the best one? I tried also to re-clone OTB source and re-compile it from scratch, but it was vain. I am sorry to bore you, but at this point I do not know how to fix this issue. Thank you very much for your support. Regards, Martina Il giorno domenica 11 maggio 2014 13:56:47 UTC+2, Martina Porfiri ha scritto: > > Hi all, > > I am a beginner in OTB, thus in order to develop my GSoC project I started > to compile OTB, Ice and Monteverdi2. I already done without (apparently?) > errors this three steps using Ubuntu 12.04. But trying to view an > image.tiff (in particular a Quickbird one) both using Ice and Monteverdi2 > viewer, I get some problems. > > - Ice viewer > > Using the following command: > > martina@martina-ubuntu:~/ICE_source/ICE_BINARY_DIR/bin$ sudo > ./otbiceviewer 04DEC11050020-M2AS_R1C1-000000185964_01_P001.TIFF > > OTB viewer for geeks is opened but it is completely empty and on the > terminal shell I have the following error and I cannot do anything: > > *** glibc detected *** ./otbiceviewer: malloc(): memory corruption: > 0x00000000015c4a20 *** > > > - Monteverdi2 viewer > > Using the following command (both with and without image as input): > > martina@martina-ubuntu:~/MVD2/MVD2_BINARY_DIR/bin$ sudo ./monteverdi2 > 04DEC11050020-M2AS_R1C1-000000185964_01_P001.TIFF > > Monteverdi2 GUI is opened and on the terminal shell I have the > following errors and warnings: > > Unable to load library icui18n "Cannot load library icui18n: > (icui18n: cannot open shared object file: No such file or directory)" > WARNG> Failed to load 'qt_it_IT.qm' translation file from > '/home/martina/Canopy/appdata/canopy-1.1.0.1371.rh5-x86_64/translations'. > WARNG> Failed to load 'it_IT.qm' translation file from > '/home/martina/MTD2/MTD2_BINARY_DIR/i18n'. > WARNG> Runtime version of OpenGL used by Qt 4.8.4: 1.0. > WARNG> Version(s) of OpenGL supported by Qt 4.8.4: > WARNG> - QGLFormat::OpenGL_Version_3_3 > WARNG> - QGLFormat::OpenGL_Version_3_2 > WARNG> - QGLFormat::OpenGL_Version_3_1 > WARNG> - QGLFormat::OpenGL_Version_3_0 > WARNG> - QGLFormat::OpenGL_Version_2_1 > WARNG> - QGLFormat::OpenGL_Version_2_0 > WARNG> - QGLFormat::OpenGL_Version_1_5 > WARNG> - QGLFormat::OpenGL_Version_1_4 > WARNG> - QGLFormat::OpenGL_Version_1_3 > WARNG> - QGLFormat::OpenGL_Version_1_2 > WARNG> - QGLFormat::OpenGL_Version_1_1 > WARNG> Runtime version of OpenGL used by Qt 4.8.4: 1.0. > WARNG> Version(s) of OpenGL supported by Qt 4.8.4: > WARNG> - QGLFormat::OpenGL_Version_3_3 > WARNG> - QGLFormat::OpenGL_Version_3_2 > WARNG> - QGLFormat::OpenGL_Version_3_1 > WARNG> - QGLFormat::OpenGL_Version_3_0 > WARNG> - QGLFormat::OpenGL_Version_2_1 > WARNG> - QGLFormat::OpenGL_Version_2_0 > WARNG> - QGLFormat::OpenGL_Version_1_5 > WARNG> - QGLFormat::OpenGL_Version_1_4 > WARNG> - QGLFormat::OpenGL_Version_1_3 > WARNG> - QGLFormat::OpenGL_Version_1_2 > WARNG> - QGLFormat::OpenGL_Version_1_1 > WARNG> Database format version: 0.7.1 > WARNG> Required OpenGL version '2.0.0' with GLSL version '1.10'. > WARNG> Runtime OpenGL version '3.3.0 NVIDIA 304.116' with GLSL version > '3.30 NVIDIA via Cg compiler'. > > Regarding Monteverdi2, maybe could it depend mainly on the version library > I have installed? Regarding Ice, I do not know if it could depend on > the building code phase or what. > > What do you suggest me to do? What did I miss? I will be very grateful If > someone could help me. > > Thank you in advance. > > Best regards, > Martina > -- -- 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.
