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 TESTstd::endl;
gives me:
1Project1.obj : error LNK2001: unresolved external symbol
__declspec(dllimport) public: class std::basic_streambufchar,struct
std::char_traitschar * __thiscall std::basic_ioschar,struct
std::char_traitschar ::rdbuf(void)const
(__imp_?rd...@?$basic_ios@du?$char_tra...@d@std@@@std@@qbepav?$basic_stream...@du?$char_traits@d...@std@@@2...@xz)
1Project1.obj : error LNK2001: unresolved external symbol
__declspec(dllimport) public: void __thiscall std::basic_ioschar,struct
std::char_traitschar ::setstate(int,bool)
(__imp_?setst...@?$basic_ios@du?$char_tra...@d@std@@@std@@qaex...@z)
1Project1.obj : error LNK2001: unresolved external symbol
__declspec(dllimport) public: class std::basic_ostreamchar,struct
std::char_traitschar __thiscall std::basic_ostreamchar,struct
std::char_traitschar ::flush(void)
(__imp_?fl...@?$basic_ostream@du?$char_tra...@d@std@@@std@@qaeaa...@xz)
1Project1.obj : error LNK2001: unresolved external symbol
__declspec(dllimport) public: class std::basic_ostreamchar,struct
std::char_traitschar __thiscall std::basic_ostreamchar,struct
std::char_traitschar ::put(char)
(__imp_?...@?$basic_ostream@du?$char_tra...@d@std@@@std@@qaeaa...@d@Z)
1Project1.obj : error LNK2001: unresolved external symbol
__declspec(dllimport) public: class std::basic_ostreamchar,struct
std::char_traitschar __thiscall std::basic_ostreamchar,struct
std::char_traitschar ::operator(class std::basic_ostreamchar,struct
std::char_traitschar (__cdecl*)(class std::basic_ostreamchar,struct
std::char_traitschar ))
(__imp_??6?$basic_ostr...@du?$char_traits@d...@std@@@std@@qaeaa...@p6aaav01@AAV01@@z...@z)
1Project1.obj : error LNK2001: unresolved external symbol
__declspec(dllimport) public: class std::basic_ostreamchar,struct
std::char_traitschar * __thiscall std::basic_ioschar,struct
std::char_traitschar ::tie(void)const
(__imp_?...@?$basic_ios@du?$char_tra...@d@std@@@std@@qbepav?$basic_ostr...@du?$char_traits@d...@std@@@2...@xz)
1Project1.obj : error LNK2001: unresolved external symbol
__declspec(dllimport) public: void __thiscall std::basic_ostreamchar,struct
std::char_traitschar ::_Osfx(void)
(__imp_?_o...@?$basic_ostream@du?$char_tra...@d@std@@@std@@QAEXXZ)
1Project1.obj : error LNK2001: unresolved external symbol
__declspec(dllimport) public: char __thiscall std::basic_ioschar,struct
std::char_traitschar ::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
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org