Hi Issam,

VPB uses a special FindOSG.cmake script that tries to run osgversion
to get the correct version of osg. This is a good idea because vpd has
to match specific versions of osg. You dont' have the osgversion
executable (I guess) so you have to tell vpd in some other way. I
would mod the vpb/CMakeModules/FindOSG.cmake script and replace
  EXEC_PROGRAM(osgversion...OPENSCENEGRAPH_MAJOR_VERSION)
with
  set(OPENSCENEGRAPH_MAJOR_VERSION 2)

...and so on.

If you can find osgversion executable in the delta3d distribution of
osg, just make sure it is in your PATH before running CMake on vpb

Mattias

On Sun, Apr 4, 2010 at 6:45 PM, Chris 'Xenon' Hanson
<[email protected]> wrote:
> On 4/4/2010 10:21 AM, issam boughanmi wrote:
>> i am not using osg installation at all
>> just point the lib of osg 2.8.2 that comes with delta3d2.4 installation
>
>  Ok. Then I don't know if delta3d includes everything necessary to build VPB.
>
> --
> Chris 'Xenon' Hanson, omo sanza lettere                  Xenon AlphaPixel.com
> PixelSense Landsat processing now available! http://www.alphapixel.com/demos/
> "There is no Truth. There is only Perception. To Perceive is to Exist." - Xen
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to