Archived

This forum has been archived. Please start a new discussion on GitHub.

VC6 compile ICE1.5.1 error

I have download stlport 4.6.2 and add to vc6, also I have add vc6sp5.

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

Configuration: IceUtil - Win32 Release
Compiling...
Base64.cpp
E:\work\src\Ice-1.5.1\Ice-1.5.1\src\IceUtil\Base64.cpp(89) : error C2065: 'back_inserter' : undeclared identifier
Cond.cpp
CountDownLatch.cpp
CtrlCHandler.cpp
Exception.cpp
GC.cpp
GCRecMutex.cpp
GCShared.cpp
InputUtil.cpp
MD5.cpp
MD5I.cpp
OutputUtil.cpp
RecMutex.cpp
RWRecMutex.cpp
StaticMutex.cpp
StringUtil.cpp
E:\work\src\Ice-1.5.1\Ice-1.5.1\src\IceUtil\StringUtil.cpp(81) : error C2039: 'push_back' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
E:\work\src\Ice-1.5.1\Ice-1.5.1\src\IceUtil\StringUtil.cpp(94) : error C2039: 'push_back' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
E:\work\src\Ice-1.5.1\Ice-1.5.1\src\IceUtil\StringUtil.cpp(100) : error C2039: 'push_back' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
E:\work\src\Ice-1.5.1\Ice-1.5.1\src\IceUtil\StringUtil.cpp(105) : error C2039: 'push_back' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
E:\work\src\Ice-1.5.1\Ice-1.5.1\src\IceUtil\StringUtil.cpp(146) : error C2039: 'push_back' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
E:\work\src\Ice-1.5.1\Ice-1.5.1\src\IceUtil\StringUtil.cpp(152) : error C2039: 'push_back' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
E:\work\src\Ice-1.5.1\Ice-1.5.1\src\IceUtil\StringUtil.cpp(157) : error C2039: 'push_back' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
E:\work\src\Ice-1.5.1\Ice-1.5.1\src\IceUtil\StringUtil.cpp(162) : error C2039: 'push_back' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
E:\work\src\Ice-1.5.1\Ice-1.5.1\src\IceUtil\StringUtil.cpp(167) : error C2039: 'push_back' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
E:\work\src\Ice-1.5.1\Ice-1.5.1\src\IceUtil\StringUtil.cpp(172) : error C2039: 'push_back' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
E:\work\src\Ice-1.5.1\Ice-1.5.1\src\IceUtil\StringUtil.cpp(177) : error C2039: 'push_back' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
E:\work\src\Ice-1.5.1\Ice-1.5.1\src\IceUtil\StringUtil.cpp(204) : error C2039: 'push_back' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
E:\work\src\Ice-1.5.1\Ice-1.5.1\src\IceUtil\StringUtil.cpp(215) : error C2039: 'push_back' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
E:\work\src\Ice-1.5.1\Ice-1.5.1\src\IceUtil\StringUtil.cpp(222) : error C2039: 'push_back' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
Thread.cpp
ThreadException.cpp
Time.cpp
Unicode.cpp
Generating Code...
Compiling...
UUID.cpp
Generating Code...
Error executing cl.exe.

minimal - 15 error(s), 0 warning(s)

Comments

  • Did you set stlport directory to the FIRST of the include directory list ?
  • OK,thank you.

    after set the include file,compile successed. thank you very much.