something
something copied to clipboard
MSYS build error.
Steps to reproduce:
- Follow quick start tutorial
- Error comes up on line:
set __MINGW32__=1 && mingw32-make -B
Errors i found:
- With default MSYS installation
mingw32-makecan't be found. (That problem can simply be fixed, if you would specify the full path to executable. Like:/mingw64/bin/mingw32-make) - After that, when you try to build the executable that error pops out: https://pastebin.com/t8btSMZ0
Personally, i don't know what happens for this error to happen. I didn't found any cc1.exe in msys/mingw installation folder, but i found cc.exe in /mingw64/bin/. Maybe that's just a typo?
Personally I don't use MSYS2 shell to compile. It's just useful to install packages. But then it's easer to use Command Prompt (cmd.exe or Powershell). You just have to add MinGW to PATH, so everything has access to mingw32-make, C-compiler (cc.exe) and pkg-config. For example:
set PATH=%PATH%;\path\to\msys64\mingw64\bin
Also you might need to set CXX environment variable to c++ compiler, for example:
set CXX=\path\to\msys64\mingw64\bin\g++.exe
@etoshapovalov hey! Have you tried the things suggested by @kolumb? Did they work for you?