Derelict SDL segfaulting on ubuntu?

Mike Parker via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Mar 21 07:25:39 PDT 2017


On Tuesday, 21 March 2017 at 12:39:26 UTC, WebFreak001 wrote:
> On Tuesday, 21 March 2017 at 12:31:41 UTC, Robly18 wrote:
>> I've been working on a small game of tic tac toe using 
>> Derelict SDL, and development has been going along great... 
>> Until I tried to develop on my Ubuntu laptop.
>>
>> [...]
>
> Derelict-SDL is binding against newer functions than ubuntu 
> supports, so "derelict-sdl2": "~>2.1.2" won't work. Change it 
> to "derelict-sdl2": "~>1.9.7" if you want the highest supported 
> SDL version that works on ubuntu

See the bit in my reply to the OP about SharedLibVersion. You 
really shouldn't be using the 1.9 series -- that was the 2.0 
beta. 2.0.x supports up to 2.0.4 by default, 2.1.x supports 2.0.5 
by default, but both can load older versions just fine using 
SharedLibVersion.

Also, I've been trying to get in touch with you to discuss 
workspace-d, but the email keeps bouncing! If you don't mind, 
please send me a message at aldacron at gmail.com.


More information about the Digitalmars-d-learn mailing list