|
[Sponsors] |
September 9, 2008, 18:56 |
udf compiling error concerning 'nmake'
|
#1 |
Guest
Posts: n/a
|
Hi Guys, I am going through one of Fluent's tutorials and there is UDF that I need to compile. Every time that I try to compile the C program using Fluent (exactly as described in the tutorial), I got the error message that "'nmake' is not recognized as an internal or external command, operable program or batch file".
Since this is a udf written by Fluent people, it should be error-free so I wonder if there is something else that is wrong. Thanks a lot. |
|
September 10, 2008, 08:25 |
Re: udf compiling error concerning 'nmake'
|
#2 |
Guest
Posts: n/a
|
hi, you need to install VC++ in your system to avoid this 'nmake' error while compiling.
|
|
September 10, 2008, 10:51 |
Re: udf compiling error concerning 'nmake'
|
#3 |
Guest
Posts: n/a
|
Thanks so much. That's what I kind of remembered too because I used it four years ago.
Best. |
|
September 10, 2008, 16:14 |
Re: udf compiling error concerning 'nmake'
|
#4 |
Guest
Posts: n/a
|
I've had VC++ installed on my windows and it still gives the same 'nmake' error. On the other hand, I tried to start Fluent from the VC++ command prompt and now the 'nmake' error is gone. However, it starts to give error message like this:
c:\fluent.inc\fluent6.3.26\src\config.h(119) : error C2143: syntax error : missing '{' before ':' c:\fluent.inc\fluent6.3.26\src\config.h(119) : error C2059: syntax error : ':' c:\fluent.inc\fluent6.3.26\cortex\src\dll.h(58) : error C2061: syntax error : identifier 'CX_DLL_GetProc' c:\fluent.inc\fluent6.3.26\cortex\src\dll.h(58) : error C2059: syntax error : ';' c:\fluent.inc\fluent6.3.26\cortex\src\dll.h(58) : error C2059: syntax error : 'type'. I guess this is some kind of DLL error and I am not sure how to resolve this either. Thanks for the help. |
|
September 11, 2008, 08:33 |
Re: udf compiling error concerning 'nmake'
|
#5 |
Guest
Posts: n/a
|
Violet, I had the same issue.
I used the "Visual Studio Command Prompt" as you have and received the same error. As I am using a 64-bit system I found that you need to used the 64-bit version not the standard i.e. for me I use "Visual studio 2008 x64 Win64 Command Prompt". Also make sure you launch fluent from the directory containing the C files! Hope this helps! |
|
September 11, 2008, 11:59 |
Re: udf compiling error concerning 'nmake'
|
#6 |
Guest
Posts: n/a
|
Thank Daniel for your response. I am also using a 64bit intel machine and I have VC++ 2005 on my computer. I started Fluent form a SDK v2.0(64bit) console and now it works. Though there are some warnings there.
|
|
October 23, 2012, 07:27 |
|
#7 | |
New Member
dengjiajia
Join Date: Sep 2011
Posts: 14
Rep Power: 15 |
Quote:
Could you please help me . thanks. |
||
|
|
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 |
Errors when Compiling UDF: error C2040/error C2099 | Julian K. | FLUENT | 1 | December 21, 2008 01:23 |
what does nmake is invalid command [nmake] mean? | chunying | FLUENT | 0 | December 21, 2007 05:30 |
'nmake'-error when compiling an UDF | Ted | FLUENT | 4 | February 15, 2007 19:56 |
NMAKE COMMANDIN COMPILING | svh | FLUENT | 2 | September 30, 2004 08:12 |