找不到mingw目录xmake

我刚刚接触xmake,我写了一个xmake.lua,但当我试图执行xmake时遇到了以下问题:

checking for platform ... mingw
checking for architecture ... x86_64
checking for mingw directory ... no
please run:
    - xmake config --mingw=xxx
or  - xmake global --mingw=xxx

我尝试使用mingw exe的路径来执行xmake config命令,但仍然出现同样的错误。

点赞