Plz Help to Solve an Error
-
Hi All, I got a link error while compiling my project.The error is in another module ie in another .obj .This is static link library.Can anyone help me to find a solution .The error is given below. error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl std::basic_string<char,struct>,class std::allocator >::basic_string<char,struct>,class std::allocator >(class std::basic_string<char,struct>,class std::allocator > const &)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QEAA@AEBV01@@Z) referenced in function "public: __cdecl std::logic_error::logic_error(class std::basic_string<char,struct>,class std::allocator > const &)" :((
Thanks & Regards VIJITH VIJAYAN
-
Hi All, I got a link error while compiling my project.The error is in another module ie in another .obj .This is static link library.Can anyone help me to find a solution .The error is given below. error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl std::basic_string<char,struct>,class std::allocator >::basic_string<char,struct>,class std::allocator >(class std::basic_string<char,struct>,class std::allocator > const &)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QEAA@AEBV01@@Z) referenced in function "public: __cdecl std::logic_error::logic_error(class std::basic_string<char,struct>,class std::allocator > const &)" :((
Thanks & Regards VIJITH VIJAYAN
1. Are you sure that your application linked with proper lib 2. Are you using any third party libraries like STL Port or something? then make sure you've put it in the right include order
-Sarath. "Great hopes make everything great possible" - Benjamin Franklin
My blog - Sharing My Thoughts
-
1. Are you sure that your application linked with proper lib 2. Are you using any third party libraries like STL Port or something? then make sure you've put it in the right include order
-Sarath. "Great hopes make everything great possible" - Benjamin Franklin
My blog - Sharing My Thoughts
yes i had linked .And thanks for the quick reply
Thanks & Regards VIJITH VIJAYAN