Hi,

I am trying to use OpenSG 1.8 with STLport under Windows. My scons command is 
scons compiler=msvc90 qt4="C:\Qt\2009.03\qt" type=opt exr=no 
stlport="D:\STLport-5.2.1".
I am using the recent STLport version 5.2.1 (boost is disabled).
After compiling the linker cannot link against the libs.

OSGSocketAddress.obj : error LNK2019: Verweis auf nicht aufgelöstes externes 
Symbol ""__declspec(dllimport) public: class stlpd_std::basic_string<char,class 
stlpd_std::char_traits<char>,class stlpd_std::allocator<char> > & __thiscall 
stlpd_std::basic_string<char,class stlpd_std::char_traits<char>,class 
stlpd_std::allocator<char> >::operator=(char const *)" 
(__imp_??4?$basic_str...@dv?$char_traits@d...@stlpd_std@@v?$alloca...@d@2@@stlpd_std@@qaeaa...@pbd@Z)"
 in Funktion ""public: class stlpd_std::basic_string<char,class 
stlpd_std::char_traits<char>,class stlpd_std::allocator<char> > __thiscall 
osg::SocketAddress::getHostByName(void)const " 
(?gethostbyn...@socketaddress@osg@@qbe?av?$basic_str...@dv?$char_traits@d...@stlpd_std@@v?$alloca...@d@2@@stlpd_std@@XZ)".
OSGSocketException.obj : error LNK2019: Verweis auf nicht aufgelöstes externes 
Symbol ""public: static class stlp_std::basic_string<char,class 
stlp_std::char_traits<char>,class stlp_std::allocator<char> > __cdecl 
osg::Socket::getErrorStr(void)" 
(?geterror...@socket@osg@@sa?av?$basic_str...@dv?$char_traits@d...@stlp_std@@v?$alloca...@d@2@@stlp_std@@XZ)"
 in Funktion ""public: __thiscall osg::SocketError::SocketError(char const *)" 
(??0socketer...@osg@@q...@pbd@Z)".
OSGSocketException.obj : error LNK2019: Verweis auf nicht aufgelöstes externes 
Symbol ""public: static class stlp_std::basic_string<char,class 
stlp_std::char_traits<char>,class stlp_std::allocator<char> > __cdecl 
osg::Socket::getHostErrorStr(void)" 
(?gethosterror...@socket@osg@@sa?av?$basic_str...@dv?$char_traits@d...@stlp_std@@v?$alloca...@d@2@@stlp_std@@XZ)"
 in Funktion ""public: __thiscall osg::SocketHostError::SocketHostError(char 
const *)" (??0sockethoster...@osg@@q...@pbd@Z)".
Build\win32-msvc90\Source\Base\OSGBase.dll : fatal error LNK1120: 73 nicht 
aufgelöste externe Verweise.
scons: building terminated because of errors.

In the STLport lib-dir are the right files (stlport.5.2.lib, stlportd.5.2.lib 
and  stlportstld.5.2.lib).
Has anybody a solution for this problem?

Regards, Johannes Schäfer.
--
Johannes Schäfer, B.Sc.
Studentischer Mitarbeiter
Geschäftsfeld Virtuelle Produktentstehung
Fraunhofer-Institut für Produktionsanlagen und Konstruktionstechnik IPK
Pascalstraße 8-9
10587 Berlin
Tel.: +49 (0)30 / 3 90 06-266
Fax: +49 (0)30 / 3 91 10 37
mailto:[email protected]
http://www.ipk.fraunhofer.de

Das Fraunhofer IPK ist DQS-zertifiziert nach ISO 9001:2008.



------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to