Just a few notes:
1. Torben's instructions are for Visual Studio 9 (2008). I don't think
there's a precompiled 3rdparty package for Visual Studio 10 yet.
2. You don't really need GDAL unless you need to read georeferenced DEM
files, it's an optional dependency. It's required if you're going to be
using VPB though, so it depends on what you want to do...
J-S
On 5/15/2010 2:27 PM, Torben Dannhauer wrote:
Hi,
i noted down my own setup in my "don't forget wiki".
It is in german, but maybe it can help you:
https://www.dannhauer.info/horde/index.php
in short:
- install MS Visual Studio with sp1,
- install CMAKE newest version
- checkout OSG in your folder.
- download precompiled 3rd Party binaries for 32 bit from osg website:
http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-2.8/binaries/Windows/VisualStudio9/3rdParty_Win32Binaries_vc90sp1.zip
- download precompiled GDAL binary from
http://www.dannhauer.info/gdal-1.6.3_VC90sp1_x86.zip
- configure osg with cmake: set install prefix directory to you source
directory (in-source build), set all include dirs and library pathes in cmake
for all available 3rdParty libraries.
- press generate to let CMAKe generate the native visual studio solution
- compile this solution in VS as debug and as release.
your directory structure could be:
D:\OpenSceneGraph -> root-dir of the OSG frameworks -
D:\OpenSceneGraph\gdal-1.6.2 -> contains gdal 1.6.2
D:\OpenSceneGraph\3rdParty -> contains the 3rdparty files.
D:\OpenSceneGraph\Data -> example models and data, downloadable from
OSG website
D:\OpenSceneGraph\OpenSceneGraph-2.9.8 -> Directory wich contains the checkout
of the osg repository trunk
your env variables for win:
OSG ->
D:\OpenSceneGraph\OpenSceneGraph-2.9.8\bin;D:\OpenSceneGraph\3rdParty\bin;D:\OpenSceneGraph\gdal-1.6.2\bin
OSG_FILE_PATH -> D:\OpenSceneGraph\Data;D:\OpenSceneGraph\Data\Images
PATH -> add ;%OSG%
OSG_NOTIFY_LEVEL -> WARN
OSG_ROOT -> D:\OpenSceneGraph\OpenSceneGraph-2.9.8
Thank you!
Cheers,
Torben
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=27908#27908
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
______________________________________________________
Jean-Sebastien Guay [email protected]
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org