This is my program :

#include <iostream>

#include <OpenSG/OSGLog.h>

 

int main(int argc, char * argv[])

{

std::cout<<"HALLO OPENSG\n";

exit(0);

}

 

now:

if I compile this program, this is the log of Visual studio.net 2003:

ExrstereoViewer2 fatal error LNK1120: 1 esterni non risolti
ExrstereoViewer2 error LNK2019: reference to external simbol  "__declspec(dllimport) public: void __thiscall _STL::basic_ostream<char,class _STL::char_traits<char> >::_M_put_nowiden(char const *)" ([EMAIL PROTECTED]@[EMAIL PROTECTED]@_STL@@@_STL@@[EMAIL PROTECTED]) not resolved in the function "class _STL::basic_ostream<char,class _STL::char_traits<char> > & __cdecl _STL::operator<<<class _STL::char_traits<char> >(class _STL::basic_ostream<char,class _STL::char_traits<char> > &,char const *)" ([EMAIL PROTECTED]@_STL@@@_STL@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@@[EMAIL PROTECTED]@[EMAIL PROTECTED])

if I comment the opensSG include like this:

#include <iostream>

//#include <OpenSG/OSGLog.h>

 

int main(int argc, char * argv[])

{

std::cout<<"HALLO OPENSG\n";

exit(0);

}

 

the program compile and link perfectly.

I have used the porting of stl suggested in this thread:

http://sourceforge.net/mailarchive/forum.php?thread_id=5520685&forum_id=2633

 

can you help me please??

 

PS: It is not possible that opensg have this kind of problem in the visual studio.net, in practice the most used compiler under windows now!

 

Bye Davide


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

Reply via email to