CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   compiling a UDF (https://www.cfd-online.com/Forums/fluent/32763-compiling-udf.html)

co2 December 26, 2003 19:55

compiling a UDF
 
I am trying to follow the steps in the UDF manual at

7.3.3 Compiling and Building Your Shared Library

to compile a particular UDF.

When I give the nmake command at the command prompt, I am getting the following error --

R:\1\libreactor\ntx86\2d>nmake clean

Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

Could Not Find R:\1\libreactor\ntx86\2d\*.dll

Can someone tell me what is going on ? What am I doing wrong ?

emma December 29, 2003 06:36

Re: compiling a UDF
 
If you compile udf in windows, you'd better install one c /c++ compiler, e.g. visual c++ 6.0, and make sure that all the necessary dynamic library files are installed. Hope it helps somehow.

Emma

Rob Hart January 5, 2004 19:34

Re: compiling a UDF
 
Can't say I've done this under windows, but....

"nmake clean" is probably designed to clean up the files created by compiling the UDF. I imagine it is trying to delete all the .dlls, but in this case you don't have any.

I am not familar with microsoft make, but under unix you can do something like:

make -k clean

which ignores errors.

Alternatively open up the Makefile in a text editor, and see what it is doing.


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