回复帖子:(yy)使用VS2008编译EM335X工程时,需要将VS20...

用户名:   *您没有注册?
密码:   *忘记论坛密码?    标题采用“回复:XXX....”
验证码 点击获取验证码
主题标题:  *不得超过 200 个汉字
当前心情
上一页 发帖表情 下一页
内容
  

主题最新回顾(发布时间:2016-7-28 10:30:00)
--  作者:yy
--  
使用VS2008编译EM335X工程时,需要将VS2008 sp1补丁打上,另外还需要打一个补丁VisualStudioDeviceWindowsEmbeddedCompact7.msi我们光盘里有提供。

主题最新回顾(发布时间:2016-7-27 9:10:00)
--  作者:客人(125.71.*.*)
--  VS2008下编写DLL遇见问题
在VS2008下编写动态链接库,开发平台为贵公司的EM335X,VS2008下创建一个空的例程,编译后报错,


图片点击可在新窗口打开查看
1>c:\program files\windows ce tools\sdks\em335x\include\armv4i\stdlib.h(603) : error C2086: “int __checkReturn_opt”: 重定义
1>        c:\program files\windows ce tools\sdks\em335x\include\armv4i\stdlib.h(503) : 参见“__checkReturn_opt”的声明
1>c:\program files\windows ce tools\sdks\em335x\include\armv4i\stdlib.h(606) : error C2144: 语法错误 : “int”的前面应有“;”
1>c:\program files\windows ce tools\sdks\em335x\include\armv4i\stdlib.h(606) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>c:\program files\windows ce tools\sdks\em335x\include\armv4i\stdlib.h(606) : error C2086: “int __checkReturn_opt”: 重定义
1>        c:\program files\windows ce tools\sdks\em335x\include\armv4i\stdlib.h(503) : 参见“__checkReturn_opt”的声明
1>c:\program files\windows ce tools\sdks\em335x\include\armv4i\stdlib.h(609) : error C2146: 语法错误 : 缺少“;”(在标识符“wint_t”的前面)
1>c:\program files\windows ce tools\sdks\em335x\include\armv4i\stdlib.h(609) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>c:\program files\windows ce tools\sdks\em335x\include\armv4i\stdlib.h(609) : error C2086: “int __checkReturn_opt”: 重定义
1>        c:\program files\windows ce tools\sdks\em335x\include\armv4i\stdlib.h(503) : 参见“__checkReturn_opt”的声明
1>c:\program files\windows ce tools\sdks\em335x\include\armv4i\stdlib.h(610) : error C2146: 语法错误 : 缺少“;”(在标识符“wint_t”的前面)
1>c:\program files\windows ce tools\sdks\em335x\include\armv4i\stdlib.h(610) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>c:\program files\windows ce tools\sdks\em335x\include\armv4i\stdlib.h(610) : error C2086: “int __checkReturn_opt”: 重定义
1>        c:\program files\windows ce tools\sdks\em335x\include\armv4i\stdlib.h(503) : 参见“__checkReturn_opt”的声明
1>c:\program files\windows ce tools\sdks\em335x\include\armv4i\stdlib.h(611) : error C2146: 语法错误 : 缺少“;”(在标识符“wint_t”的前面)
1>c:\program files\windows ce tools\sdks\em335x\include\armv4i\stdlib.h(611) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>c:\program files\windows ce tools\sdks\em335x\include\armv4i\stdlib.h(611) : error C2086: “int __checkReturn_opt”: 重定义
1>        c:\program files\windows ce tools\sdks\em335x\include\armv4i\stdlib.h(503) : 参见“__checkReturn_opt”的声明
1>c:\program files\windows ce tools\sdks\em335x\include\armv4i\stdlib.h(612) : error C2144: 语法错误 : “wchar_t”的前面应有“;”
1>c:\program files\windows ce tools\sdks\em335x\include\armv4i\stdlib.h(612) : fatal error C1003: 错误计数超过 100;正在停止编译
1>生成日志保存在“file://c:\Users\Administrator\Desktop\新建文件夹 (5)\11\11\EM335x (ARMv4I)\Debug\BuildLog.htm”


以上为部分错误代码,工程创建参考你们的http://www.emtronix.com/article/article2012493.html这篇文章,想请教着具体是什么原因造成的,谢谢