Hi Davide,

the dailybuild uses the microsoft stl mixing two different stl versions doesn't work. Can you switch to the microsoft stl or is there any special reason using the stl port?

Andreas

Hello everybody,
I have a big problem with SLOG of opensg.
this is the code where I use the SLOG
void MySkyBackground::dump( UInt32 , const BitVector) const

{

SLOG << "Dump SkyBackground NI" << std::endl;

}

MySkyBackground is very similar of SkyBrackground of opensg.But there are some add ons.

The problem is that Visual studio .net 2003 give me this link error:

MySkyBackground.obj : error LNK2001: external simbol "__declspec(dllimport) private: static class _STL::basic_ostream<char,class _STL::char_traits<char> > * osg::Log::_nilstreamP" ([EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@@_STL@@A) not resolved.

MySkyBackground.obj : error LNK2019: reference to external simbol "__declspec(dllimport) public: class _STL::basic_ostream<char,class _STL::char_traits<char> > & __thiscall osg::Log::doHeader(enum osg::LogLevel,char const *,char const *,unsigned int)" ([EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@@_STL@@[EMAIL PROTECTED]@[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@@_STL@@[EMAIL PROTECTED]@[EMAIL PROTECTED]>) not resolved in the function "class _STL::basic_ostream<char,class _STL::char_traits<char> > & __cdecl osg::osgStartLog(bool,enum osg::LogLevel,char const *,char const *,unsigned int)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@@_STL@@[EMAIL PROTECTED]@[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@@_STL@@[EMAIL PROTECTED]@[EMAIL PROTECTED]>

I use the STLPort 4.6.2 and I use the binary version dailybuild of the cvs version (I need shaders,so...I need the cvs version). It seem that the compiler don't find the variable _nilstreamP and the function doHeader of the class Log. I wonder if the opensg dailybuild cvs is compiled with STLPort or not. Thanks to every body who can help me Davide



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to