In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
The question leads to:
If the header file cannot be found when Linux compiles the program, it will prompt the following error:
$gcc test.c-o testtest.c:9:16: fatal error: xxx.h: No such file or directory # include
The following description takes the Ubuntu system as an example.
The solution is as follows:
1. Find the path where xxx.h is located first.
The command is as follows:
$sudo find /-name xxx.h
The results are as follows:
/ usr/local/include/xxx/xxx.h
2. Then use the-I option to add a compilation to the directory
The command is as follows:
$gcc test.c-o test-I / usr/local/include/xxx
These are the details of the header file cannot be found by the compiler under linux. Please pay more attention to other related articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.