Hi Robert,

I've encountered two compile problem while rebuilding OSG today. The first
one is that FindLua will fail because of not
finding FindPackageHandleStandardArgs.cmake as in the FindLua52.cmake,
commenting that line seems harmless (and I also suggest that we could
directly include Lua source code directly).

The second seems confusing to me because it made a link error like:

*"LINK : fatal error LNK1149: output filename matches input filename
**'osgviewer.lib'"*

when linking the osgviewer application, or other examples with the same
name of certain libraries (like osgparticle and osgmanipulator). This is
because the executable is going to write to an imported library which is
conflict with current library file.

I'm curious to that so I try looking into the generated .exp file, and find
that the CollectOccludersVisitor::cloneType() is exported for these
executables! Currently I have no idea why this happens, but simply comment
it and again harmless to all other programs. I checked out the latest trunk
and rebuilt in a clear directory so it should be a problem to someone under
Windows.

Cheers,

Wang Rui

Attachment: FindLua52.cmake
Description: Binary data

Attachment: CollectOccludersVisitor
Description: Binary data

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to