|
[Sponsors] |
October 11, 2007, 13:22 |
UDF problem
|
#1 |
Guest
Posts: n/a
|
Dear experts,
I was wondering what may be the cause of my UDF not working on a windows machine (the same UDF works on a Linux platform without any problems.) Any insights would be extremely welcome. |
|
October 12, 2007, 03:58 |
Re: UDF problem
|
#2 |
Guest
Posts: n/a
|
Are you facing problem in the compiling / interpreting or the actual results from the UDF?
|
|
October 12, 2007, 14:35 |
Re: UDF problem
|
#3 |
Guest
Posts: n/a
|
Hello and thanks for the reply! My UDF will not compile on a Windows platform. However, the UDF compiles on Linux and works as designed to (although the code is rather complicated, over 1500 lines!) This is the following print out when attempting to compile this UDF on Windows:
Deleted old libudf\ntx86\3d\libudf.dll 1 file(s) copied. 1 file(s) copied. (system "copy C:\Fluent.Inc\fluent6.3.26\src\makefile_nt.udf libudf\ntx86\3d\makefile") 1 file(s) copied. (chdir "libudf")() (chdir "ntx86\3d")() '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. |
|
October 12, 2007, 18:30 |
Re: UDF problem
|
#4 |
Guest
Posts: n/a
|
You don't have a properly set up compiler. Take a look at the FAQ and/or search the forums - this issue comes up a lot.
Jason D. |
|
October 13, 2007, 00:36 |
Re: UDF problem
|
#5 |
Guest
Posts: n/a
|
Hi, Have you loaded C compiler. If you have MS Visual Stdio, load VC++ and while loading you need to set the environmental variables. If this is done, you wont get the problem which you were mentioning. Rgds,
|
|
October 15, 2007, 08:37 |
Re: UDF problem
|
#6 |
Guest
Posts: n/a
|
That is a good suggestion. Would just like to add to it.
Once you have set the environment, might be good to start FLUENT from the VC++ prompt and not at the windows mode. Cheers, Woo |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM | Rizwan | Fluent UDF and Scheme Programming | 40 | March 18, 2018 06:05 |
Problem with my udf | july | Fluent UDF and Scheme Programming | 3 | June 20, 2010 06:56 |
UDF problem | mansha goraya | FLUENT | 0 | October 29, 2007 00:31 |
udf compiling problem | akr | FLUENT | 3 | August 22, 2007 07:14 |
UDF problem | chiseung | FLUENT | 4 | January 10, 2002 09:58 |