{"action":"created","issue":{"url":"https://api.github.com/repos/residualvm/residualvm/issues/1237","repository_url":"https://api.github.com/repos/residualvm/residualvm","labels_url":"https://api.github.com/repos/residualvm/residualvm/issues/1237/labels{/name}","comments_url":"https://api.github.com/repos/residualvm/residualvm/issues/1237/comments","events_url":"https://api.github.com/repos/residualvm/residualvm/issues/1237/events","html_url":"https://github.com/residualvm/residualvm/issues/1237","id":138632738,"number":1237,"title":"Build broken when set to use SDL2","user":{"login":"Tea23","id":1298028,"avatar_url":"https://avatars.githubusercontent.com/u/1298028?v=3","gravatar_id":"","url":"https://api.github.com/users/Tea23","html_url":"https://github.com/Tea23","followers_url":"https://api.github.com/users/Tea23/followers","following_url":"https://api.github.com/users/Tea23/following{/other_user}","gists_url":"https://api.github.com/users/Tea23/gists{/gist_id}","starred_url":"https://api.github.com/users/Tea23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tea23/subscriptions","organizations_url":"https://api.github.com/users/Tea23/orgs","repos_url":"https://api.github.com/users/Tea23/repos","events_url":"https://api.github.com/users/Tea23/events{/privacy}","received_events_url":"https://api.github.com/users/Tea23/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-05T01:54:36Z","updated_at":"2016-03-06T06:07:29Z","closed_at":"2016-03-05T02:52:56Z","body":"I have found Residual won't build if set to use SDL2 (using `export SDL_CONFIG=sdl2-config`).\r\n\r\nThis could easily just be a regression as of the latest commit, or just that I've missed a dependency or something. Or maybe Residual simply doesn't work SDL2 (yet) and you all know that already. Did search around and found no such indication though.\r\n\r\nI am running Arch Linux 64-bit with SDL version 2.0.4.\r\n\r\nResidual does successfully build if I keep to SDL1.2, but then I miss out on the improved multi-display handling stuff in SDL2.\r\n\r\nHere's the full build log from `./configure` onwards.\r\n\r\n```\r\nRunning ResidualVM configure...\r\nLooking for C++ compiler... g++\r\nChecking for compiler version... 5.3.0, ok\r\nBuilding as C++11... no\r\nChecking for whether -Wglobal-constructors work... no\r\nChecking endianness... little\r\nChecking 64-bitness... yes\r\nType with 1 byte... char\r\nType with 2 bytes... short\r\nType with 4 bytes... int\r\nType with 8 bytes... long\r\nAlignment required... no\r\nChecking host CPU architecture... x86_64\r\nChecking hosttype... linux-gnu\r\nLooking for sdl-config... /usr/bin/sdl2-config\r\nChecking if host is POSIX compliant... yes\r\nChecking whether to have a verbose build... no\r\nChecking whether building plugins was requested... no\r\nChecking for Ogg Vorbis... yes\r\nChecking for Tremor... no (Ogg Vorbis/Tremor support is mutually exclusive)\r\nChecking for FLAC >= 1.0.1... no\r\nChecking for MAD... yes\r\nChecking for ALSA >= 0.9... yes\r\nChecking for libjpeg >= v6b... yes\r\nChecking for PNG >= 1.2.8... yes\r\nChecking for libtheoradec >= 1.0... yes\r\nChecking for libfaad... no\r\nChecking for SEQ MIDI... no\r\nChecking for sndio... no\r\nChecking for TiMidity... no\r\nChecking for zlib... yes\r\nChecking for libmpeg2 >= 0.4.0... yes\r\nChecking for Sparkle... no\r\nChecking for FluidSynth... no\r\nChecking for readline... skipping (text console disabled)\r\nChecking for libunity... no\r\nLooking for freetype-config... /usr/bin/freetype-config\r\nChecking for FreeType2... yes\r\nChecking for GL Extension Wrangler (GLEW)... yes\r\nChecking whether iconv.h is present... yes\r\nChecking whether iconv needs linking against libiconv... no\r\nChecking signature of iconv... iconv_t, char **, size_t *, char **, size_t *\r\nChecking for iconv... yes\r\nChecking for OpenGL... yes (shaders enabled)\r\nBuilding translation support... yes (with runtime language detection)\r\nBuilding taskbar integration support... no\r\nBuilding Bink video support... yes\r\nBuilding SafeDisc decryption support... no\r\nBuilding updates support... no\r\nBackend... sdl (2.0.4), savegame timestamp\r\n\r\nEngines (builtin):\r\n    Grim [all games]\r\n    Myst 3 \r\n    The Longest Journey \r\n\r\n\r\nCreating config.h\r\nCreating config.mk\r\nCreating engines/engines.mk\r\nCreating engines/plugins_table.h\r\n    C++      backends/platform/sdl/sdl.o\r\n    C++      backends/platform/sdl/posix/posix-main.o\r\n    C++      backends/platform/sdl/sdl-window.o\r\n    C++      backends/platform/sdl/posix/posix.o\r\n    C++      base/main.o\r\n    C++      base/commandLine.o\r\n    C++      base/plugins.o\r\n    C++      engines/grim/costume/bitmap_component.o\r\n    C++      engines/grim/costume/colormap_component.o\r\n    C++      engines/grim/costume/component.o\r\n    C++      engines/grim/costume/head.o\r\n    C++      engines/grim/costume/chore.o\r\n    C++      engines/grim/costume/lua_var_component.o\r\n    C++      engines/grim/costume/keyframe_component.o\r\n    C++      engines/grim/costume/main_model_component.o\r\n    C++      engines/grim/costume/material_component.o\r\n    C++      engines/grim/costume/mesh_component.o\r\n    C++      engines/grim/costume/model_component.o\r\n    C++      engines/grim/costume/sprite_component.o\r\n    C++      engines/grim/costume/anim_component.o\r\n    C++      engines/grim/emi/costume/emianim_component.o\r\n    C++      engines/grim/emi/costume/emichore.o\r\n    C++      engines/grim/costume/sound_component.o\r\n    C++      engines/grim/emi/costume/emihead.o\r\n    C++      engines/grim/emi/costume/emiluacode_component.o\r\n    C++      engines/grim/emi/costume/emimesh_component.o\r\n    C++      engines/grim/emi/costume/emiluavar_component.o\r\n    C++      engines/grim/emi/costume/emiskel_component.o\r\n    C++      engines/grim/emi/costume/emisprite_component.o\r\n    C++      engines/grim/emi/costume/emitexi_component.o\r\n    C++      engines/grim/emi/sound/aifftrack.o\r\n    C++      engines/grim/emi/sound/mp3track.o\r\n    C++      engines/grim/emi/sound/vimatrack.o\r\n    C++      engines/grim/emi/sound/scxtrack.o\r\n    C++      engines/grim/emi/sound/emisound.o\r\n    C++      engines/grim/emi/sound/track.o\r\n    C++      engines/grim/emi/sound/codecs/scx.o\r\n    C++      engines/grim/emi/costumeemi.o\r\n    C++      engines/grim/emi/emi.o\r\n    C++      engines/grim/emi/animationemi.o\r\n    C++      engines/grim/emi/skeleton.o\r\n    C++      engines/grim/emi/poolsound.o\r\n    C++      engines/grim/emi/lua_v2.o\r\n    C++      engines/grim/emi/modelemi.o\r\n    C++      engines/grim/emi/layer.o\r\n    C++      engines/grim/emi/lua_v2_actor.o\r\n    C++      engines/grim/emi/lua_v2_sound.o\r\n    C++      engines/grim/emi/emi_registry.o\r\n    C++      engines/grim/imuse/imuse_mcmp_mgr.o\r\n    C++      engines/grim/imuse/imuse_script.o\r\n    C++      engines/grim/imuse/imuse_music.o\r\n    C++      engines/grim/imuse/imuse_sndmgr.o\r\n    C++      engines/grim/imuse/imuse.o\r\n    C++      engines/grim/imuse/imuse_track.o\r\n    C++      engines/grim/imuse/imuse_tables.o\r\n    C++      engines/grim/lua/lapi.o\r\n    C++      engines/grim/lua/lauxlib.o\r\n    C++      engines/grim/lua/ldo.o\r\n    C++      engines/grim/lua/lbuiltin.o\r\n    C++      engines/grim/lua/lbuffer.o\r\n    C++      engines/grim/lua/lfunc.o\r\n    C++      engines/grim/lua/lgc.o\r\n    C++      engines/grim/lua/liolib.o\r\n    C++      engines/grim/lua/llex.o\r\n    C++      engines/grim/lua/lmem.o\r\n    C++      engines/grim/lua/lmathlib.o\r\n    C++      engines/grim/lua/lobject.o\r\n    C++      engines/grim/lua/lsave.o\r\n    C++      engines/grim/lua/lstring.o\r\n    C++      engines/grim/lua/lstate.o\r\n    C++      engines/grim/lua/lstx.o\r\n    C++      engines/grim/lua/lrestore.o\r\n    C++      engines/grim/lua/lstrlib.o\r\n    C++      engines/grim/lua/ltask.o\r\n    C++      engines/grim/lua/ltable.o\r\n    C++      engines/grim/lua/ltm.o\r\n    C++      engines/grim/lua/lundump.o\r\n    C++      engines/grim/lua/lzio.o\r\n    C++      engines/grim/lua/lvm.o\r\n    C++      engines/grim/movie/codecs/codec48.o\r\n    C++      engines/grim/movie/codecs/blocky8.o\r\n    C++      engines/grim/movie/codecs/smush_decoder.o\r\n    C++      engines/grim/movie/codecs/vima.o\r\n    C++      engines/grim/movie/codecs/blocky16.o\r\n    C++      engines/grim/movie/bink.o\r\n    C++      engines/grim/movie/mpeg.o\r\n    C++      engines/grim/movie/movie.o\r\n    C++      engines/grim/movie/quicktime.o\r\n    C++      engines/grim/movie/smush.o\r\n    C++      engines/grim/update/packfile.o\r\n    C++      engines/grim/update/mscab.o\r\n    C++      engines/grim/update/lang_filter.o\r\n    C++      engines/grim/update/update.o\r\n    C++      engines/grim/animation.o\r\n    C++      engines/grim/actor.o\r\n    C++      engines/grim/bitmap.o\r\n    C++      engines/grim/costume.o\r\n    C++      engines/grim/colormap.o\r\n    C++      engines/grim/debug.o\r\n    C++      engines/grim/color.o\r\n    C++      engines/grim/detection.o\r\n    C++      engines/grim/gfx_tinygl.o\r\n    C++      engines/grim/font.o\r\n    C++      engines/grim/gfx_base.o\r\n    C++      engines/grim/gfx_opengl_shaders.o\r\n    C++      engines/grim/gfx_opengl.o\r\n    C++      engines/grim/grim.o\r\n    C++      engines/grim/inputdialog.o\r\n    C++      engines/grim/grim_controls.o\r\n    C++      engines/grim/iris.o\r\n    C++      engines/grim/lab.o\r\n    C++      engines/grim/lipsync.o\r\n    C++      engines/grim/keyframe.o\r\n    C++      engines/grim/lua.o\r\n    C++      engines/grim/localize.o\r\n    C++      engines/grim/lua_v1.o\r\n    C++      engines/grim/lua_v1_actor.o\r\n    C++      engines/grim/lua_v1_graphics.o\r\n    C++      engines/grim/lua_v1_set.o\r\n    C++      engines/grim/lua_v1_sound.o\r\n    C++      engines/grim/material.o\r\n    C++      engines/grim/lua_v1_text.o\r\n    C++      engines/grim/model.o\r\n    C++      engines/grim/primitives.o\r\n    C++      engines/grim/objectstate.o\r\n    C++      engines/grim/patchr.o\r\n    C++      engines/grim/registry.o\r\n    C++      engines/grim/resource.o\r\n    C++      engines/grim/set.o\r\n    C++      engines/grim/sector.o\r\n    C++      engines/grim/savegame.o\r\n    C++      engines/grim/sound.o\r\n    C++      engines/grim/stuffit.o\r\n    C++      engines/grim/textobject.o\r\n    C++      engines/grim/sprite.o\r\n    C++      engines/grim/textsplit.o\r\n    C++      engines/grim/debugger.o\r\n    C++      engines/grim/object.o\r\n    C++      engines/grim/md5check.o\r\n    C++      engines/grim/md5checkdialog.o\r\n    C++      engines/myst3/console.o\r\n    C++      engines/myst3/ambient.o\r\n    C++      engines/myst3/cursor.o\r\n    C++      engines/myst3/archive.o\r\n    C++      engines/myst3/database.o\r\n    C++      engines/myst3/directorysubentry.o\r\n    C++      engines/myst3/detection.o\r\n    C++      engines/myst3/effects.o\r\n    C++      engines/myst3/directoryentry.o\r\n    C++      engines/myst3/gfx.o\r\n    C++      engines/myst3/gfx_opengl.o\r\n    C++      engines/myst3/gfx_tinygl.o\r\n    C++      engines/myst3/gfx_opengl_shaders.o\r\n    C++      engines/myst3/gfx_opengl_texture.o\r\n    C++      engines/myst3/gfx_tinygl_texture.o\r\n    C++      engines/myst3/hotspot.o\r\n    C++      engines/myst3/inventory.o\r\n    C++      engines/myst3/menu.o\r\n    C++      engines/myst3/movie.o\r\n    C++      engines/myst3/node.o\r\n    C++      engines/myst3/myst3.o\r\n    C++      engines/myst3/nodecube.o\r\n    C++      engines/myst3/puzzles.o\r\n    C++      engines/myst3/scene.o\r\n    C++      engines/myst3/nodeframe.o\r\n    C++      engines/myst3/script.o\r\n    C++      engines/myst3/sound.o\r\n    C++      engines/myst3/subtitles.o\r\n    C++      engines/myst3/transition.o\r\n    C++      engines/myst3/state.o\r\n    C++      engines/stark/detection.o\r\n    C++      engines/stark/gfx/driver.o\r\n    C++      engines/stark/console.o\r\n    C++      engines/stark/gfx/opengls.o\r\n    C++      engines/stark/gfx/openglsactor.o\r\n    C++      engines/stark/gfx/openglssurface.o\r\n    C++      engines/stark/gfx/openglsprop.o\r\n    C++      engines/stark/gfx/opengltexture.o\r\n    C++      engines/stark/gfx/renderentry.o\r\n    C++      engines/stark/gfx/texture.o\r\n    C++      engines/stark/formats/biff.o\r\n    C++      engines/stark/formats/biffmesh.o\r\n    C++      engines/stark/gfx/surfacerenderer.o\r\n    C++      engines/stark/formats/iss.o\r\n    C++      engines/stark/formats/xarc.o\r\n    C++      engines/stark/formats/xmg.o\r\n    C++      engines/stark/formats/xrc.o\r\n    C++      engines/stark/formats/tm.o\r\n    C++      engines/stark/model/skeleton.o\r\n    C++      engines/stark/model/model.o\r\n    C++      engines/stark/movement/followpath.o\r\n    C++      engines/stark/movement/movement.o\r\n    C++      engines/stark/model/skeleton_anim.o\r\n    C++      engines/stark/movement/stringpullingpath.o\r\n    C++      engines/stark/movement/shortestpath.o\r\n    C++      engines/stark/resources/anim.o\r\n    C++      engines/stark/movement/walk.o\r\n    C++      engines/stark/movement/turn.o\r\n    C++      engines/stark/resources/animhierarchy.o\r\n    C++      engines/stark/resources/animscript.o\r\n    C++      engines/stark/resources/bookmark.o\r\n    C++      engines/stark/resources/camera.o\r\n    C++      engines/stark/resources/bonesmesh.o\r\n    C++      engines/stark/resources/command.o\r\n    C++      engines/stark/resources/container.o\r\n    C++      engines/stark/resources/dialog.o\r\n    C++      engines/stark/resources/direction.o\r\n    C++      engines/stark/resources/floor.o\r\n    C++      engines/stark/resources/floorface.o\r\n    C++      engines/stark/resources/floorfield.o\r\n    C++      engines/stark/resources/fmv.o\r\n    C++      engines/stark/resources/item.o\r\n    C++      engines/stark/resources/image.o\r\n    C++      engines/stark/resources/knowledgeset.o\r\n    C++      engines/stark/resources/knowledge.o\r\n    C++      engines/stark/resources/layer.o\r\n    C++      engines/stark/resources/level.o\r\n    C++      engines/stark/resources/light.o\r\n    C++      engines/stark/resources/lipsync.o\r\n    C++      engines/stark/resources/object.o\r\n    C++      engines/stark/resources/path.o\r\n    C++      engines/stark/resources/location.o\r\n    C++      engines/stark/resources/pattable.o\r\n    C++      engines/stark/resources/sound.o\r\n    C++      engines/stark/resources/script.o\r\n    C++      engines/stark/resources/root.o\r\n    C++      engines/stark/resources/speech.o\r\n    C++      engines/stark/resources/scroll.o\r\n    C++      engines/stark/resources/textureset.o\r\n    C++      engines/stark/resourcereference.o\r\n    C++      engines/stark/scene.o\r\n    C++      engines/stark/resources/string.o\r\n    C++      engines/stark/services/fontprovider.o\r\n    C++      engines/stark/services/archiveloader.o\r\n    C++      engines/stark/services/dialogplayer.o\r\n    C++      engines/stark/services/gameinterface.o\r\n    C++      engines/stark/services/resourceprovider.o\r\n    C++      engines/stark/services/stateprovider.o\r\n    C++      engines/stark/services/global.o\r\n    C++      engines/stark/services/staticprovider.o\r\n    C++      engines/stark/services/services.o\r\n    C++      engines/stark/stark.o\r\n    C++      engines/stark/ui/actionmenu.o\r\n    C++      engines/stark/services/userinterface.o\r\n    C++      engines/stark/ui/clicktext.o\r\n    C++      engines/stark/ui/button.o\r\n    C++      engines/stark/ui/cursor.o\r\n    C++      engines/stark/ui/dialogpanel.o\r\n    C++      engines/stark/ui/fmvplayer.o\r\n    C++      engines/stark/ui/gamewindow.o\r\n    C++      engines/stark/ui/inventorywindow.o\r\n    C++      engines/stark/ui/topmenu.o\r\n    C++      engines/stark/ui/window.o\r\n    C++      engines/stark/visual/actor.o\r\n    C++      engines/stark/visual/prop.o\r\n    C++      engines/stark/visual/image.o\r\n    C++      engines/stark/visual/smacker.o\r\n    C++      engines/stark/visual/text.o\r\n    C++      gui/chooser.o\r\n    C++      gui/about.o\r\n    C++      gui/dialog.o\r\n    C++      gui/debugger.o\r\n    C++      gui/console.o\r\n    C++      gui/error.o\r\n    C++      gui/EventRecorder.o\r\n    C++      gui/gui-manager.o\r\n    C++      gui/launcher.o\r\n    C++      gui/massadd.o\r\n    C++      gui/filebrowser-dialog.o\r\n    C++      gui/message.o\r\n    C++      gui/object.o\r\n    C++      gui/predictivedialog.o\r\n    C++      gui/options.o\r\n    C++      gui/saveload.o\r\n    C++      gui/saveload-dialog.o\r\n    C++      gui/themebrowser.o\r\n    C++      gui/ThemeEngine.o\r\n    C++      gui/ThemeEval.o\r\n    C++      gui/ThemeLayout.o\r\n    C++      gui/ThemeParser.o\r\n    C++      gui/Tooltip.o\r\n    C++      gui/widget.o\r\n    C++      gui/widgets/editable.o\r\n    C++      gui/widgets/popup.o\r\n    C++      gui/widgets/edittext.o\r\n    C++      gui/widgets/list.o\r\n    C++      gui/widgets/scrollbar.o\r\n    C++      gui/widgets/tab.o\r\n    C++      backends/base-backend.o\r\n    C++      gui/browser.o\r\n    C++      backends/audiocd/default/default-audiocd.o\r\n    C++      backends/events/default/default-events.o\r\n    C++      backends/modular-backend.o\r\n    C++      backends/fs/stdiostream.o\r\n    C++      backends/fs/abstract-fs.o\r\n    C++      backends/log/log.o\r\n    C++      backends/midi/dmedia.o\r\n    C++      backends/midi/alsa.o\r\n    C++      backends/midi/seq.o\r\n    C++      backends/midi/timidity.o\r\n    C++      backends/midi/sndio.o\r\n    C++      backends/midi/stmidi.o\r\n    C++      backends/saves/default/default-saves.o\r\n    C++      backends/saves/savefile.o\r\n    C++      backends/events/sdl/resvm-sdl-events.o\r\n    C++      backends/timer/default/default-timer.o\r\n    C++      backends/graphics/sdl/sdl-graphics.o\r\n    C++      backends/events/sdl/sdl-events.o\r\n    C++      backends/graphics/surfacesdl/surfacesdl-graphics.o\r\n    C++      backends/mixer/doublebuffersdl/doublebuffersdl-mixer.o\r\n    C++      backends/mutex/sdl/sdl-mutex.o\r\n    C++      backends/plugins/sdl/sdl-provider.o\r\n    C++      backends/timer/sdl/sdl-timer.o\r\n    C++      backends/mixer/sdl/sdl-mixer.o\r\n    C++      backends/fs/posix/posix-fs.o\r\n    C++      backends/fs/chroot/chroot-fs.o\r\n    C++      backends/fs/posix/posix-fs-factory.o\r\n    C++      backends/plugins/posix/posix-provider.o\r\n    C++      backends/fs/chroot/chroot-fs-factory.o\r\n    C++      backends/saves/posix/posix-saves.o\r\n    C++      engines/advancedDetector.o\r\n    C++      backends/taskbar/unity/unity-taskbar.o\r\n    C++      engines/dialogs.o\r\n    C++      engines/engine.o\r\n    C++      engines/game.o\r\nbackends/graphics/surfacesdl/surfacesdl-graphics.cpp: In constructor ‘SurfaceSdlGraphicsManager::SurfaceSdlGraphicsManager(SdlEventSource*, SdlWindow*)’:\r\nbackends/graphics/surfacesdl/surfacesdl-graphics.cpp:76:9: error: ‘SDL_VideoInfo’ does not name a type\r\n   const SDL_VideoInfo *vi = SDL_GetVideoInfo();\r\n         ^\r\nbackends/graphics/surfacesdl/surfacesdl-graphics.cpp:77:15: error: ‘vi’ was not declared in this scope\r\n   _desktopW = vi->current_w;\r\n               ^\r\nbackends/graphics/surfacesdl/surfacesdl-graphics.cpp: In member function ‘virtual void SurfaceSdlGraphicsManager::setupScreen(uint, uint, bool, bool)’:\r\nbackends/graphics/surfacesdl/surfacesdl-graphics.cpp:231:67: error: ‘SDL_putenv’ was not declared in this scope\r\n    SDL_putenv(const_cast<char *>(\"SDL_VIDEO_WINDOW_POS=9000,9000\"));\r\n                                                                   ^\r\nbackends/graphics/surfacesdl/surfacesdl-graphics.cpp:232:32: error: ‘SDL_OPENGL’ was not declared in this scope\r\n    SDL_SetVideoMode(32, 32, 0, SDL_OPENGL);\r\n                                ^\r\nbackends/graphics/surfacesdl/surfacesdl-graphics.cpp:232:42: error: ‘SDL_SetVideoMode’ was not declared in this scope\r\n    SDL_SetVideoMode(32, 32, 0, SDL_OPENGL);\r\n                                          ^\r\nbackends/graphics/surfacesdl/surfacesdl-graphics.cpp:267:14: error: ‘SDL_OPENGL’ was not declared in this scope\r\n   sdlflags = SDL_OPENGL;\r\n              ^\r\nbackends/graphics/surfacesdl/surfacesdl-graphics.cpp:288:60: error: ‘SDL_SetVideoMode’ was not declared in this scope\r\n  _screen = SDL_SetVideoMode(screenW, screenH, bpp, sdlflags);\r\n                                                            ^\r\nbackends/graphics/surfacesdl/surfacesdl-graphics.cpp: In member function ‘virtual void SurfaceSdlGraphicsManager::updateScreen()’:\r\nbackends/graphics/surfacesdl/surfacesdl-graphics.cpp:617:22: error: ‘SDL_GL_SwapBuffers’ was not declared in this scope\r\n   SDL_GL_SwapBuffers();\r\n                      ^\r\nbackends/graphics/surfacesdl/surfacesdl-graphics.cpp:635:19: error: ‘SDL_Flip’ was not declared in this scope\r\n   SDL_Flip(_screen);\r\n                   ^\r\nbackends/graphics/surfacesdl/surfacesdl-graphics.cpp: In member function ‘virtual bool SurfaceSdlGraphicsManager::lockMouse(bool)’:\r\nbackends/graphics/surfacesdl/surfacesdl-graphics.cpp:922:20: error: ‘SDL_GRAB_ON’ was not declared in this scope\r\n   SDL_WM_GrabInput(SDL_GRAB_ON);\r\n                    ^\r\nbackends/graphics/surfacesdl/surfacesdl-graphics.cpp:922:31: error: ‘SDL_WM_GrabInput’ was not declared in this scope\r\n   SDL_WM_GrabInput(SDL_GRAB_ON);\r\n                               ^\r\nbackends/graphics/surfacesdl/surfacesdl-graphics.cpp:924:20: error: ‘SDL_GRAB_OFF’ was not declared in this scope\r\n   SDL_WM_GrabInput(SDL_GRAB_OFF);\r\n                    ^\r\nbackends/graphics/surfacesdl/surfacesdl-graphics.cpp:924:32: error: ‘SDL_WM_GrabInput’ was not declared in this scope\r\n   SDL_WM_GrabInput(SDL_GRAB_OFF);\r\n                                ^\r\nbackends/graphics/surfacesdl/surfacesdl-graphics.cpp: In member function ‘virtual void SurfaceSdlGraphicsManager::warpMouse(int, int)’:\r\nbackends/graphics/surfacesdl/surfacesdl-graphics.cpp:949:20: error: ‘SDL_WarpMouse’ was not declared in this scope\r\n  SDL_WarpMouse(x, y);\r\n                    ^\r\nMakefile.common:105: recipe for target 'backends/graphics/surfacesdl/surfacesdl-graphics.o' failed\r\nmake: *** [backends/graphics/surfacesdl/surfacesdl-graphics.o] Error 1\r\nmake: *** Waiting for unfinished jobs....\r\n```"},"comment":{"url":"https://api.github.com/repos/residualvm/residualvm/issues/comments/192812169","html_url":"https://github.com/residualvm/residualvm/issues/1237#issuecomment-192812169","issue_url":"https://api.github.com/repos/residualvm/residualvm/issues/1237","id":192812169,"user":{"login":"aquadran","id":406926,"avatar_url":"https://avatars.githubusercontent.com/u/406926?v=3","gravatar_id":"","url":"https://api.github.com/users/aquadran","html_url":"https://github.com/aquadran","followers_url":"https://api.github.com/users/aquadran/followers","following_url":"https://api.github.com/users/aquadran/following{/other_user}","gists_url":"https://api.github.com/users/aquadran/gists{/gist_id}","starred_url":"https://api.github.com/users/aquadran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aquadran/subscriptions","organizations_url":"https://api.github.com/users/aquadran/orgs","repos_url":"https://api.github.com/users/aquadran/repos","events_url":"https://api.github.com/users/aquadran/events{/privacy}","received_events_url":"https://api.github.com/users/aquadran/received_events","type":"User","site_admin":false},"created_at":"2016-03-06T06:07:29Z","updated_at":"2016-03-06T06:07:29Z","body":"regarding SDL2, we may have support at some point, that depend on current state of SDL2 if all three targets Windows, Linux and OSX works fully properly."}}