Hi Jason,
Right now I am experiencing some troubles generating the project for the png plugin -- I downloaded the 3rdparty package which seems to contain all necessary libraries, also I set the variables ACTUAL_3RDPARTY_DIR, PNG_INCLUDE_DIR, PNG_LIBRARY and PNG_LIBRARY_DIR, but CMake just quietly refuses to create the project.
Some variables in OSG's CMake config are flagged as "advanced" even
though they're essential. At the top of the window (I'm assuming you're
using Windows by the fact you mention the 3rdparty package) you'll see
"simple view", that drop down will also let you choose an "advanced
view". Then you might see some other variables starting with PNG_ that
you'll need to fill in too.
But, if you use a standard directory structure, this will all happen
automatically. Try this. Place the 3rdParty dir parallel to your OSG
sources, like this:
<some directory>/OpenSceneGraph (in which are the include/, src/, etc.
directories)
<some directory>/3rdParty (in which are include/, lib/, bin/)
Then, remove whatever CMake generated (for example, if you had it
generate into an OpenSceneGraph/build directory, remove that directory
completely). Then, re-start CMake, and start over.
Normally, this should fill in all the paths for the "normal" 3rdParty
dependencies automatically. This is because the CMake scripts search for
the dependencies (headers and libs) in the ..\3rdParty\{include|lib}
directories by default, before they search other places on your system.
And on Windows, there's no system-wide place where include files and
libs go like on Linux, so... :-)
See this page for more details:
http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/VisualStudio
Hope this helps,
J-S
--
______________________________________________________
Jean-Sebastien Guay jean-sebastien.g...@cm-labs.com
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org