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]) 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]

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


Scopri Mister Yahoo! - il fantatorneo sul calcio di Yahoo! Sport'

Reply via email to