Compilation MSVC9的预处理器工作不正常?

Compilation MSVC9的预处理器工作不正常?,compilation,preprocessor,Compilation,Preprocessor,我尝试在Torque3D引擎项目中编译squish库子项目。 我得到一个编译错误: simd_ve.h ..\..\..\..\..\SourceLib\Torque3D\Torque3D-3.6.3\Engine\lib\squish\simd_ve.h(29) : fatal error C1083: Can't load file include: altivec.h: No such file or directory 在lib自述中,他们说: "By default, the lib

我尝试在Torque3D引擎项目中编译squish库子项目。 我得到一个编译错误:

simd_ve.h
..\..\..\..\..\SourceLib\Torque3D\Torque3D-3.6.3\Engine\lib\squish\simd_ve.h(29) : fatal error C1083: Can't load file include: altivec.h: No such file or directory
在lib自述中,他们说:

"By default, the library is built using Altivec optimisations.
To change this either change or remove SQUISH_USE_ALTIVEC=1 from the preprocessor symbols."
但是SQUISH_USE_ALTIVEC不在项目属性中,编辑器中的弹出帮助程序显示SQUISH_USE_ALTIVEC=0


我不明白发生了什么。

尝试在项目的预处理器设置中设置SQUISH\u USE\u SSE=2。所有cpp都编译得很好,但整个图书馆大楼都遇到了这个错误。如果没有找到头文件,您应该在指责预处理器之前检查它是否在INCLUDE路径中。检查编译器/预处理器调用的实际参数。如果Mag文件中的规则没有正确地设置它们,则应该考虑用您试图构建的库或项目的适当标记来标记问题。