Re: Derelict SDL segfaulting on ubuntu?

2017-03-22 Thread Robly18 via Digitalmars-d-learn
On Wednesday, 22 March 2017 at 12:31:34 UTC, Mike Parker wrote: On Wednesday, 22 March 2017 at 12:20:27 UTC, Mike Parker wrote: have at the bottom of the page the version they were added. But it's easier to look at the source for DerelictSDL2. In order to support the SharedLibVersion, the

Re: Derelict SDL segfaulting on ubuntu?

2017-03-22 Thread Robly18 via Digitalmars-d-learn
On Wednesday, 22 March 2017 at 03:44:17 UTC, Mike Parker wrote: So given what I know so far, my guess is you're using functions from 2.0.5 with a 2.0.4 version of the library. You can call SDL_GetVersion [1] to verify. In that case, you need to use DerelictSDL2 2.1.x and do no use

Re: Derelict SDL segfaulting on ubuntu?

2017-03-21 Thread Robly18 via Digitalmars-d-learn
On Tuesday, 21 March 2017 at 14:21:30 UTC, Mike Parker wrote: On Tuesday, 21 March 2017 at 12:31:41 UTC, Robly18 wrote: Two days of fix attempt laters, here I am. I tried reinstalling and recompiling SDL from source (since the version from apt-get was only 2.0.4 and the one Derelict uses

Re: Derelict SDL segfaulting on ubuntu?

2017-03-21 Thread Robly18 via Digitalmars-d-learn
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 segfaulting on ubuntu?

2017-03-21 Thread Robly18 via Digitalmars-d-learn
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. I uploaded the code to github, downloaded it on my laptop, installed the prequesites and... The program crashed with error -11 -- a