简体   繁体   English

MinGW 错误“仅支持 Win32 目标”

[英]MinGW Error "Only Win32 target is supported"

I recently updated my Ubuntu and now I get an error message saying "In included file: Only Win32 target is supported" every time I try to compile a C project.我最近更新了我的 Ubuntu,现在我每次尝试编译 C 项目时都会收到一条错误消息,提示“在包含的文件中:仅支持 Win32 目标”。 I use Codelite 15.0.2 and Mingw-w64 7.0.0-2.我使用 Codelite 15.0.2 和 Mingw-w64 7.0.0-2。 Before I updated my OS everything worked flawlessly and I have no idea how to fix this error, reinstalling Codelite and Mingw-w64 and searching on google didn't solve anything either:(在我更新我的操作系统之前,一切都完美无缺,我不知道如何解决这个错误,重新安装 Codelite 和 Mingw-w64 并在谷歌上搜索也没有解决任何问题:(截屏

MinGW-w64 exists for 32-bit and 64-bit Windows. MinGW-w64 存在于 32 位和 64 位 Windows。 The /usr/i686-w64-mingw32 part of the message you get tells me you're using the 32-bit Windows target.您收到的消息的/usr/i686-w64-mingw32部分告诉我您正在使用 32 位 Windows 目标。

If you run apt-cache search mingw-w64 in Ubuntu you will see there are seperate i686 and x86-64 packages.如果你在 Ubuntu 中运行apt-cache search mingw-w64 ,你会看到有单独的 i686 和 x86-64 包。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM