You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 28, 2022. It is now read-only.
Trying to compile emscripten-scummvm under Mac OS X 10.9 yields the following errors.
Am I assuming correctly that it requires older SDL headers I might be lacking or is this something entirely different?
I've also tried building this with an older emscripten fork (the one hosted in one of your repositories), hoping this was simply an architectural change in the newer releases of emscripten.
Unfortunately, to no avail.
C++ backends/platform/sdl/sdl.o
In file included from backends/platform/sdl/sdl.cpp:31:
In file included from ./backends/platform/sdl/sdl.h:26:
./backends/platform/sdl/sdl-sys.h:55:10: error: 'SDL.h' file not found with
<angled> include; use "quotes" instead
#include<SDL.h>
^~~~~~~
"SDL.h"
In file included from backends/platform/sdl/sdl.cpp:31:
In file included from ./backends/platform/sdl/sdl.h:28:
In file included from ./backends/modular-backend.h:26:
In file included from ./backends/base-backend.h:31:
In file included from ./common/events.h:28:
In file included from ./common/rect.h:27:
In file included from ./common/util.h:26:
./common/str.h:83:3: warning: anonymous types declared in an anonymous union are
an extension [-Wnested-anon-types]
struct {
^
In file included from backends/platform/sdl/sdl.cpp:31:
In file included from ./backends/platform/sdl/sdl.h:29:
./backends/mixer/sdl/sdl-mixer.h:70:2: error: unknown type name 'SDL_AudioSpec'
SDL_AudioSpec _obtained;
^
./backends/mixer/sdl/sdl-mixer.h:78:10: error: unknown type name 'SDL_AudioSpec'virtual SDL_AudioSpec getAudioSpec(uint32 rate);
^
In file included from backends/platform/sdl/sdl.cpp:31:
In file included from ./backends/platform/sdl/sdl.h:30:
./backends/events/sdl/sdl-events.h:77:2: error: unknown type name 'SDL_Joystick'
SDL_Joystick *_joystick;
^
./backends/events/sdl/sdl-events.h:90:32: error: unknown type name 'SDL_Event'virtualvoidpreprocessEvents(SDL_Event *event) {}
^
./backends/events/sdl/sdl-events.h:95:32: error: unknown type name 'SDL_Event'virtualbooldispatchSDLEvent(SDL_Event &ev, Common::Event &event);
^
./backends/events/sdl/sdl-events.h:106:29: error: unknown type name 'SDL_Event'virtualboolhandleKeyDown(SDL_Event &ev, Common::Event &event);
^
./backends/events/sdl/sdl-events.h:107:27: error: unknown type name 'SDL_Event'virtualboolhandleKeyUp(SDL_Event &ev, Common::Event &event);
^
./backends/events/sdl/sdl-events.h:108:33: error: unknown type name 'SDL_Event'virtualboolhandleMouseMotion(SDL_Event &ev, Common::Event &event);
^
./backends/events/sdl/sdl-events.h:109:37: error: unknown type name 'SDL_Event'virtualboolhandleMouseButtonDown(SDL_Event &ev, Common::Event &event);
^
./backends/events/sdl/sdl-events.h:110:35: error: unknown type name 'SDL_Event'virtualboolhandleMouseButtonUp(SDL_Event &ev, Common::Event &event);
^
./backends/events/sdl/sdl-events.h:111:35: error: unknown type name 'SDL_Event'virtualboolhandleJoyButtonDown(SDL_Event &ev, Common::Event &event);
^
./backends/events/sdl/sdl-events.h:112:33: error: unknown type name 'SDL_Event'virtualboolhandleJoyButtonUp(SDL_Event &ev, Common::Event &event);
^
./backends/events/sdl/sdl-events.h:113:35: error: unknown type name 'SDL_Event'virtualboolhandleJoyAxisMotion(SDL_Event &ev, Common::Event &event);
^
./backends/events/sdl/sdl-events.h:128:24: error: unknown type name 'SDL_Event'virtualboolremapKey(SDL_Event &ev, Common::Event &event);
^
./backends/events/sdl/sdl-events.h:133:21: error: unknown type name 'SDLKey'virtualintmapKey(SDLKey key, SDLMod mod, Uint16 unicode);
^
./backends/events/sdl/sdl-events.h:133:33: error: unknown type name 'SDLMod'virtualintmapKey(SDLKey key, SDLMod mod, Uint16 unicode);
^
./backends/events/sdl/sdl-events.h:133:45: error: unknown type name 'Uint16'virtualintmapKey(SDLKey key, SDLMod mod, Uint16 unicode);
^
./backends/events/sdl/sdl-events.h:138:39: error: unknown type name 'SDLMod'virtualvoidSDLModToOSystemKeyFlags(SDLMod mod, Common::Event &event);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and20 errors generated.
make: *** [backends/platform/sdl/sdl.o] Error 1
Trying to compile emscripten-scummvm under Mac OS X 10.9 yields the following errors.
Am I assuming correctly that it requires older SDL headers I might be lacking or is this something entirely different?
I've also tried building this with an older emscripten fork (the one hosted in one of your repositories), hoping this was simply an architectural change in the newer releases of emscripten.
Unfortunately, to no avail.