环境:win10 64位+VS2015 32位 +ansys 16.0
配置:调到环境变量, 用户变量
include C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include C:\Program Files (x86)\Windows Kits\10\Include\10.0.10150.0\ucrt
lib : C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib\x64 C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\lib\amd64 C:\Program Files (x86)\Windows Kits\10\Lib\10.0.10150.0\ucrt\x64;
PATH : C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64 C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools
系统变量:
include C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include C:\Program Files (x86)\Windows Kits\10\Include\10.0.10150.0\ucrt
lib : C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib\x64 C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\lib\amd64 C:\Program Files (x86)\Windows Kits\10\Lib\10.0.10150.0\ucrt\x64;
PATH : C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64 C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools
设置好后,重启电脑,编译,通过即过。