CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Why udf can not be compiled in my pc? (http://www.cfd-online.com/Forums/fluent/65291-why-udf-can-not-compiled-my-pc.html)

Xinqiang June 10, 2009 14:32

Why udf can not be compiled in my pc?
 
Hi, everyone

I am a beginner of fluent. I encouter a problem about the udf. My fluent can interpret udf, but it can not compile udf . When I compile the udf which can be compiled in other guys' computers, my Fluent show the below error message:

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'
(system "copy c:\fluent.inc\fluent6.3.26\src\makefile_nt.udf libudf3\win64\2ddp_node\makefile")
1 file(s) copied.
(chdir "libudf3")()
(chdir "win64\2ddp_node")()
boiling.c
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'
Done.
Opening library "libudf3"...
Error: open_udf_library: The system cannot find the file specified.
Error Object: #f
Interrupting...
Done.

At first, I thought maybe something wrong with my Fluent, so I reinstall the Fluent. However, the condition was the same when I compiled the UDF. Does anyone know the reason? Thanks

And my computer system is MW XP, Professional x64 Edition, Version 2003, Service Pack 2.


Xinqiang


All times are GMT -4. The time now is 20:49.