FluffyStuff / OpenRiichi

An open source riichi mahjong client
GNU General Public License v3.0
108 stars 18 forks source link

Next branch does not build (on latest dependencies) #23

Closed FichteFoll closed 4 years ago

FichteFoll commented 5 years ago

Trying to test the next branch, I run into the following error:

make -C ../Engine linuxRelease
make[1]: Entering directory '/build/open-riichi-git/src/Engine'
valac --library=libengine --vapi bin/libengine.vapi -X -Ofast -X -shared -X -fPIC -H bin/libengine.h -o bin/libengine.so *.vala Audio/*.vala Files/*.vala Helper/*.vala Properties/*.vala Rendering/*.vala Rendering/OpenGLRenderer/*.vala Rendering/OpenGLRenderer/Shaders/*.vala Rendering/Resources/*.vala Rendering/World/*.vala Window/*.vala Window/Controls/*.vala --thread --target-glib 2.32 --pkg gio-2.0 --pkg glew --pkg gee-0.8 --pkg gl --pkg SDL2_image --pkg sdl2 --pkg stb --pkg pangoft2 --pkg sfml-audio --pkg sfml-system --pkg zlib -X -Iinclude -X -lcsfml-audio -X -lcsfml-system -X -lm --vapidir=vapi -X -w -X -DGLEW_NO_GLU -D LINUX
sdl2.vapi:1564.33-1564.36: error: Delegates with target are not supported as array element type
        public SDL.AudioFilter filters[10];
                                      ^^^^
Command-line option `--thread` is deprecated and will be ignored
Compilation failed: 1 error(s), 0 warning(s)
make[1]: *** [Makefile:56: linuxRelease] Error 1
make[1]: Leaving directory '/build/open-riichi-git/src/Engine'
make: *** [Makefile:41: engineLinuxRelease] Error 2

Since I know nothing about vala, I though it would be best to just report this for now.

FluffyStuff commented 4 years ago

I merged next into the master branch, which should compile now.