error while compiling a udf

 Register Blogs Members List Search Today's Posts Mark Forums Read

 August 10, 2006, 00:20 error while compiling a udf #1 rahul Guest   Posts: n/a hi, I am trying to compile a udf to use a dynamic mesh. I am geting following error message, i did the same way as given in udf manual. When i try to build this udf this msg is displayed. 1 file(s) copied. (system "copy C:\Fluent.Inc\fluent6.2.16\src\makefile_nt.udf libudf2\ntx86\3ddp\makefile") 1 file(s) copied. 0 (chdir "libudf2")() (chdir "ntx86\3ddp")() '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. could somebody let me know how i should overcome this problem. thank you Rahul

 August 17, 2006, 16:30 Re: error while compiling a udf #3 Blas Guest   Posts: n/a Hi Rahul/albert I'm experiencing the same problem. Do I have to install/run these files once downloaded? Also, I looked for the nmake file in my computer but the search engine did not find it, could you help me out? Thanks Blas

 August 18, 2006, 02:40 Re: error while compiling a udf #4 Albert F. Guest   Posts: n/a As far as I'm concerned you have to install those programes unless you have installed another programe that is also compatible but I only can suggest what I've experienced... Refering to the nmake file please, make sure if you have the following directory, in my computer is here. C:\Program Files\Microsoft.NET\SDK\v1.1\Bin

 August 18, 2006, 06:37 Re: error while compiling a udf #5 Blas Guest   Posts: n/a Hi Albert, thanks for your response. I only have C:\Program Files\Microsoft.NET\primary interop assemblies but not what you describe. Maybe it's created when I install the downloaded files?

 August 18, 2006, 07:24 Re: error while compiling a udf #6 Albert F. Guest   Posts: n/a Yes, I think that this paths vary depending on your instalation, but I think the path I send you was the default one. Anyway, try to run search engine in the microsoft.net directory and nmake.exe should appears. If it doesn't I don't know what to do because the steps I posted were the onces I followed. Good luck and tell me if all is solved! Albert.

 August 18, 2006, 13:14 Re: error while compiling a udf #7 Blas Guest   Posts: n/a I found the nmake file now, but which path do I need to attach to this file and how? Thanks again Blas

 August 21, 2006, 02:30 Re: error while compiling a udf #8 Albert F. Guest   Posts: n/a At the same panel of enviroment settings you have different options. One is path. If you select this option a window will appear and you have to copy the direction of the folder where is nmake file.

 August 22, 2006, 08:00 Re: error while compiling a udf #9 Blas Guest   Posts: n/a Hi albert, I could solve the nmake error and apparently I can now compile but I have trouble with loading the compiled file though, as I keep getting the following error: Deleted old libudf\ntx86\2d\libudf.dll The system cannot find the specified file. 1 file copied. (system "copy D:\Fluent.Inc\fluent6.2.16\src\makefile_nt.udf libudf\ntx86\2d\makefile") 1 file copied. 0 (chdir "libudf")() (chdir "ntx86\2d")() Done. "d:/fluent.inc/fluent6.1/src" Opening library "libudf"... Error: open_udf_library: The system cannot find the specified file. Error Object: () Any idea of what might be happening? Thanks

 August 22, 2006, 08:13 Re: error while compiling a udf #10 Albert F. Guest   Posts: n/a I don't know if it will help you but you could try a couple of things: Create a working directory with the following carachteristics: - Only .cas file and .c file inside the dictory - The name of the udf cannot contain strange carachters like '?*/.!... - Be sure that the name of the working directory and the previous ones does not contain spaces. I mean call myworkingdirectory instead of my working directory If all is correct, you modified path and includes in enviroment settings and .net framework 1.1 is installed should works well. When I was in your situation I followed the instructions I posted a few messages above and now all is working fine. I hope it help you

 August 30, 2006, 08:33 Re: error while compiling a udf #11 Blas Guest   Posts: n/a Hi Albert Finally I had to install Ms Visual Studio 6.0 as my C compiler and everything is working properly now. Thanks for your help anyway. Regards