Re: [fpc-pascal] SDL 2.0 Test, Need Advice

2013-04-09 Thread Anthony Walter
I fixed this problem. Apparently settings in my .bashrc are not inherited by launcher applications. I have a ~/lib folder where I would put shared object files I built and added that path it in .bashrc LD_LIBRARY_PATH=~/lib export LD_LIBRARY_PATH I copied the above again in the script which

Re: [fpc-pascal] SDL 2.0 Test, Need Advice

2013-04-08 Thread Anthony Walter
On Mon, Apr 8, 2013 at 1:59 AM, Sven Barth pascaldra...@googlemail.comwrote: Am 08.04.2013 01:37 schrieb Anthony Walter sys...@gmail.com: In addition I have been writing a OpenGL which creates stubs for loading the correct OpenGL library and loading the OpenGL core functions and

Re: [fpc-pascal] SDL 2.0 Test, Need Advice

2013-04-08 Thread Marco van de Voort
In our previous episode, Anthony Walter said: 2) I cannot compile a i386-win32 SDL2 application on Linux using the SDL2 static libraries (define static in CrossSDL2.pas which should be reference i386-win32/libSDL2.a) for Windows. I get a bunch of errors similar to this: test.lpr(79,1)

Re: [fpc-pascal] SDL 2.0 Test, Need Advice

2013-04-08 Thread Sven Barth
Am 08.04.2013 08:53, schrieb Anthony Walter: On Mon, Apr 8, 2013 at 1:59 AM, Sven Barth pascaldra...@googlemail.com mailto:pascaldra...@googlemail.com wrote: Am 08.04.2013 01:37 schrieb Anthony Walter sys...@gmail.com mailto:sys...@gmail.com: In addition I have been writing

Re: [fpc-pascal] SDL 2.0 Test, Need Advice

2013-04-08 Thread Anthony Walter
So I did a lot of googling and testing and still haven't made progress fixing these problems. Problem #1 which prevents me from debugging or running projects which link to libSDL2.so in the IDE (lazarus) is quite annoying. I've put together a minimal example. If anyone with access to a 32 bit

[fpc-pascal] SDL 2.0 Test, Need Advice

2013-04-07 Thread Anthony Walter
SDL 2.0 was locked down Friday in preparation for release in May, and I have been working this weekend on converting the SDL 2 headers to Free Pascal. In addition I have been writing a OpenGL which creates stubs for loading the correct OpenGL library and loading the OpenGL core functions and

Re: [fpc-pascal] SDL 2.0 Test, Need Advice

2013-04-07 Thread Sven Barth
Am 08.04.2013 01:37 schrieb Anthony Walter sys...@gmail.com: In addition I have been writing a OpenGL which creates stubs for loading the correct OpenGL library and loading the OpenGL core functions and extensions for every platform. Don't we have that already? And even if not in my opinion it