<div>Hi Thierry,<br /><br />I believe SDL_net 1.2 and 2 are almost the same, as docs on it's site for both versions are the same. It's possible that using SDL_net 1.2 with SDL 2 is problematic.<br /><br />I think that choosing corresponding version of SDL_net is the best option.<br /><br />I've just built ScummVM under Kubuntu with this:<br /><span style="font-family:courier new,monospace;"><span style="background-color:#d3d3d3;">CPPFLAGS=-DUSE_SDL2 SDL_CONFIG=sdl2-config ./configure --disable-all-engines --enable-engine=cge --disable-fluidsynth</span></span></div><div><br />Having these in the configure output:<div><span style="font-family:courier new,monospace;"><span style="background-color:#d3d3d3;">Looking for sdl-config... /usr/bin/sdl2-config</span></span></div><span style="font-family:courier new,monospace;"><span style="background-color:#d3d3d3;"><...></span></span><div><span style="font-family:courier new,monospace;"><span style="background-color:#d3d3d3;">Checking for SDL_Net... yes</span></span></div><span style="font-family:courier new,monospace;"><span style="background-color:#d3d3d3;"><...></span></span><div><span style="font-family:courier new,monospace;"><span style="background-color:#d3d3d3;">Backend... sdl (2.0.4)</span></span></div><br />So, yeah, not default arguments. I guess changing configure to use <span style="font-family:courier new,monospace;"><span style="background-color:#d3d3d3;">sdl2-config</span></span> when building with SDL2 should do the trick.</div><div><span>— Alexander</span></div>