SDL under Windows

Windows specific forum
Lebostein
Addict
Addict
Posts: 841
Joined: Fri Jun 11, 2004 7:07 am

SDL under Windows

Post 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)?
Fred
Administrator
Administrator
Posts: 18357
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post 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).
Post Reply