CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   about cpp (http://www.cfd-online.com/Forums/fluent/30987-about-cpp.html)

zbtian February 25, 2003 05:09

about cpp
 
cpp -ID:\FLUENT.INC\fluent6.0/src -ID:\FLUENT.INC\fluent6.0/cortex/src -ID:\FLUENT.INC\fluent6.0/client/src -ID:\FLUENT.INC\fluent6.0/multiport/src -I. -DUDFCONFIG_H="<udfconfig.h>" fluent_inlet.cError: fluent_inlet.c: line 1: parse error.

Why does this happen? Anybody can help me? Thanks


zhhuang February 25, 2003 05:52

Re: about cpp
 
paste the code!

Christian February 26, 2003 03:31

Re: about cpp
 
Try looking for the error in line 1.

jkl February 26, 2003 08:01

Re: about cpp
 
If you're sure no errors are in your code and you're compiling under Unix O.S. try using gcc -E instead of cpp, hope this could help, best regards, Jkl.

zbtian February 27, 2003 01:27

Re: about cpp
 
thanks for your response. i don't use UDF. when i simulate another case, there is no cpp notice. i don't know why this happens. my simulation result *.case and *.dat are located in another file, such as E:/fluent_dat . i use windows2000. what's mean gcc _E and cpp?

thanks a lot


All times are GMT -4. The time now is 05:29.