这是什么错误啊?无法解析外部符号

wb175208 2011-07-27 11:50:21
1>LINK : warning LNK4232: 名称 导图V.exe 包含非 ASCII 字符,在具有除 936 以外的 ANSI 代码页的系统上可能不能加载 DLL
1>SNHandPane.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > __cdecl mbcs_to_unicode(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?mbcs_to_unicode@@YA?AV?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z)
1>SNMainWnd.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > __cdecl mbcs_to_unicode(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?mbcs_to_unicode@@YA?AV?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z)
1>SuperNavigator.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > __cdecl mbcs_to_unicode(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?mbcs_to_unicode@@YA?AV?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z)
1>VocListWnd.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > __cdecl mbcs_to_unicode(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?mbcs_to_unicode@@YA?AV?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z)
1>SetIntervalWnd.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > __cdecl mbcs_to_unicode(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?mbcs_to_unicode@@YA?AV?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z)
1>SetMapBase.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > __cdecl mbcs_to_unicode(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?mbcs_to_unicode@@YA?AV?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z)
1>SetProj.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > __cdecl mbcs_to_unicode(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?mbcs_to_unicode@@YA?AV?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z)
1>SetUintWnd.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > __cdecl mbcs_to_unicode(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?mbcs_to_unicode@@YA?AV?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z)
1>PointWnd.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > __cdecl mbcs_to_unicode(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?mbcs_to_unicode@@YA?AV?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z)
...全文
342 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
northcan 2011-07-27
  • 打赏
  • 举报
回复
楼主的stl库的路径是否有问题。
northcan 2011-07-27
  • 打赏
  • 举报
回复
看样子有点像是用了stl::string。
楼主的stl库的路径有问题。
91program 2011-07-27
  • 打赏
  • 举报
回复
LZ,麻烦你说说自己的编译环境

最好能说说编译什么东东出现这样的错误
wb175208 2011-07-27
  • 打赏
  • 举报
回复
自己再顶一下。。。
wb175208 2011-07-27
  • 打赏
  • 举报
回复
VS2005 在WinCE6.0导出的SDK下,采用dshow框架开发录像程序,其中将属性中 C\C++->语言->将wchar_t视为内置类型 改为 否(/Zc:wchar_t)就会出现以上问题,若不改的话,自己编写的摄像头控制类就编译不通过,反正就是改不改都是编译不过去!郁闷。。。

19,502

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 嵌入开发(WinCE)
社区管理员
  • 嵌入开发(WinCE)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧