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

2013-04-08 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 launc

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 linu

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 mailto:pascaldra...@googlemail.com>> wrote: Am 08.04.2013 01:37 schrieb "Anthony Walter" mailto:sys...@gmail.com>>: > > In addition I have been writing a OpenGL which creates stubs for load

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-07 Thread Anthony Walter
On Mon, Apr 8, 2013 at 1:59 AM, Sven Barth wrote: > Am 08.04.2013 01:37 schrieb "Anthony Walter" : > > > > > 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'

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

2013-04-07 Thread Sven Barth
Am 08.04.2013 01:37 schrieb "Anthony Walter" : > > 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 would be be