CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Fluent UDF and Scheme Programming

udf compilation problems since upgrading

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 8, 2011, 04:42
Default udf compilation problems since upgrading
  #1
New Member
 
Ro'ee Orland
Join Date: Nov 2010
Posts: 18
Rep Power: 6
orland is on a distinguished road
I've recently switched from Fluent 6.3 to 13
when i try to run a udf fluent returns the following:

fatal error C1083: Cannot open include file: 'stdio.h': Invalid argument

can anyone help?
orland is offline   Reply With Quote

Old   November 8, 2011, 08:46
Default
  #2
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Shiraz, Iran
Posts: 739
Blog Entries: 1
Rep Power: 14
Amir is on a distinguished road
Hi,

Are you sure that VC++ is linked to this version?
Is this header necessary for your UDF?
__________________
Amir
Amir is offline   Reply With Quote

Old   November 8, 2011, 08:48
Default
  #3
New Member
 
Ro'ee Orland
Join Date: Nov 2010
Posts: 18
Rep Power: 6
orland is on a distinguished road
if VC++ wasn't linked, wouldn't i get a "nmake is not recognized" sort of message?
orland is offline   Reply With Quote

Old   November 8, 2011, 09:12
Default
  #4
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Shiraz, Iran
Posts: 739
Blog Entries: 1
Rep Power: 14
Amir is on a distinguished road
Quote:
Originally Posted by orland View Post
if VC++ wasn't linked, wouldn't i get a "nmake is not recognized" sort of message?
Because you're using newer version, maybe there is a problem in setting environment variables; to check this, use VC++ command prompt and launch FLUENT.... (before that delete previous environment variables of previous FLUENT version if there is any) ... can you compile other UDFs?
Also check whether you really need this header or not.

Bests,
__________________
Amir
Amir is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF compilation problem on Linux System Nitin Pathak FLUENT 1 July 10, 2014 11:41
Help! DMFC UDF problems Biao FLUENT 0 August 26, 2011 13:21
UDF Compilation Error Karthik FLUENT 4 February 9, 2009 12:42
UDF problems...FATAL ERROR! Paolo Lampitella FLUENT 1 September 8, 2005 10:07
UDF COMPILATION T.Hariharanath FLUENT 2 July 25, 2005 11:47


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