CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   UDF Compile Error (https://www.cfd-online.com/Forums/fluent/49187-udf-compile-error.html)

Zach September 4, 2008 11:55

UDF Compile Error
 
I am using parrallel fluent on a windows maching with two processors. When I build my udf library I get a 'nmake' is not recognized as an internal or external command, operable program or batch file error. Then, when I load the library I get another error that says Error: open_udf_library: The system cannot find the file specified. Any ideas?

Thanks,

Zach

Daniel Tanner September 4, 2008 22:15

Re: UDF Compile Error
 
Fluent cannot find your system compilers. You need to have a C compiler to use the compiled udf function. If it is a basic udf, interpreted udf might work.

Good luck.

Zach September 5, 2008 03:28

Re: UDF Compile Error
 
I do already have a compiler installed (visual studio). Any other ideas?

doki September 5, 2008 04:01

Re: UDF Compile Error
 
that may be because of the compiler type. as I have had such problems, in some cases, there seems the system rather tries to find a CPP compiler nor the visual compilers.

Fabio September 6, 2008 04:23

Re: UDF Compile Error
 
Hi, i've got this kind of problem some times ago, the solution in my case was installing Visual Studio and Fluent in the same root directory, if you have already done that try changing the folder with another like \C because i think long path files are not good. I hope this helps

Daniel Tanner September 11, 2008 07:42

Re: UDF Compile Error
 
There is a newer forum discussion on this which may be helpful (http://www.cfd-online.com/Forum/fluent.cgi?read=60629), I posted the following.

*********************

I had the same issue.

You need to use the "Visual Studio Command Prompt" from the start menu in windows to launch fluent. If you are using a 64-bit system use 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!


Madusuthanan September 20, 2008 07:35

Re: UDF Compile Error
 
i also get he similar problem before, i solved this problem by downloading nmake utility from folling id http://support.microsoft.com/default...;en-us;Q132084

execute it and also keep that utility in your \windows\system 32 folder that will solve my problem.

You can try this


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