CFD Online Logo CFD Online URL
Home > Forums > FLUENT

compiling a UDF

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   December 26, 2003, 20:55
Default compiling a UDF
Posts: n/a
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 ?
  Reply With Quote

Old   December 29, 2003, 07:36
Default Re: compiling a UDF
Posts: n/a
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.

  Reply With Quote

Old   January 5, 2004, 20:34
Default Re: compiling a UDF
Rob Hart
Posts: n/a
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.
  Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
About UDF compiling issues: 'nmake' Haoyin Shan Fluent UDF and Scheme Programming 11 October 19, 2017 08:44
UDF compiling problem in Flient 6.3 jeevan kumar FLUENT 3 June 29, 2017 19:00
Compiling UDF on a cluster Adya FLUENT 1 December 14, 2009 12:30
udf compiling problem akr FLUENT 3 August 22, 2007 07:14
On Compiling a UDF David Chabot FLUENT 5 May 20, 2005 09:13

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