fatal error: lv_port_disp.h: No such file or directory
时间: 2024-01-01 11:04:17 浏览: 162
fatal error: lv_port_disp.h: No such file or directory是一个编译错误,提示找不到lv_port_disp.h文件或目录。根据提供的引用内容,有两种可能的解决方案。引用中提到,从Ubuntu 20.04开始,SUBDIR=不再被支持,应改为M=。因此,您可以尝试使用以下命令进行编译:
sudo make -C /usr/src/linux-headers-5.11.0-1021-raspi M=$PWD modules
引用中提到,另一种解决方法是执行以下命令:
sudo make -C /usr/src/linux-headers-5.11.0-1021-raspi SUBDIRS=$PWD modules
这些命令将进入相应的目录并编译模块,确保找到所需的文件。请根据您的实际情况选择适用的解决方案。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [fatal error: boostdesc_bgm.i: No such file or directory补充文件](https://download.csdn.net/download/qq_26631621/44054087)[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^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [编译构建Linux内核模块错误classmap.h: No such file or directory](https://blog.csdn.net/yihuajack/article/details/121312717)[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^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文