Issue with STL
From: Amarnaath Sivaraman (amarnaath.sivaraman_at_honeywell.com)
Date: 08/11/04
- Next message: Andrew Cappello: "Talking to a USB printer as if it was a line printer"
- Previous message: Richard Fleming: "Passing Data between an ISR and an IST"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 11 Aug 2004 10:21:33 +0530
Hello,
I am stuck while linking my application which uses STL map class.
It says,
error LNK2019: unresolved external symbol "public: __thiscall
std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAE@XZ) referenced in
function "public: __thiscall std::_Tree<unsigned short,struct
std::pair<unsigned short const ,cla
ss CInstanceInfo>,struct std::map<unsigned short,class CInstanceInfo,struct
std::less<unsigned short>,class std::allocator<class CInstanceInfo>
>::_Kfn,struct std::less<unsigned short>,class std::allocator<class
CInstanceInfo> >::~_Tree<unsigned sho
rt,struct std::pair<unsigned short const ,class CInstanceInfo>,struct
std::map<unsigned short,class CInstanceInfo,struct std::less<unsigned
short>,class std::allocator<class CInstanceInfo> >::_Kfn,struct
std::less<unsigned short>,class std::allocato
r<class CInstanceInfo> >(void)"
(??1?$_Tree@GU?$pair@$$CBGVCInstanceInfo@@@std@@U_Kfn@?$map@GVCInstanceInfo@
@U?$less@G@std@@V?$allocator@VCInstanceInfo@@@3@@2@U?$less@G@2@V?$allocator@
VCInstanceInfo@@@2@@std@@QAE@XZ)
My application is an MFC regular DLL dynamically linking to MFC.
There is no problem when I build the same source code as a simple Win32 DLL.
I am using eVC++ 4.0 SP 3.
Any suggestions and solutions are welcomed.
Thanks
Amar
- Next message: Andrew Cappello: "Talking to a USB printer as if it was a line printer"
- Previous message: Richard Fleming: "Passing Data between an ISR and an IST"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|