Open RivenSkaye opened 1 year ago
Okay so I retried building it considering I had some spare time. Still on a Windows 10/MSYS2 environment, using the MinGW64
shell env. Required some additional package installation and I ended up getting this combination to work:
# Group them by package family, sort of.
# Yes, the Qt selection there is the rather bloated full qt5 collection package. The README does not
# list which components are actually used or required for the GUI.
pacman -Sy mingw-w64-x86_64-glew mingw-w64-x86_64-SDL2_{gfx,image,mixer,net,sound,ttf} mingw-w64-x86_64-{gles-headers,ftgl} mingw-w64-x86_64-glfw mingw-w64-x86_64-angleproject mingw-w64-x86_64-qt5
git clone https://github.com/shonumi/gbe-plus.git
cd gbe-plus
cmake -S . -B ./build
cmake --build build
# Wait for the install to finish and you can find the full thing as ./build/src/qt/gbe_plus_qt.exe
Due to commit this commit adding two
setenv
calls, compilation under Windows through MSYS2 is currently broken. GCC asks if the user meantgetenv
, but on Windows it seems the correct call isputenv
, which only takes a single string in the format"KEY=VALUE"
. Error:Mangling that so it works:tm: proceeds to cause issues from src/gba/am3.cpp, in regards to a conversion from a filesystem path to a string. I can't seem to find the commit causing this one: