CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Need help in Compiled UDF. (https://www.cfd-online.com/Forums/fluent/34137-need-help-compiled-udf.html)

Hp July 7, 2004 12:39

Need help in Compiled UDF.
 
Hello,

I have some problem in using compiled UDF in FLUENT 6.1.22. I am using Mircosoft visual studio 6.0 as compiler. I try a simple UDF "Profile.c" from user manual. The information is as following.

-------------------------- 1 file(s) copied. (system "move user_nt.udf libudf\ntx86\2ddp")0 (system "copy C:\FLUENT.INC\fluent6.1.22\src\makefile_nt.udf libudf\ntx86\2ddp\makefile") 1 file(s) copied. 0 (chdir "libudf")() (chdir "ntx86\2ddp")() Profile1.c C:\FLUENT.INC\fluent6.1.22\cortex\src\dll.h(53) : fatal error C1083: Cannot open include file: 'stdarg.h': No such file or directory

Done. ------------------------

I find the file 'stdarg.h' in the directory of "C:"\Program files\Microsoft Visual studio\VC98\Include" and browse it into the header file. Then I get the following information:

-------------------------------------------- The system cannot find the file specified.

1 file(s) copied. (system "move user_nt.udf libudf\ntx86\2ddp")0 (system "copy C:\FLUENT.INC\fluent6.1.22\src\makefile_nt.udf libudf\ntx86\2ddp\makefile") 1 file(s) copied. 0 (chdir "libudf")() (chdir "ntx86\2ddp")()

Done. ------------------------------------------

When I load the library "libudf", I get the following information

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

Error Object: () ------------------------------------

So What is wrong with this?

Early reply will be appreciated. Thank you very much!

Hp


ap July 18, 2004 07:34

Re: Need help in Compiled UDF.
 
Your compiler is not able to find the file 'stdarg.h'.

Probably it is not in a directory included in the Include path of the compiler. Check your compiler environment variables.

P.S. I think you could find some more discussion and help on this topic in the forum. It seems an already discussed problem.

Hi :)

ap


All times are GMT -4. The time now is 05:16.