UDF with fluent 6.3 and Visual S. 2008
I used the Fluent 6.3.26 and Visual Studio to compile user defined functions. but I always have error massages as below. These UDF works fine with Fluent 6.2 and Visual studio2005.
c:\fluent.inc\fluent6.3.26\src\config.h(119) : error C2143: syntax error : missing '{' before ':' c:\fluent.inc\fluent6.3.26\src\config.h(119) : error C2059: syntax error : ':' C:\Fluent.Inc\fluent6.3.26\cortex\src\dll.h(58) : error C2061: syntax error : identifier 'CX_DLL_GetProc' C:\Fluent.Inc\fluent6.3.26\cortex\src\dll.h(58) : error C2059: syntax error : ';' C:\Fluent.Inc\fluent6.3.26\cortex\src\dll.h(58) : error C2059: syntax error : 'type' does anyone have suggestion on how to fix it? many thanks |
Re: UDF with fluent 6.3 and Visual S. 2008
I had the same problem once I switched to 64 bit machine. Maybe you want to run Fluent from Microsoft.net Framework SDK V2.0 (64bit) command prompt instead of the conventional VC command prompt from the start menu. I worked for me.
Good Luck |
Re: UDF with fluent 6.3 and Visual S. 2008
Your suggestions works. thanks a lot!
|
Quote:
|
All times are GMT -4. The time now is 17:58. |