|
发表于 2016-11-15 21:48:41
|
显示全部楼层
跪求牛人帮忙看看我的编译错误:
--------------------Configuration: Wave - Win32 Debug--------------------
Compiling...
Wave.cpp
C:\Documents and Settings\Administrator\桌面\源码\养鸡场X2\MemLoader\Wave.cpp(207) : error C2065: '__in' : undeclared identifier
C:\Documents and Settings\Administrator\桌面\源码\养鸡场X2\MemLoader\Wave.cpp(207) : error C2146: syntax error : missing ')' before identifier 'HINSTANCE'
C:\Documents and Settings\Administrator\桌面\源码\养鸡场X2\MemLoader\Wave.cpp(207) : warning C4229: anachronism used : modifiers on data are ignored
C:\Documents and Settings\Administrator\桌面\源码\养鸡场X2\MemLoader\Wave.cpp(207) : error C2373: 'WinMain' : redefinition; different type modifiers
c:\program files\microsoft visual studio\vc98\include\winbase.h(1075) : see declaration of 'WinMain'
C:\Documents and Settings\Administrator\桌面\源码\养鸡场X2\MemLoader\Wave.cpp(207) : error C2059: syntax error : ')'
C:\Documents and Settings\Administrator\桌面\源码\养鸡场X2\MemLoader\Wave.cpp(208) : error C2143: syntax error : missing ';' before '{'
C:\Documents and Settings\Administrator\桌面\源码\养鸡场X2\MemLoader\Wave.cpp(208) : error C2447: missing function header (old-style formal list?)
WaveView.cpp
C:\Documents and Settings\Administrator\桌面\源码\养鸡场X2\MemLoader\WaveView.cpp(399) : error C2065: 'HEAP_CREATE_ENABLE_EXECUTE' : undeclared identifier
C:\Documents and Settings\Administrator\桌面\源码\养鸡场X2\MemLoader\WaveView.cpp(523) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
Generating Code...
执行 cl.exe 时出错.
Cache.dat - 1 error(s), 0 warning(s)
感谢感谢。
我百度说没有include windows.h。但是我在cpp文件中添加了#include <windows.h>,错误依旧。还有说没有安装windows sdk的。求大牛指点,我该怎么办?晚辈先谢过了。 |
|