Hi

you should be able to specify it explicitly like this:
cmake -DGDAL_INCLUDE_DIR:PATH=\"/path/to/gdal/include\" 
-DGDAL_LIBRARY:PATH=\"/path/to/gdal/lib/libgdal.a\" ….

So be able to specify .so if you're using the dynamic library

This is how I do it when cross compiling for iOS.



Mike

On 16 May 2014, at 15:03, "Cary, Karl A." 
<karl.a.c...@leidos.com<mailto:karl.a.c...@leidos.com>> wrote:
We are finally attempting to test out OSG 3.2, but we are having some issues 
with building with GDAL. This is for CentoS 6 x86_64 with gdal 1.9.2-4, 
however, we are building 32 bit as we have some external libraries in 32 bit 
only. For 3.0, we got gdal fully installed and cmake automatically found the 
gdal headers and libraries. For some reason, with 3.2 it is not seeing them. 
Should everything be ok if we just set the paths manually, or is this pointing 
to a different issue we may have?


--
Mike Krus - Principle Software Engineer
m...@mve.com<mailto:m...@mve.com>
Midland Valley Exploration Ltd.
2 West Regent Street
Glasgow G2 1RW - UK
Tel: +44 141 332 2681

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to