CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

udf compilation

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 10, 2000, 10:39
Default udf compilation
  #1
jy
Guest
 
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.

Regards,

jy
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF compilation problem on Linux System Nitin Pathak Fluent UDF and Scheme Programming 6 September 29, 2018 21:26
UDF compilation error Szabolcs Varga Fluent UDF and Scheme Programming 4 September 14, 2015 06:27
UDF compilation problem -- "undeclared variable" Henrik Ström FLUENT 1 September 21, 2005 06:25
UDF compilation error Szabolcs Varga FLUENT 2 April 14, 2004 11:12
Compiled UDF / Compilation problem mikhail FLUENT 1 October 13, 2000 07:12


All times are GMT -4. The time now is 02:49.