Page 1 of 1

SDL under Windows

Posted: Wed May 18, 2005 1:19 pm
by Lebostein
Hi,

I will use SDL under Windows/Linux in PB directly. In PB linux version I found two files:

- the "sdl.res" in "\Residents" directory and
- the "sdl" library in "\PureLibraries\Linux" directory

When I copy the "sdl.res" form linux in my windows PB residents directory and I start PB, then I can use all constants an structures of SDL. Thats no problem.

The problem is the sdl library. I suppose, this library runs only under linux. Exist a conform sdl library (with same functions) for the windows version of PB? Where I can found this library? Why is the SDL api not a component of all PB versions (in terms of platform independence)?

Posted: Wed May 18, 2005 1:32 pm
by Fred
The .pbl component should be recompiled for Windows, i will try to do it a bit later. PB abstract the underlying system so that's why SDL isn't exposed to Windows users for now (PB Windows doesn't use it at all).