CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   UDF compiling problem in Windows (https://www.cfd-online.com/Forums/fluent/40751-udf-compiling-problem-windows.html)

Mazyar April 25, 2006 23:00

UDF compiling problem in Windows
 
Hello.

Thanks for your ineterest in reading my question. I used to use UDFs on unix, but know when I run it in a Windows machine I get the following errors. Do you have any idea what can be wrong?

Thanks Mazyar

When I use cpp:

CPP -IC:\Fluent.Inc\fluent6.2.16/src -IC:\Fluent.Inc\fluent6.2.16/cortex/src -IC:\Fluent.Inc\fluent6.2.16/client/src -IC:\Fluent.Inc\fluent6.2.16/multiport/src -I. -DUDFCONFIG_H="<udfconfig.h>" C:\CFD\2D jets\test.c Error: C:\CFD\2D jets\test.c: line 1: parse error.

when I use: cl -E

cl -E -IC:\Fluent.Inc\fluent6.2.16/src -IC:\Fluent.Inc\fluent6.2.16/cortex/src -IC:\Fluent.Inc\fluent6.2.16/client/src -IC:\Fluent.Inc\fluent6.2.16/multiport/src -I. -DUDFCONFIG_H="<udfconfig.h>" C:\CFD\2D jets\test.c

error: udf compiler: cannot execute cl -E -IC:\Fluent.Inc\fluent6.2.16/src -IC:\Fluent.Inc\fluent6.2.16/cortex/src -IC:\Fluent.Inc\fluent6.2.16/client/src -IC:\Fluent.Inc\fluent6.2.16/multiport/src -I. -DUDFCONFIG_H="<udfconfig.h>" C:\CFD\2D jets\test.c

rom April 26, 2006 01:48

Re: UDF compiling problem in Windows
 
Dont use spaces in directory or file names under Windows. Rename your directory to "2D_jets", this will hopefully solve the problem.

RoM


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