Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / [SOLVED] Installing to Windows failed
- - By il mietitore Date 2021-11-12 00:18
Greetings everybody. I was playing with Gosu around 9 years ago, and lately I found out I could use it to make a game for my gf as a Christmas present. It's nice to see that the community grew and that this forum is still around. It's nice to be back.

I'm finding issues in reinstalling Gosu. I read that since version 1.0.0 it should be installable on Windows as well. Though, here's what happens if I try to install it:

C:\Users\rapto\Downloads>gem install gosu
Building native extensions. This could take a while...
ERROR:  Error installing gosu:
        ERROR: Failed to build gem native extension.

    current directory: C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/gosu-1.2.0/ext/gosu
C:/Ruby30-x64/bin/ruby.exe -I C:/Ruby30-x64/lib/ruby/site_ruby/3.0.0 -r ./siteconf20211112-18800-8utqrr.rb extconf.rb
creating Makefile

current directory: C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/gosu-1.2.0/ext/gosu
make DESTDIR\= clean
current directory: C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/gosu-1.2.0/ext/gosu
make DESTDIR\=
make failedNo such file or directory - make

Gem files will remain installed in C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/gosu-1.2.0 for inspection.
Results logged to C:/Ruby30-x64/lib/ruby/gems/3.0.0/extensions/x64-mingw32/3.0.0/gosu-1.2.0/gem_make.out


I updated RubyGems. I tried to search for other issues like this on the forum and I found a lot of issues of this kind but it seems that they all are related to previous versions of Gosu, Ruby or even Windows.

I see that the devkit is required and I believe that it is installed (after all, I didn't have any issue with the other gems I installed in the past).

How should I proceed?
Parent - By il mietitore Date 2021-11-12 17:40
There was a problem with my MSYS2 installation. Apparently it had only partially been installed, and indeed it gave issues if I tried to update it. I reinstalled ruby from scratch, and MSYS2 as well, and now it's working.
Up Topic Gosu / Gosu Exchange / [SOLVED] Installing to Windows failed

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill