这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 活动中心 » 合作大赛 » 运行DEMO socket.c,时,报错....

共3条 1/1 1 跳转至

运行DEMO socket.c,时,报错....

菜鸟
2010-12-01 20:19:02     打赏

--------------------Configuration: socket - Win32 Debug--------------------
Compiling...
socket.c
k:\microsoft visual studio\vre ide\include\vmgfxold.h(1) : error C2018: unknown character '0xff'
k:\microsoft visual studio\vre ide\include\vmgfxold.h(1) : error C2018: unknown character '0xfe'
k:\microsoft visual studio\vre ide\include\vmgfxold.h(1) : error C2014: preprocessor command must start as first nonwhite space
k:\microsoft visual studio\vre ide\include\vmgfxold.h(114) : fatal error C1020: unexpected #endif
Error executing cl.exe.

socket.exe - 4 error(s), 0 warning(s)


还有就是如果有"vmgfxold.h"的其他程序,也会报错......  求解中。。。。 谢了 。。。。




关键词: 运行     socket.c     报错    

菜鸟
2010-12-01 20:32:31     打赏
2楼

 The graphic interfaces are changed a lot after VRE1.2.5, therefore the
 * applications based on the interfaces of older VRE should use this file
 * and re-complie for new VRE platform. The file, vmgraph.h, supports the
 * development for new platform. 

把他X掉就可以,好像是为了兼容行把


助工
2010-12-02 21:08:47     打赏
3楼
您好,
  请您手动编辑一下vmgfxold.h 加个空白,然後重新存档, 应该可以编译通过.

共3条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]