Home Help Center

VC7.1 compile ICE1.5.1 error

hi :
I can not compile the Ice1.5.1? please help me, thank you!


IceUtil error LNK2019: unresolved external symbol "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<(class std::basic_ostream<char,struct std::char_traits<char> > &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([email protected]@[email protected]@ABV[email protected][email protected]@[email protected]@V[email protected]@[email protected]@[email protected]@Z) ,"public: virtual void __thiscall IceUtil::Exception::ice_print(class std::basic_ostream<char,struct std::char_traits<char> > &)const " ([email protected]@[email protected]@Z)
IceUtil error LNK2001: unresolved external symbol "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<(class std::basic_ostream<char,struct std::char_traits<char> > &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([email protected]@[email protected]@ABV[email protected][email protected]@[email protected]@V[email protected]@[email protected]@[email protected]@Z)
IceUtil error LNK2019: unresolved external symbol "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<(class std::basic_ostream<char,struct std::char_traits<char> > &,char)" ([email protected]@[email protected]@[email protected]) "public: virtual void __thiscall IceUtil::Exception::ice_print(class std::basic_ostream<char,struct std::char_traits<char> > &)const " ([email protected]@[email protected]@Z)
IceUtil error LNK2001: unresolved external symbol "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<(class std::basic_ostream<char,struct std::char_traits<char> > &,char)" ([email protected]@[email protected]@[email protected])
IceUtil error LNK2001: unresolved external symbol "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<(class std::basic_ostream<char,struct std::char_traits<char> > &,char const *)" ([email protected]@[email protected]@[email protected])
IceUtil error LNK2019: unresolved external symbol "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<(class std::basic_ostream<char,struct std::char_traits<char> > &,char const *)" ([email protected]@[email protected]@[email protected]) , "public: virtual void __thiscall IceUtil::Exception::ice_print(class std::basic_ostream<char,struct std::char_traits<char> > &)const " ([email protected]@[email protected]@Z)

Comments

  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    Are you using VC7.1 with STLport? If so, this is not necessary, you can use the STL library that is included in VC 7.1. If you want to use STLport nevertheless, then you must first compile it with VC 7.1, and make sure to link with it.
Sign In or Register to comment.