CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

UDF compiling problem in Windows

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 26, 2006, 00:00
Default UDF compiling problem in Windows
  #1
Mazyar
Guest
 
Posts: n/a
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
  Reply With Quote

Old   April 26, 2006, 02:48
Default Re: UDF compiling problem in Windows
  #2
rom
Guest
 
Posts: n/a
Dont use spaces in directory or file names under Windows. Rename your directory to "2D_jets", this will hopefully solve the problem.

RoM
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with my udf july Fluent UDF and Scheme Programming 3 June 20, 2010 07:56
UDF compiling problem in Flient 6.3 jeevan kumar FLUENT 2 February 25, 2009 01:43
error compiling UDF on windows x64 Andres FLUENT 0 February 12, 2009 16:22
UDF Compiling Problem (64 bit machine) woo meng wai FLUENT 0 October 24, 2007 00:14
compiling udf on windows system sivakumar FLUENT 1 August 10, 2002 12:11


All times are GMT -4. The time now is 12:14.