OSGEARTH cmake problem

classic Classic list List threaded Threaded
2 messages Options
andreamartini andreamartini
Reply | Threaded
Open this post in threaded view
|

OSGEARTH cmake problem

Hi to all,
i'm trying to compile osgearth using svn source code and cmake 2.4.8.
I'm using windows XP, Visual studio 2005 sp1. I have correctly installed Openscenegraph 2.6.1 with its dependencies.
Cmake configuration need OSG_GEN_INLUDE_DIR and OSG_DIR parameters. Where i can point this folder?
Without these information i can't create the solution sln of osgearth project.
Could anyone help me?
Thank you in advance.
Bye,
gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|

Re: OSGEARTH cmake problem

Hi Andrea,

OSG_DIR should point at the Openscenegraph installation folder, i.e. the folder that contains include/lib/bin for OSG 2.6.1.

When you fill in the OSG_DIR variable in CMake, all the other OSG_* variables will automatically populate when you hit Configure (including OSG_GEN_INCLUDE_DIR).

HTH, Glenn
Glenn Waldron / Pelican Mapping