CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   UDF compiling problem in Windows (

Mazyar April 25, 2006 23:00

UDF compiling problem in Windows

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.


All times are GMT -4. The time now is 03:28.