❶ fluent udf配置编译报错,急求啊,调试一天半了,要疯了
这个是标准方法:
Fluent13+若安装的是VS 2010, 在C盘,那么环境变量(INCLUDE, LIB, Path)是:
32位计算机:
1,右键“我的电脑”—属性—高级—环境变量
2,在fluent安装文件夹下双击setenv.exe 点“是”(C:\Program Files\ANSYS Inc\v130\fluent\ntbin\setenv.exe)
INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include
LIB =C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib
Path=C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
64位:位计算机:
1,右键“我的电脑”—属性—高级—环境变量
2,在fluent安装文件夹下双击setenv.exe 点“是”(C:\Program Files\ANSYS Inc\v130\fluent\ntbin\win64\setenv.exe)
INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include
LIB =C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib\amd64;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib\x64
Path=C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE