-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
This bug report was migrated from our old Bugzilla tracker.
Reported in version: 2.0.12
Reported for operating system, platform: Linux, x86_64
Comments on the original bug report:
On 2020-12-18 14:46:37 +0000, Simon Zeni wrote:
On Alpinelinux, where the DirectFB backend is enabled in the package itself (https://git.alpinelinux.org/aports/tree/community/sdl2/APKBUILD#n53), several CMake projects that uses SDL2's SDL2Targets.cmake will fail to build with the following error
In file included from /home/simon/dev/FNA3D/src/FNA3D_Driver_OpenGL.c:33:
/usr/include/SDL2/SDL_syswm.h:80:10: fatal error: directfb.h: No such file or directory
80 | #include <directfb.h>
| ^~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/FNA3D.dir/build.make:108: CMakeFiles/FNA3D.dir/src/FNA3D_Driver_OpenGL.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/simon/dev/FNA3D/src/FNA3D_Driver_Vulkan.c:36:
/usr/include/SDL2/SDL_syswm.h:80:10: fatal error: directfb.h: No such file or directory
80 | #include <directfb.h>
| ^~~~~~~~~~~~
compilation terminated.The build is successful if SDL2 is found through pkgconfig.