CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   'nmake'-error when compiling an UDF (http://www.cfd-online.com/Forums/fluent/43766-nmake-error-when-compiling-udf.html)

Ted February 15, 2007 07:12

'nmake'-error when compiling an UDF
 
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

kk February 15, 2007 12:18

Re: 'nmake'-error when compiling an UDF
 
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.

Ali February 15, 2007 14:13

Re: 'nmake'-error when compiling an UDF
 
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

kk February 15, 2007 16:27

Re: 'nmake'-error when compiling an UDF
 
I am using microsoft's VC++ express. it is a freeware. you can download it in microsoft's website.

Ali February 15, 2007 19:56

Re: 'nmake'-error when compiling an UDF
 
Thank you very much sir

Do I need to set environment for this software?

Best



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