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 Mike Parker via Digitalmars-d-learn
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 loader implements functions like this one: And I've just

Re: Derelict SDL segfaulting on ubuntu?

2017-03-22 Thread Mike Parker via Digitalmars-d-learn
On Wednesday, 22 March 2017 at 10:32:44 UTC, Robly18 wrote: Well, I have a call to SDL_GetVersion in my code, to check exactly what you're saying. And it spits out "2.0.5", so I don't think that is the problem. I believe I do have it installed: I rm'd the old lib files and used make install

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 Mike Parker via Digitalmars-d-learn
On Tuesday, 21 March 2017 at 19:26:47 UTC, Robly18 wrote: Oh! Right, I forgot to mention that, my bad. The earliest errors were, as you said, mismatched version exceptions. However, to fix them, what I did was, at first, do the 2,0,2 version thing you said. Later, however, I decided to

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 Mike Parker 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. [...]

Re: Derelict SDL segfaulting on ubuntu?

2017-03-21 Thread Mike Parker via Digitalmars-d-learn
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 seems to be 2.0.5), and it continues segfaulting at seemingly

Re: Derelict SDL segfaulting on ubuntu?

2017-03-21 Thread WebFreak001 via Digitalmars-d-learn
On Tuesday, 21 March 2017 at 13:04:29 UTC, Robly18 wrote: 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...

Re: Derelict SDL segfaulting on ubuntu?

2017-03-21 Thread drug via Digitalmars-d-learn
21.03.2017 16:04, Robly18 пишет: 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

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. [...]

Re: Derelict SDL segfaulting on ubuntu?

2017-03-21 Thread WebFreak001 via Digitalmars-d-learn
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

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