You are not logged in.
So only now I learned that VPX is now native on linux, so I tried to build using the instructions found here
1st off, I had to add CXXFLAGS="-std=c++14" when running the "external" script otherwise I'd get a "C++17 does not allow dynamic exception specifications" error multiple times. But with that done the build always fails with a "'SDL.h' file not found".
sdl2 is installed and everything is up to date
pacman -Ql sdl2 | grep SDL.h
sdl2 /usr/include/SDL2/SDL.h
sdl2 /usr/include/SDL2/SDL_haptic.h
sdl2 /usr/include/SDL2/SDL_hidapi.h
sdl2 /usr/include/SDL2/SDL_hints.hLast edited by Megarock90 (2024-08-14 05:03:42)
Offline
Offline
Completely broken, had to manually add the same CXXFLAG fix and fix a folder on the build part that doesnt exist, after that the result is the same, SDL.h not found.
Offline
The ./external.sh script builds its own version of freeimage , sdl2 and possibly more stuff .
I would skip it entirely and try to get this to use system librairies.
Putting everything in /opt may be an alternative.
Moderator Note :
moving to AUR Issues, Discussion & PKGBUILD Requests
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
I would skip it entirely and try to get this to use system librairies.
Putting everything in /opt may be an alternative.
How do I do this?
"everything" in /opt is what, the git repo?
Offline
most packages install to /usr but stuff that uses its own libraries doesn't fit well there , see https://wiki.archlinux.org/title/Arch_p … irectories
Build systems allow setting a PREFIX to determine where a package should be installed to, cmake uses CMAKE_INSTALL_PREFIX .
You should probably check https://wiki.archlinux.org/title/CMake_ … guidelines .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline