CFD Online Logo CFD Online URL
Home > Forums > FLUENT

udf compilation

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

LinkBack Thread Tools Display Modes
Old   August 10, 2000, 09:39
Default udf compilation
Posts: n/a
Hello, I am contacting you for help concerning the makefile under windows NT for the Fluent5 compiled UDF with additional object files. I tried the following modification of the object line in 'makefile':

OBJECTS = $(UDF_OBJECT) $(SRC_OBJECT) additional.obj

which is simply the same modif as on UNIX where it is working: we add the list of additional object files.

The error message I get when running nmake is 'cannot find dfor.lib' and is related to the linking.

Under Unix we had to use the correct flags (-lm) when compiling and linking to allow access to external mathematical functions such as exp(), cos(), min, max...

It seems to me that we miss just a little modification on the linking part (path, or options) to make it work under NT with cl compiler. I would like to require your help on this matter.


  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
UDF compilation error Szabolcs Varga Fluent UDF and Scheme Programming 4 September 14, 2015 05:27
UDF compilation problem on Linux System Nitin Pathak FLUENT 1 July 10, 2014 11:41
UDF compilation problem -- "undeclared variable" Henrik Ström FLUENT 1 September 21, 2005 05:25
UDF compilation error Szabolcs Varga FLUENT 2 April 14, 2004 10:12
Compiled UDF / Compilation problem mikhail FLUENT 1 October 13, 2000 06:12

All times are GMT -4. The time now is 23:04.