Home Help Center

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)" ([email protected]@@YA?AV?$basic_
[email protected][email protected]@[email protected]@V[email protected]@[email protected]@_ [email protected]@XZ)
Release/slice101.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

Have any steps I should do ?

Comments

  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    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)" ([email protected]@@YA?AV?$basic_
    [email protected][email protected]@[email protected]@V[email protected]@[email protected]@_ [email protected]@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
Sign In or Register to comment.