|
发表于 2010-3-30 20:30:06
|
显示全部楼层
VC6.0下编译驱动程序,总是出错。
--------------------Configuration: I2cAnalyzerApp - Win32 Free--------------------
Compiling...
I2cAnalyzerApp.cpp
E:\ESetupDir\VC6DIR\VC98\INCLUDE\windows.h(24) : fatal error C1017: invalid integer constant expression
I2cAnalyzerIorw.cpp
E:\ESetupDir\VC6DIR\VC98\INCLUDE\windows.h(24) : fatal error C1017: invalid integer constant expression
Error executing cl.exe.
I2cAnalyzerApp.exe - 2 error(s), 0 warning(s)
The following environment variables were not found
$(TARGET_LIB_PATH)
$(CRT_INC_PATH)
$(TARGET_INC_PATH)
$(SDK_LIB_PATH)
$(WINVER)
$(ATL_INC_PATH)
$(NTDDI_VERSION)
$(_WIN32_IE)
$(_WIN32_WINNT)
这个出错
#ifndef WINVER
#define WINVER 0x0400
#else
#if defined(_WIN32_WINNT) && (WINVER < 0x0400) && (_WIN32_WINNT > 0x0400) ///////////////错误
#error WINVER setting conflicts with _WIN32_WINNT setting
#endif
屏蔽掉也不行。 |
|