You need to build it with gcc14 or it will fail. After installing gcc14, before the export flags in the PKGBUILD I put
export CC=gcc-14; export CXX=g++-14
Git Clone URL: | https://aur.archlinux.org/dosbox-x.git (read-only, click to copy) |
---|---|
Package Base: | dosbox-x |
Description: | x86 emulator with builtin DOS, with patches with more features |
Upstream URL: | http://dosbox-x.com |
Keywords: | emulation |
Licenses: | GPL |
Conflicts: | dosbox-x-git |
Submitter: | mike.cuche |
Maintainer: | mike.cuche |
Last Packager: | mike.cuche |
Votes: | 27 |
Popularity: | 0.45 |
First Submitted: | 2019-04-11 18:41 (UTC) |
Last Updated: | 2025-02-02 16:41 (UTC) |
You need to build it with gcc14 or it will fail. After installing gcc14, before the export flags in the PKGBUILD I put
export CC=gcc-14; export CXX=g++-14
Note: Ok, the newer version does not compile. But the current version does not compile with gcc 15.1.1 either.
Hello, I did not release an update for v.2025.05.03 because there is a build issue of the integrated SDL1, which I already reported: https://github.com/joncampbell123/dosbox-x/issues/5692
UPDATE: The issue has been fixed upstream, I will update the PKGBUILD when a new release comes out.
I'm getting a segfault on execution.
LOG: Early LOG Init complete LOG: "" is not a valid value for variable: configuration tool theme. It might now be reset to the default value: LOG: "" is not a valid value for variable: configuration tool theme. It might now be reset to the default value: LOG: CONFIG: Loaded config file: /home/jon/.config/dosbox-x/dosbox-x-2025.02.01.conf LOG: DOSBox-X's working directory: /home/jon/SOURCE/YUNO/pc98_prepatched/dosbox LOG: Logging init: beginning logging proper. This is the end of the early init logging LOG: Logging: No logfile was given. All further logging will be discarded. LOG: DOSBox-X version 2025.02.01 Commit 32b2c24 (Linux SDL1 64-bit) LOG: Prevent capture: 0 Segmentation fault (core dumped)
Thanks for the update @mike.cuche
upload on aur a ffmpeg-compat-60 like?
dosbox-x: error while loading shared libraries: libavcodec.so.60: cannot open shared object file: No such file or director
Does not start due to several libraries from extra/ffmpeg being updated eg. libavcodec.so.60 was updated to libavcodec.so.61. Linking does not fix this problem.
Can't get this to compile. Getting
/home/sardaukar/.cache/yay/dosbox-x/src/dosbox-x-dosbox-x-v2024.03.01/vs/sdl/src/video/x11/SDL_x11video.c:2050:75: error: passing argument 5 of ‘XRegisterIMInstantiateCallback’ from incompatible pointer type [-Wincompatible-pointer-types]
2050 | if (XRegisterIMInstantiateCallback(SDL_Display, NULL, NULL, NULL, (XIMProc)im_callback, NULL) != True) {
| ^~~~~~~~~~~~~~~~~~~~
| |
| void (*)(struct _XIM *, char *, char *)
In file included from /home/sardaukar/.cache/yay/dosbox-x/src/dosbox-x-dosbox-x-v2024.03.01/vs/sdl/src/video/x11/SDL_x11video.h:27,
from /home/sardaukar/.cache/yay/dosbox-x/src/dosbox-x-dosbox-x-v2024.03.01/vs/sdl/src/video/x11/SDL_x11video.c:46:
/usr/include/X11/Xlib.h:3946:5: note: expected ‘XIDProc’ {aka ‘void (*)(Display *, char *, char *)’} but argument is of type ‘void (*)(struct _XIM *, char *, char *)’
3946 | XIDProc /* callback */,
| ^~~~~~~
make: *** [build-deps:1404: build/SDL_x11video.lo] Error 1
I tried removing just -march=x86_64 and it was still broken, so I dropped it all. My patch as-is should treat all other architectures the same as before (it only changes the PKGBUILD for aarch64). Other architectures must have already been broken.
Pinned Comments
mike.cuche commented on 2025-05-08 13:42 (UTC) (edited on 2025-05-10 05:59 (UTC) by mike.cuche)
Hello, I did not release an update for v.2025.05.03 because there is a build issue of the integrated SDL1, which I already reported: https://github.com/joncampbell123/dosbox-x/issues/5692
UPDATE: The issue has been fixed upstream, I will update the PKGBUILD when a new release comes out.