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

Error Cannot open include file: 'stdio.h': No such file or directory

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 14, 2020, 22:17
Default Error Cannot open include file: 'stdio.h': No such file or directory
  #1
New Member
 
Chris Hunter
Join Date: May 2020
Posts: 17
Rep Power: 5
mcc007 is on a distinguished road
Hello everyone,

I am using Fluent 6.3.26 and Visual Studio 2019 to run UDF on my Win 10 laptop. But I got errors like this "C:\Fluent.Inc\fluent6.3.26\src\global.h(18): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory".

I searched online but I could find solutions for this particular problem. I am wondering if you could help me with it.

Thank you so much,
mcc008
mcc007 is offline   Reply With Quote

Old   May 15, 2020, 00:17
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
how do you call stdio.h library in your code? may be it is a problem?
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   May 15, 2020, 02:08
Default
  #3
New Member
 
Chris Hunter
Join Date: May 2020
Posts: 17
Rep Power: 5
mcc007 is on a distinguished road
Quote:
Originally Posted by AlexanderZ View Post
how do you call stdio.h library in your code? may be it is a problem?
Yes I tried to put the stdio.h infront of the code. It doesn't work.
mcc007 is offline   Reply With Quote

Old   May 15, 2020, 07:50
Default Fluent 6.3.26
  #4
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 35
vinerm will become famous soon enough
Fluent 6 may not be able to work with VS 2019. It can work up to VS 14.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   November 7, 2020, 09:06
Question
  #5
New Member
 
Lakshitha De Silva
Join Date: Aug 2017
Posts: 2
Rep Power: 0
Lakshitha is on a distinguished road
I have the same error, I use ANSYS 2020 R2 and VS 2019. I have already followed all the instruction in other threads which deals with compilation errors. By changing the environment variables and running fluent using x64 VS command promt, I was able to resolve the early errors. But I still haven't been able to solve the "stdio.h" error.
Any recommendation are appreciated. Thanks in advance
Lakshitha is offline   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
Custom Thermophysical Properties wsmith02 OpenFOAM 4 June 1, 2023 14:30
Using PengRobinsonGas EoS with sprayFoam Jabo OpenFOAM Running, Solving & CFD 35 April 29, 2022 15:35
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 03:30
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 ordinary OpenFOAM Installation 19 September 3, 2019 18:13
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44


All times are GMT -4. The time now is 20:52.