Re: SDL2 + X11 + OS X - is it broken?
"Dominus" <[email protected]> Mon, 09 Jan 2017 23:20:32 +0000
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <[email protected]> |
This seems to have fixed my problem with X11. Tested with building against macports x11 stuff. Build SDL2 with those commands Code: SDK=' -I/usr/X11R6/include/' export MACOSX_DEPLOYMENT_TARGET=10.12 export PATH=/opt/local/bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin export CC="/usr/bin/clang" export CXX="/usr/bin/clang++" export CPPFLAGS='-I/opt/local/include '$SDK export CFLAGS='-I/opt/local/include '$SDK export CXXFLAGS='-I/opt/local/include '$SDK export LDFLAGS='-L/opt/local/lib '$SDK export PKG_CONFIG_PATH="/opt/local/lib/pkgconfig" export PKG_CONFIG=/opt/local/bin/pkg-config ./autogen.sh ./configure --prefix=/users/testuser/code/test/sdl2 make clean make install cd test /.autogen.sh ./configure --with-sdl-prefix=/users/testuser/code/test/sdl2 make clean make testsprite export SDL_VIDEODRIVER=x11 ./testsprite With rev 10780 "Couldn't create window: No OpenGL support in video driver" With rev 10781 it succeeded and I got to see the dancing smilies! So bug resolved! many thanks Ryan for yet another quick save! :) _______________________________________________ SDL mailing list [email protected] http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org