The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
Unable To Install SDL Version 2 On My Linux?
JeZ-l-Lee


Joined: 20 Sep 2009
Posts: 572
Location: Long Island, New York, United States, Earth
Unable To Install SDL Version 2 On My Linux?

Hi,

I am running Linux Mint 17.2 K.D.E. 64Bit fully updated.
Today I tried to install SDL version 2 in package manager, but it won't install and I get errors?

Here is console output:
Code:
    jezxlee@FirefoxDesktop:~ > sudo apt-get install libsdl2-dev
    [sudo] password for jezxlee:
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
     libsdl2-dev : Depends: libegl1-mesa-dev
                   Depends: libgl1-mesa-dev
                   Depends: libgles2-mesa-dev
                   Depends: libglu1-mesa-dev but it is not going to be installed
                   Depends: libwayland-dev but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.                             
    jezxlee@FirefoxDesktop:~ >

Hope someone knows how to fix this, I've also posted the issue to the official Linux Mint forums.
Thanks...

P.S. - I am running a newer nVidia proprietary display driver than what was available in 17.2 to support my new nVidia graphic card...

Jesse
scanner_darkly


Joined: 23 Aug 2015
Posts: 16
Did you install the mesa libraries listed as dependencies?