Hi Marcus,
Marcus Lindblom wrote:
Hi,
I'm getting tons of these warnings when I build a dll which uses
OpenSG (v1.4, not cvs).
OpenSG-1.4\include\OpenSG\OSGLog.h(200) : warning C4251:
'osg::LogBuf::_chunkBag' : class 'std::list<_Ty>' needs to have
dll-interface to be used by clients of class 'osg::LogBuf'
I assume there's something wrong with my defines, but I haven't found
anything in the docs to alleviate this.
These are my defines:
_DEBUG;WIN32;_WINDOWS;WINVER=0x0400;_WIN32_WINDOWS=0x0410;_WIN32_WINNT=0x0400;_OSG_HAVE_CONFIGURED_H_;OSG_WITH_GIF;OSG_WITH_TIF;OSG_WITH_JPG,
OSG_BUILD_DLL, OSG_NEW_DLLS
I found that last one on the internet somewhere, but it doesn't seem
to be defined in my version. Is this fixed in the cvs?
your defines look good, but I don't know about the last one.
Here OpenSG and applications compile without it.
The commas (",") in the Defines field, I think they should be semicolons
(";").
Could you check the Command Line field (in Visual Studio) send to the
compiler...
Hope it helps,
Christoph
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users