Re: [osg-users] Building OSG 3.2 With GDAL Support

2014-05-16 Thread Cary, Karl A.
This actually clued me in, the issue was that I had installed gdal-libs but not 
gdal-libs-devel!

From: osg-users [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf 
Of Mike Krus
Sent: Friday, May 16, 2014 11:01 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] Building OSG 3.2 With GDAL Support

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


Re: [osg-users] Building OSG 3.2 With GDAL Support

2014-05-16 Thread Mike Krus
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." 
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
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


[osg-users] Building OSG 3.2 With GDAL Support

2014-05-16 Thread Cary, Karl A.
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?
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org