Hi Rudolf,

On 6/26/07, Wiedemann, Rudolf, OPS3 <[EMAIL PROTECTED]> wrote:
"The end of a CMakeLists file was reached with an IF statement that was
not closed properly."

=> Typo in "VpbMacroUtils.cmake", line 181:

            IF(VOB_BUILD_APPLICATION_BUNDLES)
        =>  IF(VPB_BUILD_APPLICATION_BUNDLES)

If this is fixed, there are following messages:

Thanks for the testing.  I presume you must be using a Mac then...
looking at the what code path breaks as I don't get this error.  Error
now fixed and checked in.

CMake Error: This project requires some variables to be set,
and cmake can not find them.
Please set the following variables:
/common/source/VirtualPlanetBuilder/applications/osgdem/GDAL_INCLUDE_DIR
/common/source/VirtualPlanetBuilder/applications/osgdem/OSG_INCLUDE_DIR
/common/source/VirtualPlanetBuilder/src/vpb/GDAL_INCLUDE_DIR
/common/source/VirtualPlanetBuilder/src/vpb/OSG_INCLUDE_DIR
/common/source/VirtualPlanetBuilder/src/vpbPlugins/gdal/GDAL_INCLUDE_DIR
/common/source/VirtualPlanetBuilder/src/vpbPlugins/gdal/OSG_INCLUDE_DIR

This suggest that the FindGDAL.cmake and FindOSG.cmake din't find the
OSG and GDAL  respectively.

On my machine CMake found GDAL installed in /usr/local/ and the OSG
installed in my /home/robert/OpenSceneGraph - pointed to by the
OSG_DIR env var that I have previous set.

I've set my OSG_DIR to "" and get the errors:

CMake Error: This project requires some variables to be set,
and cmake can not find them.
Please set the following variables:
OSGDB_LIBRARY
OSGFX_LIBRARY
OSGUTIL_LIBRARY
OSG_INCLUDE_DIR
OSG_LIBRARY

Which is reasonable considering that my build of OpenSceneGraph isn't
installed anywhere :-)

Installing OpenSceneGraph allows CMake to find the OSG OK.

Whereabouts are is GDAL and OpenSceneGraph installed on your machine?

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to