FluffyStuff / OpenRiichi

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

error when building on arch linux #21

Closed Pieter-JanLavaerts closed 5 years ago

Pieter-JanLavaerts commented 5 years ago

When I tried building the project on arch linux I got the following error

error: Delegates with target are not supported as array element type
        public SDL.AudioFilter filters[10];

I tried googling the error but didn't find much of use.

FluffyStuff commented 5 years ago

This problem was introduced with the newest version of Vala. You can just comment that line out (vapi/sdl2.vapi:1559). It isn't used anyway. There is also another problem which got introduced, but it should only occur in the windows build, so you should be fine. I'll upload a fix once I get around to it.