andrewtweber / umoria-color

Moria: a roguelike Dungeon Crawler game | Umoria - now with COLOR!
https://andrew.cool/moria
GNU General Public License v3.0
17 stars 4 forks source link

Unable to compile on Windows #13

Open Sod-Almighty opened 8 months ago

Sod-Almighty commented 8 months ago

Running MINGW=mingw64 cmake . prints the following text, but does not generate a Makefile:

-- Build type set to 'Release'
-- NOTE: Configuring build for Windows release...
-- Configuring done (0.5s)
-- Generating done (0.0s)
-- Build files have been written to: C:/msys64/home/Infinity/umoria-color-5.8.3

As a result, make fails:

make: *** No targets specified and no makefile found.  Stop.

Incidentally, it's taken me several hours to even get this far. pacman -S cmake ncurses installs a version of cmake that doesn't work. Instead, one must apparently pacman -S --needed base-devel mingw-w64-i686-cmake mingw-w64-i686-toolchain mingw-w64-i686-ninja

Compilation in Linux was smooth and trivial.

noomenbm commented 1 month ago

I am getting the same issue. Using cmake and gcc with mingw64 on MSYS2. The cmake finishes without any errors, but there is no makefile generated and the make fails. Using the default cmake, not the mingw64 one, hangs at the linking stage with a bunch of undefined references.