CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   pls Help!...can't interpret UDF (https://www.cfd-online.com/Forums/fluent-udf/83028-pls-help-cant-interpret-udf.html)

X3mZ December 12, 2010 06:08

pls Help!...can't interpret UDF
 
hi
i have been trying to interprete a file from the Interpreted udf dialog box, but it keeps giving me error. i was asked to install microsoft visual C++... which i did but the error still continues. The error statement reads:

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>" E:\Gambit designs\paraffin_pipe.c
Error: E:\Gambit designs\paraffin_pipe.c: line 1: parse error.

but when i used the command "cl -E", it says:

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>" E:\Gambit designs\paraffin_pipe.c
Error: E:\Gambit designs\paraffin_pipe.c: line 1: parse error.
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86

Can someone please help me. Thank you in advance, I appreciate!

ComputerGuy December 12, 2010 13:05

If you post your code (or a portion of it), it will be easier to diagnose. It looks like there is a problem with the syntax in the first line.


All times are GMT -4. The time now is 04:26.