Re: [Pharo-users] SDL2 and fork

2015-04-21 Thread Esteban Lorenzano
On 20 Apr 2015, at 23:30, Nicolai Hess nicolaih...@web.de wrote: 2015-04-20 14:20 GMT+02:00 Esteban Lorenzano esteba...@gmail.com mailto:esteba...@gmail.com: Hi, I just committed my prototype/experiment for windows with OSWindow, SDL2 and Athens. to check them: Gofer it

Re: [Pharo-users] SDL2 and fork

2015-04-21 Thread Esteban Lorenzano
On 21 Apr 2015, at 02:12, Sean P. DeNigris s...@clipperadams.com wrote: Sean P. DeNigris wrote VM latest That's odd... I opened the image with the latest VM and still got Error: Failed to find SDL2 library even though I can see libSDL2-2.0.0.dylib in the Plugins folder it should be ok…

Re: [Pharo-users] SDL2 and fork

2015-04-21 Thread Esteban Lorenzano
On 20 Apr 2015, at 22:47, Nicolai Hess nicolaih...@web.de wrote: 2015-04-20 16:56 GMT+02:00 Alexandre Bergel alexandre.ber...@me.com mailto:alexandre.ber...@me.com: I see the point, but SDL seems to be pretty stable isn’t it? Only two versions are reported on their website (1.2 and

Re: [Pharo-users] SDL2 and fork

2015-04-21 Thread Sean P. DeNigris
#40609 + latest VM + 40 sources - works on OS X 10.9.5 - can't find SDL2 library on OS X 10.8.5 - Cheers, Sean -- View this message in context: http://forum.world.st/SDL2-and-fork-tp4818623p4820797.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] SDL2 and fork

2015-04-21 Thread Sean P. DeNigris
EstebanLM wrote stable vm is from march 25 so it will be no difference between stable and latest right now In http://files.pharo.org/vm/pharo/mac/ : Stable: 1. stable.zip 9/2014 2. stable-20150325.zip 3/2015 3. stable-20150403.zip 4/15 4. Pharo-VM-mac-stable.zip one day earlier than #1

Re: [Pharo-users] SDL2 and fork

2015-04-21 Thread Esteban Lorenzano
On 21 Apr 2015, at 13:22, Sean P. DeNigris s...@clipperadams.com wrote: EstebanLM wrote stable vm is from march 25 so it will be no difference between stable and latest right now In http://files.pharo.org/vm/pharo/mac/ : Stable: 1. stable.zip 9/2014 2. stable-20150325.zip 3/2015 3.

Re: [Pharo-users] SDL2 and fork

2015-04-20 Thread Nicolai Hess
2015-04-20 14:20 GMT+02:00 Esteban Lorenzano esteba...@gmail.com: Hi, I just committed my prototype/experiment for windows with OSWindow, SDL2 and Athens. to check them: Gofer it smalltalkhubUser: 'Pharo' project: 'OSWindow'; package: 'OSWindow-Core'; package: 'OSWindow-SDL2'; package:

Re: [Pharo-users] SDL2 and fork

2015-04-20 Thread Nicolai Hess
2015-04-20 16:56 GMT+02:00 Alexandre Bergel alexandre.ber...@me.com: I see the point, but SDL seems to be pretty stable isn’t it? Only two versions are reported on their website (1.2 and 2.0). Maybe it would be better to directly talk to SDL. Just wondering... Alexandre If you use SDL

Re: [Pharo-users] SDL2 and fork

2015-04-20 Thread Sean P. DeNigris
Sean P. DeNigris wrote VM latest That's odd... I opened the image with the latest VM and still got Error: Failed to find SDL2 library even though I can see libSDL2-2.0.0.dylib in the Plugins folder - Cheers, Sean -- View this message in context:

Re: [Pharo-users] SDL2 and fork

2015-04-20 Thread Sean P. DeNigris
EstebanLM wrote I just committed my prototype/experiment for windows with OSWindow, SDL2 and Athens. I got an error because my VM (via Launcher 0.2.4 - I can't upgrade due to a previously-reported error) doesn't have SDL2. I guess Launcher is using stable from 9/2014. How stable is VM latest?

Re: [Pharo-users] SDL2 and fork

2015-04-20 Thread Nicolai Hess
2015-04-20 13:55 GMT+02:00 Nicolai Hess nicolaih...@web.de: 2015-04-20 13:13 GMT+02:00 merwanoudd...@gmail.com: Hello, We don’t lose all keystroke events, but they are replaced by keydown events. Yes, KeyDown/KeyUp are working and instead of a keystroke event another keydown is sent.

Re: [Pharo-users] SDL2 and fork

2015-04-20 Thread merwanouddane
Hello, We don’t lose all keystroke events, but they are replaced by keydown events. Merwan De : Nicolai Hess Envoyé : ‎lundi‎ ‎20‎ ‎avril‎ ‎2015 ‎09‎:‎36 À : Any question about pharo is welcome; Esteban Lorenzano 2015-04-20 8:38 GMT+02:00 Matthieu Lacaton matthieu.laca...@gmail.com:

Re: [Pharo-users] SDL2 and fork

2015-04-20 Thread Nicolai Hess
2015-04-20 13:13 GMT+02:00 merwanoudd...@gmail.com: Hello, We don’t lose all keystroke events, but they are replaced by keydown events. Yes, KeyDown/KeyUp are working and instead of a keystroke event another keydown is sent. This is strange, I don't know exactly how the SDL event processing

Re: [Pharo-users] SDL2 and fork

2015-04-20 Thread Esteban Lorenzano
Hi, I just committed my prototype/experiment for windows with OSWindow, SDL2 and Athens. to check them: Gofer it smalltalkhubUser: 'Pharo' project: 'OSWindow'; package: 'OSWindow-Core'; package: 'OSWindow-SDL2'; package: 'OSWindow-SDL2-Canvases';

Re: [Pharo-users] SDL2 and fork

2015-04-20 Thread Nicolai Hess
2015-04-20 8:38 GMT+02:00 Matthieu Lacaton matthieu.laca...@gmail.com: Hello, Thanks for your answers ! I have multiple remarks here : 1) I know that SDL2 should not be used as is in Pharo and I should use OSWindow instead, that's why I won't use SDL2 directly anymore. On windows there is

Re: [Pharo-users] SDL2 and fork

2015-04-20 Thread Nicolai Hess
2015-04-20 8:38 GMT+02:00 Matthieu Lacaton matthieu.laca...@gmail.com: Hello, ... Could it be that I compiled it for 64bits (my ubuntu is 64 bits) and Pharo does not support it so I should recompile it for 32 bits ? Yes. Thanks you all ! Matthieu 2015-04-20 1:57 GMT+02:00

Re: [Pharo-users] SDL2 and fork

2015-04-20 Thread stepharo
Alex Just to make sure we are clear on this: pay attention NOBODY should directly use SDL. OSWindow is the API, SDL is a BACKEND. Athens is the API, CAIRO a BACKEND Stef Le 20/4/15 02:57, Alexandre Bergel a écrit : Hi Matthieu, This is important: Binding SDL with Pharo will help

Re: [Pharo-users] SDL2 and fork

2015-04-20 Thread Nicolai Hess
2015-04-20 8:38 GMT+02:00 Matthieu Lacaton matthieu.laca...@gmail.com: Hello, Thanks for your answers ! I have multiple remarks here : On my computer (which is probably not the fastest I must admit) running it with a fork slows the whole operating system. What you could do, add a wait

Re: [Pharo-users] SDL2 and fork

2015-04-20 Thread Alexandre Bergel
I see the point, but SDL seems to be pretty stable isn’t it? Only two versions are reported on their website (1.2 and 2.0). Maybe it would be better to directly talk to SDL. Just wondering... Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu

Re: [Pharo-users] SDL2 and fork

2015-04-20 Thread Matthieu Lacaton
Hello, Thanks for your answers ! I have multiple remarks here : 1) I know that SDL2 should not be used as is in Pharo and I should use OSWindow instead, that's why I won't use SDL2 directly anymore. 2) But for the moment OSWindow uses SDL2 anyway so for experimentation purposes I will try to

Re: [Pharo-users] SDL2 and fork

2015-04-19 Thread Alexandre Bergel
Hi Matthieu, This is important: Binding SDL with Pharo will help Roassal to get better. Please, let us know how it goes Alexandre On Apr 9, 2015, at 12:54 PM, Matthieu Lacaton matthieu.laca...@gmail.com wrote: Hello everyone, I tried to use the SDL2 binding to Pharo to create a very

[Pharo-users] SDL2 and fork

2015-04-09 Thread Matthieu Lacaton
Hello everyone, I tried to use the SDL2 binding to Pharo to create a very basic 2D application (just some sprites and events) and it worked great. The issue I have is that when I start my application, as long as I have an active SDL window, I can't use my Pharo image anymore (it freezes). To