CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Fluent UDF and Scheme Programming (
-   -   Error in compiling UDF (

shashankshankar April 12, 2012 12:22

Error in compiling UDF
Hi everyone. I am trying to run the missile silo launch tutorial in my system. (Win 7 64 bit, Fluent 6.3.26) when I am building the silo.c file, this error comes

Deleted old libudf\ntx86\2ddp\libudf.dll
1 file(s) copied.
(system "copy c:\\fluent6.3.26\src\makefile_nt.udf libudf\ntx86\2ddp\makefile")
1 file(s) copied.
(chdir "libudf")()
(chdir "ntx86\2ddp")()
c:\\fluent6.3.26\src\config.h(119) : error C2143: syntax error : missing '{' before ':'
c:\\fluent6.3.26\src\config.h(119) : error C2059: syntax error : ':'
c:\\fluent6.3.26\cortex\src\dll.h(58) : error C2061: syntax error : identifier 'CX_DLL_GetProc'
c:\\fluent6.3.26\cortex\src\dll.h(58) : error C2059: syntax error : ';'
c:\\fluent6.3.26\cortex\src\dll.h(58) : error C2059: syntax error : 'type'


and when i try to load it,

"C:/IIT Delhi 2011/SEM 2/Minor Project/silo/silo"

Opening library "libudf"...
Error: open_udf_library: The system cannot find the file specified.

Error Object: ()

I installed visual studio 10.0 and .NET sdk and running Fluent from sdk command prompt. Can anyone please guide me?

johnwayne April 23, 2012 13:24


I guess your UDF is not compiled properly as there are bugs as shown in the error msg.

t.krishnamohan April 23, 2012 21:19

If you do not check set environment variables button when installing Visual stdio you will get error messages while compliling udfs.


nimakarimi August 10, 2012 02:47

hi can you send your udf (silo,c) to me???
my Email:

mohsenz_136 September 24, 2012 18:19

hi how do you run fluent? SDK 64 or visual studio 2008 command prompt if run fluent with sdk please run with visual studio and please you sent udf.c for me

fluentworkshop September 25, 2012 04:49

Hi guys
This problem is in environment variable of your OS.
you must set environment variables of FLUENT and VS 2010.

sorkhani November 13, 2012 13:49

i saw errors like this, but when i restarted my windows,the udf worked properly.
could you send your udf (silo,c) to me,please???
my Email:

Vania February 23, 2016 11:41

Tutorial Files

Please see this file
I think this is a useful file:

mamad7192 October 1, 2017 16:20

did you solve the problem?
i have the same issue.

Prabhumsrit December 1, 2017 07:01

Please send missile silo launch folder
silo.c and mesh file

All times are GMT -4. The time now is 01:54.