首页 > 解决方案 > 在 Windows 10 上使用 makefile 构建

问题描述

在过去的 5 天里,我一直在尝试构建项目源代码。

链接:https ://github.com/shumatech/BOSSA

我在运行 make 时使用 Chocolatey 安装了 make、mingw 和 wxwidgets,但出现此错误:

\Desktop\BOSSA-1.9.1>make
make: wx-config: No such file or directory
make: wx-config: No such file or directory
make: git: No such file or directory
CPP BOSSA src/BossaForm.cpp
In file included from src/BossaForm.cpp:8:
src/BossaForm.h:11:10: fatal error: wx/artprov.h: No such file or directory
   11 | #include <wx/artprov.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:259: obj/BossaForm.o] Error 1

我知道此工作流文档已退出,但我不明白如何遵循这些说明 https://github.com/kiibohd/BOSSA/blob/master/.github/workflows/build.yml#L51

我一直在努力解决这个问题,感谢您的帮助!

标签: c++makefile

解决方案


推荐阅读