CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (http://www.cfd-online.com/Forums/fluent-udf/)
-   -   UDF with fluent 6.3 and Visual S. 2008 (http://www.cfd-online.com/Forums/fluent-udf/47771-udf-fluent-6-3-visual-s-2008-a.html)

allen April 1, 2008 18:23

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


PARXANG April 14, 2008 00:29

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

allen April 18, 2008 08:35

Re: UDF with fluent 6.3 and Visual S. 2008
 
Your suggestions works. thanks a lot!

dunga82 October 23, 2012 04:53

Quote:

Originally Posted by PARXANG
;149968
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

sorry, Do you mean that we need to modify the VC command prompt of my computer?:)


All times are GMT -4. The time now is 18:22.