Archived

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

STLPort & ICE in VC71

I intall ICE by run Ice-2.1.0-VC71.msi. And then I install STLPort 4.62. Can I use STLPort direct with ICE?

I add include path to VC71. clean and compile PrinterS example.
Get
error LNK2001: unresolved external symbol "__declspec(dllimport) class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > __cdecl IceUtil::generateUUID(void)" (__imp_?generateUUID@IceUtil@@YA?AV?$basic_
string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_ STL@@XZ)
Release/slice101.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

Have any steps I should do ?

Comments

  • matthew
    matthew NL, Canada
    rockieyung wrote:
    I intall ICE by run Ice-2.1.0-VC71.msi. And then I install STLPort 4.62. Can I use STLPort direct with ICE?

    I add include path to VC71. clean and compile PrinterS example.
    Get
    error LNK2001: unresolved external symbol "__declspec(dllimport) class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > __cdecl IceUtil::generateUUID(void)" (__imp_?generateUUID@IceUtil@@YA?AV?$basic_
    string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_ STL@@XZ)
    Release/slice101.dll : fatal error LNK1120: 1 unresolved externals
    Error executing link.exe.

    Have any steps I should do ?

    The version that is included in the binary package was not compiled with STLport. If you want to use STLport with Ice 2.1.1 w/ VC71 then you need to compile it yourself. The source distributions are available on the download pages of our web site.

    Regards, Matthew