[Error] bits/c++config.h: No such file or directory
时间: 2023-11-19 09:16:24 浏览: 294
在编译32位程序时,在Linux 64位系统中可能会遇到"[Error] bits/c config.h: No such file or directory"的错误。这个错误通常是由于缺少32位的库文件导致的。为了解决这个问题,你可以执行以下步骤:
1. 打开终端并输入以下命令来安装32位的C库文件:
```
sudo apt-get install libc6-dev-i386
```
2. 运行以下命令来安装多版本编译模式的插件:
```
sudo apt-get install gcc-multilib g±multilib
```
这样,你就可以正确编译32位程序并解决"[Error] bits/c config.h: No such file or directory"的问题了。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [错误描述 | fatal error: bits/c++config.h: No such file or directory](https://blog.csdn.net/ttxiaoxiaobai/article/details/131541103)[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_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [ICS delphixe10源码版](https://download.csdn.net/download/lingwanqiu/9508945)[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_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [fatal error: bits/c++config.h: No such file or directory](https://blog.csdn.net/AAA123524457/article/details/80563468)[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_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文