CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   fatal error when compiling udf (https://www.cfd-online.com/Forums/fluent-udf/129874-fatal-error-when-compiling-udf.html)

Nad213 February 14, 2014 15:24

fatal error when compiling udf
 
Hi, I need help please
When i try to compile udf i have this error:

1 fichier(s) copi‚(s).
(system "copy C:\Fluent.Inc\fluent6.3.26\src\makefile_nt.udf libudf\ntx86\2ddp\makefile")
1 fichier(s) copi‚(s).
(chdir "libudf")()
(chdir "ntx86\2ddp")()
conduct.c
# Generating udf_names.c because of makefile conduct.obj
udf_names.c
# Linking libudf.dll because of makefile user_nt.udf udf_names.obj conduct.obj
Microsoft (R) 32-Bit Library Manager Version 3.00.5270
Copyright (C) Microsoft Corp 1992-1995. All rights reserved.

LINK : fatal error LNK1181: cannot open input file "fl6326s.lib"

knowing that when i use interpreted that's ok.
Best regards ...

pakk February 15, 2014 08:58

This is probably because you have already compiled and loaded the udf before, and it is still in the memory. The compiler wants to change the library, but this is not allowed because it is still loaded.

What you should do before compiling: go to user-defined-functions -> manage. Probably you will see a library there (libudf), that should not be there. Click it, and click 'unload'. Then try the compiling process again.

Nad213 February 16, 2014 14:06

Fatal error
 
Hi every body
I try please i need help, when i compile my udf with MDS c++ i have this error:
fatal error C1083: Cannot open include file: 'udf.h': No such file or directory
because i can't compile my udf in fluent
Best regards...


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