Closed ppdewolf closed 1 year ago
For me I just did this:
- name: Set up MinGW
uses: egor-tensin/setup-mingw@v2
with:
platform: x32
This automatically installs mingw32-make. Instead of running make ...
, try running mingw32-make ...
. (I also would run it on windows-latest
.
Thanks. Using mingw32-make ...
did help
Using this simple workflow:
I guess that mingw is installed into
C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw32\
because I getPATH environment variable does not have C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw32\bin in it. Adding...
However, running the
make
command I get the errorCannot find file at '..\\lib\mingw\tools\install\mingw64\bin\mingw32-make.exe' (C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\bin\mingw32-make.exe). This usually indicates a missing or moved file.
Why is it looking in
C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\bin
while it was installed in amingw32
-directory?