Hi,

I am trying to re-direct the notify messages into a MFC GUI component however i 
seem to be getting some strange linker errors. I have included all OSG lib 
files.

E.G

osg::notify(osg::INFO)<<"THIS IS A TEST"<<std::endl;


gives me:

1>Project1.obj : error LNK2001: unresolved external symbol 
"__declspec(dllimport) public: class std::basic_streambuf<char,struct 
std::char_traits<char> > * __thiscall std::basic_ios<char,struct 
std::char_traits<char> >::rdbuf(void)const " 
(__imp_?rd...@?$basic_ios@du?$char_tra...@d@std@@@std@@qbepav?$basic_stream...@du?$char_traits@d...@std@@@2...@xz)
1>Project1.obj : error LNK2001: unresolved external symbol 
"__declspec(dllimport) public: void __thiscall std::basic_ios<char,struct 
std::char_traits<char> >::setstate(int,bool)" 
(__imp_?setst...@?$basic_ios@du?$char_tra...@d@std@@@std@@qaex...@z)
1>Project1.obj : error LNK2001: unresolved external symbol 
"__declspec(dllimport) public: class std::basic_ostream<char,struct 
std::char_traits<char> > & __thiscall std::basic_ostream<char,struct 
std::char_traits<char> >::flush(void)" 
(__imp_?fl...@?$basic_ostream@du?$char_tra...@d@std@@@std@@qaeaa...@xz)
1>Project1.obj : error LNK2001: unresolved external symbol 
"__declspec(dllimport) public: class std::basic_ostream<char,struct 
std::char_traits<char> > & __thiscall std::basic_ostream<char,struct 
std::char_traits<char> >::put(char)" 
(__imp_?...@?$basic_ostream@du?$char_tra...@d@std@@@std@@qaeaa...@d@Z)
1>Project1.obj : error LNK2001: unresolved external symbol 
"__declspec(dllimport) public: class std::basic_ostream<char,struct 
std::char_traits<char> > & __thiscall std::basic_ostream<char,struct 
std::char_traits<char> >::operator<<(class std::basic_ostream<char,struct 
std::char_traits<char> > & (__cdecl*)(class std::basic_ostream<char,struct 
std::char_traits<char> > &))" 
(__imp_??6?$basic_ostr...@du?$char_traits@d...@std@@@std@@qaeaa...@p6aaav01@AAV01@@z...@z)
1>Project1.obj : error LNK2001: unresolved external symbol 
"__declspec(dllimport) public: class std::basic_ostream<char,struct 
std::char_traits<char> > * __thiscall std::basic_ios<char,struct 
std::char_traits<char> >::tie(void)const " 
(__imp_?...@?$basic_ios@du?$char_tra...@d@std@@@std@@qbepav?$basic_ostr...@du?$char_traits@d...@std@@@2...@xz)
1>Project1.obj : error LNK2001: unresolved external symbol 
"__declspec(dllimport) public: void __thiscall std::basic_ostream<char,struct 
std::char_traits<char> >::_Osfx(void)" 
(__imp_?_o...@?$basic_ostream@du?$char_tra...@d@std@@@std@@QAEXXZ)
1>Project1.obj : error LNK2001: unresolved external symbol 
"__declspec(dllimport) public: char __thiscall std::basic_ios<char,struct 
std::char_traits<char> >::fill(void)const " 
(__imp_?f...@?$basic_ios@du?$char_tra...@d@std@@@std@@QBEDXZ)

Any help would be great. 

Thank you!

Cheers,
karl

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=15016#15016





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to