Archived
This forum has been archived. Please start a new discussion on GitHub.
why build mfcHelloS sample fail!
Hello.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) protected: class std::map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>
0
Comments
-
Which compiler are you using? Did you build Ice yourself? Is it the only demo that does not build? Please give more details!
Cheers,
Bernard0 -
vc++6.0 compile ice example error!
I open Ice-1.5.1\demo\Ice\MFC\server\mfcHelloS.dsp with vc++6.0 and compile it, vc++6.0 show me 14 errors.
first error is: Hello.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) protected: class std::map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>
,class std::allocator<char> >,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > >
const & __thiscall IceProxy::Ice::Object::__defaultContext(void)const " (__imp_?__defaultContext@Object@Ice@IceProxy@@IBEABV?$map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$al
locator@D@2@@2@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@std@@XZ)0 -
Looks like you do not have STLport installed or configured correctly. Please see the installation instructions for how to do this.
Cheers,
Michi.0 -
thanks
thank you for your help!0