You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何在Windows上用MinGW-W64编译NAppGUI?求可行方案

使用MinGW-W64编译NAppGUI的问题求助

背景

  • 已完成NAppGUI源码下载,官方仅提供CMake+Visual Studio的编译教程,无MinGW相关说明
  • 不熟悉CMake,尝试用cmake-gui生成MinGW Makefile时出现错误

错误排查过程

第一个错误

CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
  • 解决:将MinGW-w64路径添加到%path%环境变量后,该错误消失

第二个错误

CMake Error at ...../nappgui_src-main/prj/CMakeCompilers.txt:109 (message): Unknown compiler
  • 原因:确认项目目前无官方MinGW支持,无法通过CMake实现MinGW编译

求助

若有成功使用MinGW编译NAppGUI的用户,恳请分享可行的替代方案

内容的提问来源于stack exchange,提问作者VGH

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.19 06:30:52