User forums > Help
Simple problem /bin/sh: 1: cannot open stdio.h: No such file
carlyn:
I have installed code:Blocks in Linux Mint. It's a beautiful program . my problem is that I get thre error below even with the simplest code lke gettoing Helllo world rto print to screen, its below?
#include <stdio.h>
#nclude <stlib.h>
int main()
{
Printf("Hello world!\n");
return 0;
}
/bin/sh: 1: cannot open stdio.h: No such file
stahta01:
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
carlyn:
still getting error around the <stdio.h> seems it cant find stdio.h ?
I went to the settings and spent awhile there and coulde not find a solution.
I am using linux and C not C++
carlyn:
I still cant get it working. I have played around with the settings. I get no errors or warnings like this .....
-------------- Build: Debug in mikesTrial (compiler: GNU GCC Compiler)---------------
/bin/sh: 1: cannot open stdio.h: No such file
Process terminated with status 2 (0 minute(s), 0 second(s))
0 error(s), 0 warning(s) (0 minute(s), 0 second(s))
But as you can see stdio.h is still the problem ?
When I go to the build log the message is ...
||=== Build: Debug in mikesTrial (compiler: GNU GCC Compiler) ===|
||=== Build failed: 0 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
Please help !!
scarphin:
What do you get when you type 'gcc -v' in bash?
Navigation
[0] Message Index
[#] Next page
Go to full version