wiringPi.h: No such file or directory
时间: 2023-09-14 19:10:49 浏览: 192
回答: 当出现"wiringPi.h: No such file or directory"的错误时,通常是因为编译器无法找到wiringPi.h头文件。这个错误可以通过指定搜索路径来解决。你可以在编译的时候使用"-I"参数来指定搜索路径,例如:gcc -I /path/to/wiringPi -o program program.c。这样编译器就会在指定的路径下查找wiringPi.h头文件。\[1\]
#### 引用[.reference_title]
- *1* [fatal error: Python.h: No such file or directory compilation terminated.](https://blog.csdn.net/qq_41854611/article/details/127733138)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [QT交叉编译出错:No such file or directory](https://blog.csdn.net/mrjy1475726263/article/details/8712193)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文