Building bsnes-plus on windows

Discussion of hardware and software development for Super NES and Super Famicom. See the SNESdev wiki for more information.

Moderator: Moderators

Forum rules
  • For making cartridges of your Super NES games, see Reproduction.
Post Reply
User avatar
jeffythedragonslayer
Posts: 344
Joined: Thu Dec 09, 2021 12:29 pm

Building bsnes-plus on windows

Post by jeffythedragonslayer »

Hi, I'm trying to build bsnes-plus on windows. How do I install mingw32-make?
Attachments
mingw32.PNG
User avatar
jeffythedragonslayer
Posts: 344
Joined: Thu Dec 09, 2021 12:29 pm

Re: Building bsnes-plus on windows

Post by jeffythedragonslayer »

I was able to install a binary of bsnes-plus so I'm less concerned with this issue now.
Joe
Posts: 650
Joined: Mon Apr 01, 2013 11:17 pm

Re: Building bsnes-plus on windows

Post by Joe »

Er, why do you have that MinGW installer there? MinGW and MinGW-w64 are two very different things. I would recommend uninstalling anything you installed using the MinGW installer and sticking with MSYS2.

To install mingw32-make in MSYS2, run pacman -S mingw-w64-x86_64-make, then open the "MSYS2 MinGW x64" terminal (if you're not already using that one) and you should be able to run mingw32-make.
User avatar
jeffythedragonslayer
Posts: 344
Joined: Thu Dec 09, 2021 12:29 pm

Re: Building bsnes-plus on windows

Post by jeffythedragonslayer »

It took a long time because I can't Ctrl+A in the MinGW installer, but I eventually got rid of all the packages.
Now this is how far I've gotten:

Code: Select all

# pacman -S mingw-w64-x86_64-make
resolving dependencies...
looking for conflicting packages...

Packages (9) mingw-w64-x86_64-expat-2.4.1-1  mingw-w64-x86_64-gcc-libs-10.3.0-5  mingw-w64-x86_64-gettext-0.19.8.1-10  mingw-w64-x86_64-gmp-6.2.1-2  mingw-w64-x86_64-libiconv-1.16-2
             mingw-w64-x86_64-libwinpthread-git-9.0.0.6246.ae63cde27-1  mingw-w64-x86_64-mpc-1.2.1-1  mingw-w64-x86_64-mpfr-4.1.0-3  mingw-w64-x86_64-make-4.3-1

Total Installed Size:  27.62 MiB

:: Proceed with installation? [Y/n] Y
(9/9) checking keys in keyring                                                                                                 [###########################################################################] 100%
(9/9) checking package integrity                                                                                               [###########################################################################] 100%
error: mingw-w64-x86_64-mpfr: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust
:: File /var/cache/pacman/pkg/mingw-w64-x86_64-mpfr-4.1.0-3-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: mingw-w64-x86_64-mpc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust
:: File /var/cache/pacman/pkg/mingw-w64-x86_64-mpc-1.2.1-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: mingw-w64-x86_64-libiconv: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust
:: File /var/cache/pacman/pkg/mingw-w64-x86_64-libiconv-1.16-2-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: mingw-w64-x86_64-gettext: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust
:: File /var/cache/pacman/pkg/mingw-w64-x86_64-gettext-0.19.8.1-10-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
Joe
Posts: 650
Joined: Mon Apr 01, 2013 11:17 pm

Re: Building bsnes-plus on windows

Post by Joe »

It sounds like you're downloading packages that are either much newer or much older than the rest of your MSYS2 installation.

What happens if you run pacman -Syu?
User avatar
jeffythedragonslayer
Posts: 344
Joined: Thu Dec 09, 2021 12:29 pm

Re: Building bsnes-plus on windows

Post by jeffythedragonslayer »

That synchronized my packages. I was able to get mingw32-make installed now, thanks. It looks like something about Qt is missing from the instructions:

Code: Select all

process_begin: CreateProcess(NULL, pkg-config --variable qt_config Qt5Core Qt5Gui Qt5Widgets, ...) failed.
../common/nall/qt/Makefile:20: pipe: No error
rcc ui-qt/resource/resource.qrc -o obj/resource.rcc
process_begin: CreateProcess(NULL, rcc ui-qt/resource/resource.qrc -o obj/resource.rcc, ...) failed.
make (e=2): The system cannot find the file specified.
mingw32-make: *** [ui-qt/Makefile:90: obj/resource.rcc] Error 2
User avatar
jeffythedragonslayer
Posts: 344
Joined: Thu Dec 09, 2021 12:29 pm

Re: Building bsnes-plus on windows

Post by jeffythedragonslayer »

I ended up spinning up an Ubuntu VMWare virtual machine to build bsnes-plus in, that was easier.
Post Reply