Hello Matthew,

   Decided to try dipping into OpenSceneGraph again.  This developer build
idea reduced the cost of entry, and with the OSGQSG in draft, the cost for
me seems low enough to give it another go.  Great idea on the developer
build!

Indeed, this is a great time to get into OpenSceneGraph!

   I installed CMake and fiddled a bit until I got the main things working
(did anyone ever compile the info they talk about here to the wiki?  I
couldn't find it).

http://www.openscenegraph.com/index.php?page=Build.CMake

See section "Building under Windows (includes Microsoft Visual Studio, MinGW?, Cygwin, etc)"

However, I can't seem to get VS(7.1) files to generate
for the examples.  I tried going into the CMakeLists.txt file and changing
the line that says...

OPTION(BUILD_OSG_EXAMPLES "Enable to build OSG Examples" OFF)

to...

OPTION(BUILD_OSG_EXAMPLES "Enable to build OSG Examples" ON)

...but I don't really know what I'm doing.


You don't need to change this in the CMakeLists.txt, as it's an option (hence it being in an "OPTION" statement in the file). When you start the CMake GUI on Windows, drag and drop the CMakeLists.txt file onto it and click Configure the first time (it will ask you what your build target is, specify VS 7.1). Then you will have lots of options to change, and one of them will be as labeled above "Enable to build OSG Examples". Just switch that to ON.

I also ended up building the
threads package separately, and need to keep typing in the info on where it
should find the threads stuff when configuring for OSG (maybe I just
mistyped the build dir the second time around?).

When you drag and drop the CMakeLists.txt file onto the CMake GUI, I suggest you change the "Where to build the binaries" field to a build subdirectory (just add "\build" to the end as this defaults to the directory where the CMakeLists.txt file you dragged was). Then, once you entered all the options and paths, they will be cached for the next time you run it. (just always remember to add "\build" when you drag and drop the file, as that's also the cache directory).

It might seem a bit much, and I'm afraid I'm not that good at explaining it, but once you've done it a few times it will all make sense.

Good luck,

J-S
--
______________________________________________________
Jean-Sebastien Guay     [EMAIL PROTECTED]
                        http://whitestar02.webhop.org/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


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

Reply via email to