Hi,
I've been using VC90 with OSG 2.7.8 for several weeks now, and I've
noticed several warnings at compile time using these 3rd Party libraries
(http://www.openscenegraph.org/projects/osg/wiki/Community/People/Mattia
sHelsing).
Libtiff.lib seems to be incorrectly linked with the debug CRT. Since we
are not using tiff files in our projects, I cannot say whether this
breaks the tiff plugin, but it ought to be fixed. When compiling Plugins
tiff project in release mode, I get the following warning.
188>LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with
use of other libs; use /NODEFAULTLIB:library
In debug mode, there are several warnings about debug symbols not being
found at compile time for static 3rd party libraries. It's not as bad as
the above warning, but it can be fixed and would allow debug symbols.
For example:
158>freetype237_D.lib(autofit.obj) : warning LNK4099: PDB
'vc90.pdb' was not found with
'D:\svn\ThirdParty\build\OpenSceneGraph-2.7.8\3rdParty\lib\freetype237_D
.lib' or at
'D:\svn\ThirdParty\build\OpenSceneGraph-2.7.8\Build\bin\osgPlugins-2.7.8
\vc90.pdb'; linking object as if no debug info
To fix this, static debug 3rd party libraries should be compiled with
"/Z7" (Debug Information Format: C7 Compatible) instead of "/Zi /Gm"
(/Gm being incompatible with /Z7), so that debug information is in the
lib files.
Note that this problem is also present with Mike's packages
(http://www.openscenegraph.org/projects/osg/wiki/Downloads/Dependencies)
.
Regards,
Tanguy
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org