yquake2/yquake2remaster

Compiling Error avcodec.h

Closed this issue · 2 comments

z@z-\M-O\M-J:pty0 + /yq1: make [19:40:33]
Build configuration

YQ2_ARCH = x86_64 COMPILER = gcc
WITH_CURL = yes
WITH_OPENAL = yes
WITH_RPATH = yes
WITH_SYSTEMWIDE = no
WITH_SYSTEMDIR =

===> Building yquake2.exe
make release/yquake2.exe
make[1]: Verzeichnis „/yq1“ wird betreten
===> CC src/backends/generic/misc.c
===> CC src/client/cl_cin.c
In file included from src/client/cl_cin.c:35:
src/client/cinema/avdecode.h:1:10: fatal error: libavcodec/avcodec.h: No such file or directory
1 | #include <libavcodec/avcodec.h>
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:440: build/client/src/client/cl_cin.o] Fehler 1
make[1]: Verzeichnis „/yq1“ wird verlassen
make: *** [Makefile:433: client] Fehler 2
zsh: exit 2 make

Build requires updated/installed additional packages for ffmpeg/vulkan, e.g.:
mingw-w64-i686-curl
mingw-w64-i686-ffmpeg
mingw-w64-i686-gcc
mingw-w64-i686-make
mingw-w64-i686-openal
mingw-w64-i686-SDL2
mingw-w64-i686-vulkan-headers

@acyc070 Could you please try build with packages as defined in workflow or disable avcodec?