Ubuntu does not have a C and C++ compilation environment by default
By default, Ubuntu does not have C and C++ compiler environment. When newly installed Ubuntu USES GCC, it will report an error and cannot find a certain header file. When compiling a demo such as hello world, an error will be reported:
error: stdio.h: No such file or directory
Install the C and C++ compilation environment
if there is no aptitude installed, use apt-get, e.g.
udo apt-get install build-essential
Read More:
- gcc /usr/include/stdio.h:27:10: fatal error: bits/libc-header-start.h: No such file or directory
- Linux QT download / usr / include / C + + / 7/ cstdlib:75 : 15: fatal error: stdlib. H: no such file or directory error
- [C]fatal error: mysql.h: No such file or directory
- Vs2017 C + + cannot open source file: “sdkddkver. H”, “stdio. H”, “TCHAR. H”
- Cannot open include file: ‘io.h‘: No such file or directory
- fatal error: Python.h: No such file or directory
- Solution of header file StdAfx. H “no such file or directory” in Visual Studio
- In VS2010, the compiler cannot open the file “GL / glaux. H”: no such file or directory
- VS2010 compiler can’t open include file: “GL / glaux. H”: no such file or directory
- #During OpenGL development, fatal error C1083: can’t open include file: “GL / glut. H”: no such file or directory
- fatal error: openssl/bio.h: No such file or directory settlement programme
- fatal error: Python.h: No such file or directory
- Error: libipq. H: no such file or directory solution
- Compiling the pi_kernel source code appears: fatal error: openssl/opensslv.h: No such file or directory
- fatal error: Python.h: No such file or directory compilation terminated.
- Fatal error in CentOS: Python. H: no that file or directory
- Linux has no way to solve bash. / that file or directory
- How to solve the problem of “unable to open include file:” graphics. H “: no such file or directory”
- [Solved] Docker ubuntu swoole fatal error: openssl/ssl.h: No such file or directory
- standard_init_linux.go:178: exec user process caused “no such file or directory”