CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Why I have error compiling UDF with FLUENT12 while no error with Fluent 6.33? (https://www.cfd-online.com/Forums/fluent/71592-why-i-have-error-compiling-udf-fluent12-while-no-error-fluent-6-33-a.html)

josh_z January 8, 2010 12:18

Why I have error compiling UDF with FLUENT12 while no error with Fluent 6.33?
 
I have the same UDF which can be compiled with Fluent 6.33. But when I use Flunet 12 (win64), the following errors appeared:

c:\eng_apps\ansys_inc\fluent12\v120\fluent\fluent1 2.0.16\src\config.h(110) : error C2143: syntax error : missing '{' before ':'
c:\eng_apps\ansys_inc\fluent12\v120\fluent\fluent1 2.0.16\src\config.h(110) : error C2059: syntax error : ':'
c:\eng_apps\ansys_inc\fluent12\v120\fluent\fluent1 2.0.16\cortex\src\dll.h(64) : error C2061: syntax error : identifier 'CX_DLL_GetProc'
c:\eng_apps\ansys_inc\fluent12\v120\fluent\fluent1 2.0.16\cortex\src\dll.h(64) : error C2059: syntax error : ';'
c:\eng_apps\ansys_inc\fluent12\v120\fluent\fluent1 2.0.16\cortex\src\dll.h(64) : error C2059: syntax error : 'type'

Any suggestions? Thanks in advance

herntan January 11, 2010 02:49

Go download the latest Fluent 12.1

i had post this before, the fluent 12.0 is not stable.
http://www.cfd-online.com/Forums/flu...ent-6-2-a.html

josh_z January 11, 2010 11:17

Thank very much for your information
 
I will try to get the new version and see if it works.


All times are GMT -4. The time now is 03:44.