❶ 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