Thank you for the answer. It's exacty the same problem I have, I am also working on minimalist environement. Unfortunatly, it didn't help me a lot because I don't realy understand the workaround you give in the bug report.
Indeed I use Cmake and put CMAKE_C_FLAGS with the value "-I /path/to/SuperBuild/include" but it didn't change anything. Is that the workaround you meant ? Otherwise, you said maybe add them in SB_CONFIGURE_ENV I don't see this SB_CONFIGURE_ENV anywhere and have no idea of what it is. Sorry for my misunderstanding... Le jeudi 30 mars 2017 12:01:36 UTC+2, Rashad a écrit : > > > > see the bug report and workaround for the problem > > https://bugs.orfeo-toolbox.org/view.php?id=1315 > > On Thursday, March 30, 2017 at 11:02:47 AM UTC+2, [email protected] > wrote: >> >> Hello, >> >> I am doing an installation script to automatically install OTB, some >> remote modules and the python libraries its need. >> >> First of all, I'm trying to install manually OTB with the superbuild but >> an error occurs when Performing configure step for 'GEOTIFF': >> >> checking zlib.h usability... no >> >> checking zlib.h presence... no >> >> checking for zlib.h... no >> >> configure: error: cannot find zlib.h, bailing out >> >> CMakeFiles/GEOTIFF.dir/build.make:112 : la recette pour la cible >> « GEOTIFF/src/GEOTIFF-stamp/GEOTIFF-configure » a échouée >> >> make[2]: *** [GEOTIFF/src/GEOTIFF-stamp/GEOTIFF-configure] Erreur 1 >> >> CMakeFiles/Makefile2:914 : la recette pour la cible >> « CMakeFiles/GEOTIFF.dir/all » a échouée >> >> make[1]: *** [CMakeFiles/GEOTIFF.dir/all] Erreur 2 >> >> Makefile:83 : la recette pour la cible « all » a échouée >> >> make: *** [all] Erreur 2 >> >> So, I have set the cmake flag USE_SYSTEM_ZLIB=OFF >> >> I guess this should have resolved the error by using the zlib from the >> superbuid, but it didn't. >> >> If someone has an idea, thank you for your help. >> >> Nicolas >> >> -- -- 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.
