Package Details: sameboy 1.0-2

Git Clone URL: https://aur.archlinux.org/sameboy.git (read-only, click to copy)
Package Base: sameboy
Description: An accuracy-focused Game Boy/Game Boy Color emulator
Upstream URL: https://github.com/LIJI32/SameBoy
Licenses: MIT
Conflicts: sameboy-git
Submitter: Arvedui
Maintainer: Arvedui
Last Packager: Arvedui
Votes: 7
Popularity: 0.022287
First Submitted: 2020-05-17 15:10 (UTC)
Last Updated: 2024-12-15 11:19 (UTC)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

Arvedui commented on 2024-12-15 11:21 (UTC)

Should be fixed now, but the issues only occurred because you are not building in a clean chroot.

quest commented on 2024-12-15 05:58 (UTC)

Yep can confirm. Latest pushed version does not build.

aquova commented on 2024-12-15 04:44 (UTC)

I am as well, it's a series of linker failures attempting to build 1.0

ld-temp.o:(.text.vblank_callback+0xa): undefined reference to `GB_get_user_data'
/usr/bin/ld: ld-temp.o:(.text.vblank_callback+0x21): undefined reference to `GB_set_rendering_disabled'
/usr/bin/ld: /tmp/lto-llvm-526634.o: in function `main':
ld-temp.o:(.text.main+0xf8): undefined reference to `GB_init'
/usr/bin/ld: ld-temp.o:(.text.main+0x137): undefined reference to `GB_load_rom'
/usr/bin/ld: ld-temp.o:(.text.main+0x223): undefined reference to `GB_load_boot_rom_from_buffer'
/usr/bin/ld: ld-temp.o:(.text.main+0x23c): undefined reference to `GB_set_vblank_callback'
/usr/bin/ld: ld-temp.o:(.text.main+0x24a): undefined reference to `GB_set_pixels_output'
/usr/bin/ld: ld-temp.o:(.text.main+0x25a): undefined reference to `GB_set_rgb_encode_callback'
/usr/bin/ld: ld-temp.o:(.text.main+0x26a): undefined reference to `GB_set_async_input_callback'
/usr/bin/ld: ld-temp.o:(.text.main+0x27a): undefined reference to `GB_set_log_callback'
/usr/bin/ld: ld-temp.o:(.text.main+0x288): undefined reference to `GB_set_color_correction_mode'
/usr/bin/ld: ld-temp.o:(.text.main+0x29e): undefined reference to `GB_set_user_data'
/usr/bin/ld: ld-temp.o:(.text.main+0x2ac): undefined reference to `GB_set_rendering_disabled'
/usr/bin/ld: ld-temp.o:(.text.main+0x2bf): undefined reference to `GB_set_turbo_mode'
/usr/bin/ld: ld-temp.o:(.text.main+0x2d5): undefined reference to `GB_run'
/usr/bin/ld: ld-temp.o:(.text.main+0x2ff): undefined reference to `GB_read_memory'
/usr/bin/ld: ld-temp.o:(.text.main+0x311): undefined reference to `GB_free'
/usr/bin/ld: ld-temp.o:(.text.main+0x5af): undefined reference to `GB_load_isx'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:641: build/bin/XdgThumbnailer/sameboy-thumbnailer] Error 1

(Among other errors)

WAUthethird commented on 2024-12-14 22:36 (UTC)

Getting an error on compile with a bunch of undefined references. I'm clean building it each time I try. Anyone else getting this?

Arvedui commented on 2021-03-08 14:54 (UTC)

No, you did not miss anything. I was …

It is fixed now, thanks for reporting!

drcouzelis commented on 2021-03-08 14:23 (UTC)

I'm unable to run SameBoy since version 0.14. Running "sameboy" will result in a segmentation fault, and attempting to open any ROM ("sameboy ~/Games/megaman.gb") will fail and show the following error.

"Could not open boot ROM: No such file or directory."

Does anyone know why this is happening? I feel like I'm missing something simple... >_<

Arvedui commented on 2021-02-28 20:05 (UTC)

The easiest way to build in a clean chroot is to use extra-x86_64-build instead of makepkg (or your friendly AUR helper, if you use one). You can read the details here.

You are right xdg-utils is not necessary, at least not with 0.14.1.

Basxto commented on 2021-02-28 19:11 (UTC)

How do I build it in a chroot? I've never tried that before. xdg-utils shouldn't be necessary, it's probably enough to give make a FREEDESKTOP=true. I think he only checks for xdg-open because he would use xdg-desktop-menu etc. if DESTDIR is not set.

And there is 0.14.1 available (fixes a regression and now copies the .desktop file)

Arvedui commented on 2021-02-28 11:24 (UTC)

thanks for the pointer. You should probably add xdg-utils to makedepends, because make install is only available when xdg-open is available too. Right no sameboy-git does not build in clean chroot because of this.

Basxto commented on 2021-02-27 23:12 (UTC)

Please evaluate switching to make install and using the newly added icons (new dependency hicolor-icon-theme) and a .desktop file (showing up in start menues; connected with file types .gb/.sgb and .cgb/.gbc). I just added all that to sameboy-git