Re: [SailfishDevel] Question regarding porting SDL OpenGL game to Sailfish

2014-02-12 Thread Iosif Hamlatzis
Are there many SDKs? The one I've installed is from
https://sailfishos.org/index.html and specifically the Windows version (
http://releases.sailfishos.org/sdk/installers/1312/SailfishOSSDK-Alpha-1312-Qt5-windows-offline.exe
)

I'm using the IDE that is installed so I don't know how it communicates
with the emulator (or the device as I received it yesterday).

I had already downloaded from github the sdl2-opengles-test but when I try
to compile the project it cannot find the SDL.h I have a similar problem
with my own code, I failed to make the IDE see my various folders.

The way I have organised my source code is to create different static
libraries doing different things (logic, visual effects, utilities) and so
far has worked for all my mobile platforms. Actually my games are source
compatible for the different mobile platforms and only use a few
#ifdef/#endif blocks to distinguish between them. So by compiling and
linking with different solutions/projects/IDE I can create the same game
for different platforms using the same source files eg I use Visual Studio
for the PC version, Samsung's eclipse version for badaOS, generic eclipse
for webOS, BlackBerry's eclipse version for PlayBook and BB10 and under OS
X I use xCode. I hopped I could do the same with jolla
___
SailfishOS.org Devel mailing list

[SailfishDevel] Question regarding porting SDL OpenGL game to Sailfish

2014-02-10 Thread Iosif Hamlatzis
While waiting to receive my device I thought I should start porting my
games from BB10  iOS to SailfishOS

I have a couple of questions using the IDE, I would like to inform that I'm
developing on Windows and my games use extensively SDL with OpenGL ES.

As I don't use Qt I tried to create a plain c++ project and I tried both
options using either qmake or cmake but I cannot make my code see the SDL
libraries (SDL, SLD_ttf, SDL_mixer, SDL_image)

Are there any related samples?
___
SailfishOS.org Devel mailing list