georgebarjoud

VS2005 problem compiling OpenCL examples

Discussion created by georgebarjoud on Oct 22, 2009
Latest reply on Nov 22, 2009 by omkaranathan
Problems compiling with VS2005

I'm trying to compile the OpenCL example solution in VS2005. I had to force the solution to load in VS2005, but all seemed well expect 2 linker errors. I have attached the output.

 

Thanks for any advice.

Linking... SDKUtil.lib(SDKFile.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_Locinfo::_Locinfo_ctor(class std::_Locinfo *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?_Locinfo_ctor@_Locinfo@std@@SAXPEAV12@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z) SDKUtil.lib(SDKCommon.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_Locinfo::_Locinfo_ctor(class std::_Locinfo *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?_Locinfo_ctor@_Locinfo@std@@SAXPEAV12@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z)

Outcomes