olofson / audiality2

A realtime scripted modular audio engine for video games and musical applications.
http://audiality.org/
zlib License
79 stars 5 forks source link

Build scripts mix up SDL 1.2 and SDL2 when cross-compiling #318

Closed olofson closed 7 years ago

olofson commented 7 years ago
In file included from /home/david/src/mxe/usr/i686-w64-mingw32.shared/include/SDL2/SDL_video.h:32:0,
                 from /home/david/src/mxe/usr/i686-w64-mingw32.shared/include/SDL2/SDL_events.h:33,
                 from /home/david/src/mxe/usr/i686-w64-mingw32.shared/include/SDL2/SDL.h:41,
                 from /home/david/src/mxe/usr/i686-w64-mingw32.shared/include/SDL2/SDL_net.h:42,
                 from /home/david/src/eel/src/eelium/eel_net.h:29,
                 from /home/david/src/eel/src/eelium/eel_net.c:26:
/home/david/src/mxe/usr/i686-w64-mingw32.shared/include/SDL2/SDL_pixels.h:264:9: error: enumerator value for 'SDL_PIXELFORMAT_YV12' is not an integer constant
         SDL_DEFINE_PIXELFOURCC('Y', 'V', '1', '2'),
         ^
[...]

Could this have something to do with Audiality 2 being built for SDL2, whereas EEL (still) only supports SDL 1.2...?

olofson commented 7 years ago

Wrong project. >:-(