Hello Peter,
I'm getting this error when I try to compile the 1.0 source with Cmake using
the vs08 option
CMake Error at osgOcean/CMakeLists.txt:97 (TARGET_LINK_LIBRARIES):
The "debug" argument must be followed by a library.
Could someone please give me any ideas on why it is saying this?
screenshot is attached
Your screenshot is so scaled down we can't see anything, but still, here
are some general ideas:
- What version of CMake are you using? osgOcean requires at least 2.6
- Did CMake find all your OSG+OpenThreads libraries? If you check in the
CMake window before clicking configure you'll see what it gives as paths
to all the libraries.
That line is the line where we tell the project to link to all the OSG
libraries, and you would get that error if some debug library had not
been found. Perhaps you only have the release libraries and need to
download the debug ones as well?
sorry if this sounds like a real newbie question, however I was never able to
get anything using cmake to work.
Don't let that slow you down, it's a great tool :-)
It sounds as if you think CMake is some big inscrutable beast that won't
do what you ask it to... It's just a build tool, and you need to check
the same things as any other build tool when things don't build -
include paths, library paths, dependencies, etc.
Hope this helps,
J-S
--
______________________________________________________
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