Hi Greg,

I can't reproduce the issue on my side (I am able to compile and link
OTB tests). My gdal configure is the same as you except the static proj4
link (why doing this BTW?)...

Can you provide your OTB cmake configuration.?

You should define in your cmake those variables related to the local
installation of gdal:

SET(GDALCONFIG_EXECUTABLE "gdal-install/bin/gdal-config" CACHE PATH ""
FORCE)
SET(GDAL_CONFIG "gdal-install-path/bin/gdal-config" CACHE STRING "" FORCE)
SET(GDAL_INCLUDE_DIR "gdal-install-path/include" CACHE STRING "" FORCE)
SET(GDAL_LIBRARY "gdal-install-path/lib/libgdal.so" CACHE STRING "" FORCE)

Manuel

Le 09/03/2015 13:22, Grégoire MERCIER a écrit :
> Dear all,
>
> I continue my updates, this time on Linux.
> I have a link error I cannot resolve with OTB-4.4.0
>
> /home/mercierg/otb/otb-dev/OTB-Binary/bin/libOTBIO.so: undefined reference to 
> `RPCInfoToMD'
> /home/mercierg/otb/otb-dev/OTB-Binary/bin/libOTBIO.so: undefined reference to 
> `OGRFeature::GetGeometryRef()'
> /home/mercierg/otb/otb-dev/OTB-Binary/bin/libOTBIO.so: undefined reference to 
> `OGRFeature::IsFieldSet(int)'
>
> What did I miss? I do not know if it comes from my gdal install 1.11.2
> my ./configure is
> sudo ./configure --with-geotiff=internal  
> --with-rename-internal-libtiff-symbols=yes 
> --with-rename-internal-libgeotiff-symbols=yes 
> --with-static-proj4=/usr/local/lib/libproj.so --with-jpeg=internal 
> --with-png=internal --with-hide-internal-symbols=yes 
>
> It yields:
>   Statically link PROJ.4:    yes
>   enable OGR building:       yes
>   enable pthread support:    yes
>   enable POSIX iconv support:yes
>   hide internal symbols:     yes
>
>
> Any idea is welcome.
> All the best
> Greg
>
>

-- 
Manuel GRIZONNET

-- 
-- 
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.

Reply via email to