Closed danil1petrov closed 6 years ago
Sorry my english
Интересно
Try build SDL2 without glx support, or build xash3d with SDL2.0.4 headers (it does check SDL2 version with macro in https://github.com/FWGS/xash3d/blob/master/engine/platform/sdl/events.c#L654)
Он знает русский.
По-хорошему надо собирать с той версией которая системная. И в принципе никто не мешает напилить макросов вокруг ещё не существовавших на тот момент вызовов.
@mittorn я думаю там проверка неправильная. Должно быть &&, а не ||.
С чего это? Если мажорка больше двух (sdl3) или минорка больше нуля (sdl 2.1.x) или патч больше или равен 6 (sdl 2.0.6+)
я сдаюсь
@mittorn да, точно.
Hello! There is Orange PI Mali-400 ARM Allwinner H3 Ubuntu Xenial. Version 0.18 works good, but new do not. 0.19.1 need SDL2 2.0.6, but the Ubuntu Xenial repository have 2.0.4 and get error "undefined symbol: SDL_GameControllerGetProductVersion" when start xash3d. I need to compile SDL2 2.0.9 and get "Sys_Warn: SDL_Init failed: No available video device" and server start when start xash3d. I can use only 0.18 with SDL2 2.0.4. OR i can use new version on Ubuntu Bionic without problems, but get 1fps due to mali drivers. Please help to use new version on Ubuntu Xenial!