CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   udf problem-help please (https://www.cfd-online.com/Forums/fluent/44858-udf-problem-help-please.html)

free May 30, 2007 04:47

udf problem-help please
 
Hi i have problem about using udf: after building i recived bellow message: 1 file(s) copied. (system "copy F:\Fluent.Inc\fluent6.3.26\src\makefile_nt.udf libudf\ntx86\2ddp\makefile")

1 file(s) copied. (chdir "libudf")() (chdir "ntx86\2ddp")() '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.

if possible please help me. Best Free


Guru May 30, 2007 08:19

Re: udf problem-help please
 
Hi,

looking at the error, it seems that u shud be compiling the UDF (and not interpreting it) Just check out if you properly installed the C compiler in your machine.

check out with following commands in command prompt.

** link/version ** cl

with these commands you should get the version of the compiler suggested for the your present Fluent version

thanx, -Guru.


free May 30, 2007 11:11

Re: udf problem-help please
 
Dear Guru i did it ,and i installed MS visual studio6 on my system.ibut i recived that message. finally i shoiuld say, i compile my udf. realy i dont know ,how solve it! Best Free


jasond May 30, 2007 15:29

Re: udf problem-help please
 
This is the standard result when there is some problem with the installation of visual studio. It is possible to install VS without properly setting up the command line version, and then Fluent can't find it. Try this:

1) Open a command window

2) Enter "nmake" (no quotes) - note the result

As far as I know, if the result is "'nmake' is not recognized... etc", then Fluent won't be able find nmake. You'll either need to reinstall VS or fix the current installation.

Jason


Henrik May 31, 2007 06:26

Re: udf problem-help please
 
When you install VS, make sure you allow it to add information to the environmental PATH-variable in Windows (if using a Windows machine). Otherwise, Fluent won't be able to find nmake when you want to compile. You may have to restart your computer after having installed VS for this to take effect as well.

/Henrik

free June 3, 2007 04:25

Re: udf problem-help please
 
Hi i reinstall VS and select "register enviroment varible ", during instalation . and now i dont have any problem. tankx all for attention,i wish u success in ur life. Free

jasond June 3, 2007 13:41

Re: udf problem-help please
 
At what point did you make the selection, and is that the exact wording? Any details you can provide would be helpful. I ask because I would like to include this info in the Fluent FAQ, and I have not installed VS myself (for Fluent purposes, anyway).

Jason

free June 11, 2007 13:56

Re: udf problem-help please
 
hi during indtallation of VS, you face whit a option by thid title: "register enviroment varible ". u should check it . and click to next. is it enough? Bye

jasond June 12, 2007 10:38

Re: udf problem-help please
 
Yes, that should help. I'll add it to the FAQ soon.


All times are GMT -4. The time now is 09:47.