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

'nmake'-error when compiling an UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 15, 2007, 07:12
Default 'nmake'-error when compiling an UDF
  #1
Ted
Guest
 
Posts: n/a
Hi all,

I have 2 questions

1) I have written multiple UDF's to describe material parameters. When i interpreted these UDF's they work just fine, individually. But I don't seem to be able to use multiple interpreted UDF's in 1 case file. Is this correct?

2) I tried to compile the udf's but that leads to this error:

> Deleted old libudf\ntx86\2d\libudf.dll

1 file(s) copied. (system "copy C:\Fluent.Inc\fluent6.2.16\src\makefile_nt.udf libudf\ntx86\2d\makefile") 1 file(s) copied. 0 (chdir "libudf")() (chdir "ntx86\2d")() 'nmake' is not recognized as an internal or external command, operable program or batch file. 'nmake' is not recognized as an internal or external command, operable program or batch file.

Done.

A Similar error is discussed in the thread http://www.cfd-online.com/Forum/flue...cgi/read/27762. One of the reactions reffers to a document I unfortunately can't open, because I'm a student and have no log in. What do I need to do to be able to compile my UDF's?

Thanks in advance,

Ted
  Reply With Quote

Old   February 15, 2007, 12:18
Default Re: 'nmake'-error when compiling an UDF
  #2
kk
Guest
 
Posts: n/a
first , make sure you have a C++ complier installed. Then, use DOS 'path' command to point to the directory in which the nmake is in.
  Reply With Quote

Old   February 15, 2007, 14:13
Default Re: 'nmake'-error when compiling an UDF
  #3
Ali
Guest
 
Posts: n/a
Hello

I have the same problem with 'nmake'. Would you please tell me how I can install C++ compiler? Doesn't it come with fluent? How I can find it. I am a student working on surface reactions, and I have to compile my udf.

Thanks a lot Ali
  Reply With Quote

Old   February 15, 2007, 16:27
Default Re: 'nmake'-error when compiling an UDF
  #4
kk
Guest
 
Posts: n/a
I am using microsoft's VC++ express. it is a freeware. you can download it in microsoft's website.
  Reply With Quote

Old   February 15, 2007, 19:56
Default Re: 'nmake'-error when compiling an UDF
  #5
Ali
Guest
 
Posts: n/a
Thank you very much sir

Do I need to set environment for this software?

Best

  Reply With Quote

Reply


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
About UDF compiling issues: 'nmake' Haoyin Shan Fluent UDF and Scheme Programming 15 November 4, 2019 19:05
udf compiling error concerning 'nmake' Violet Fluent UDF and Scheme Programming 6 October 23, 2012 07:27
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 05:43
Compiling / Loading UDF Martijn FLUENT 1 December 16, 2008 20:06
On Compiling a UDF David Chabot FLUENT 5 May 20, 2005 10:13


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