Hi Jan,

The original problem was that even despite not specifying anything (i.e. default release build), the cmake was failing because of missing OpenThreads debug libs, despite them not really being needed on Linux.

Yes, but somewhere in the discussion the issues got mixed up. I just wanted to set things straight.

This should be fixed now, hopefully.

Yes indeed.

For issue 1, on *both* Windows and Linux, OSG's CMake will ask you for
the path to debug and release versions of your libraries when it makes
sense. For example, OSG has fields for both release and debug libraries
for COLLADA and Boost. For other libraries it will only ask for release.
I'm not sure what the behavior is when it doesn't find the debug
versions, but it does ask for them.

This is OK if the debug release is being built. It is not OK, in my opinion to fail the build even though I am asking for release only (or didn't specify the option - should default to release).

I totally agree, which is the goal of what I did.

But that doesn't answer my question of what happens for OSG? For example, if you want to build the COLLADA plugin, do you need both the debug and release COLLADA libs even on Linux? Or does the release lib get used for both if you don't have the debug version (as we now do)? I don't know, I never build OSG with COLLADA support on Linux... But you'll note that there are variables COLLADA_DYNAMIC_LIBRARY and COLLADA_DYNAMIC_LIBRARY_DEBUG, so I assume it will run into the same issues as we are here.

Jan, can you update osgOcean and see if that works for you?

I did, but it tries to build *both* debug and release when I run cmake . :

[...]

For the record, svn update shows me at revision 138 as being up-to-date - the same as yesterday. When did you make the change?

Sorry, I had made the change into the 1.0 branch instead of the trunk. Try to update again and it should be better.

No need for an additional option that can be on by default on Linux but off by default on Windows...

Let me know how it goes.

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

Reply via email to