Menu

#755 SDL driver requires X11 dependency

SDL
open
nobody
None
5
2016-10-01
2016-10-01
No

The first 6 lines of src/drivers/sdl/SConscript explicitly requires x11 dependency. Not sure if this is needed for Linux, but at least it breaks on macOS as we have no x11.pc. Commenting out these lines worked for me. I suggest this explicit linking of X11 should be done only on those platforms really need it.

Discussion

  • Lukas Sabota

    Lukas Sabota - 2016-10-01

    Thanks for the update. I added OSX support to the build scripts around 2009 and submitted a homebrew recipie which worked on leopard at this time [ https://github.com/MJIO/homebrew/blob/master/Library/Formula/fceux.rb ] . I have no idea about the status of things on recent osx as I no longer have any apple hardware to test anything.

    If I remember correctly, x11/quartz was required on OSX for some reason (can't quite pinpoint the reason). I really don't see a reason for it to be the case anymore, but like I said I can't confirm.

    Are you able to build fceux on OSX? If so, what version of fceux and OSX?

    I would be willing to accept a solid patch to fix OSX builds, but like I said I have no capacity to test the build on OSX nor the build itself.

    FWIW if you are interested I have started work on an autotools-based build system in svn, but OSX support in these scripts are much worse than the fceux scons scripts because they are brand new and have not ever been tested in any point in time. But, if you are up to it you can check it out.

     

    Last edit: Lukas Sabota 2016-10-01
  • Kyungdahm Yun

    Kyungdahm Yun - 2016-10-01

    Homebrew dropped X11 for GTK+ a while ago and fceux formula in the games tap has been updated to accomodate these changes. Now I updated this formula with the latest 2.2.3 version of fceux to build on macOS Sierra (10.12). At least I was able to run some games with LUA scripts and movie playback.
    https://github.com/Homebrew/homebrew-games/pull/696

    I'll try the new autotools-based script to see if it works on my system.

     
  • Lukas Sabota

    Lukas Sabota - 2016-10-01

    the autotools scripts most certainly will not work in its present state on osx but if you know autotools it shouldn't be too tough to get the darwin stuff working

     

Log in to post a comment.