We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2014-02-01 11:38:52 +0200

Porting SDL 2.0 game to Sailfish

I have a very simple open-source turn-based game I wrote recently that can compile (using cmake) at least in Ubuntu and probably many other desktop OSs as well. Now I thought it would be fun to also compile it for my Jolla phone, but not sure where to start. The game already uses SDL 2.0, and I stumbled upon a page claiming Sailfish already supports that (https://sailfishos.org/wiki/Porting/Harmattan), but I can't find any information about how I would (cross-)compile it for the Jolla phone. Do I have to wrap it in a Qt5 app somehow, or can I configure cmake to just build it from the command-line (inside of that Mer virtual machine I guess?)?

Porting SDL 2.0 game to Sailfish

I have a very simple open-source turn-based game I wrote recently that can compile (using cmake) at least in Ubuntu and probably many other desktop OSs as well. Now I thought it would be fun to also compile it for my Jolla phone, but not sure where to start. The game already uses SDL 2.0, and I stumbled upon a page claiming Sailfish already supports that (https://sailfishos.org/wiki/Porting/Harmattan), but I can't find any information about how I would (cross-)compile it for the Jolla phone. Do I have to wrap it in a Qt5 app somehow, or can I configure cmake to just build it from the command-line (inside of that Mer virtual machine I guess?)?

Porting SDL 2.0 game to Sailfish

I have a very simple open-source turn-based game I wrote recently that can compile (using cmake) at least in Ubuntu and probably many other desktop OSs as well. Now I thought it would be fun to also compile it for my Jolla phone, but not sure where to start. The game uses SDL 2.0, and I stumbled upon a page claiming Sailfish already supports that (https://sailfishos.org/wiki/Porting/Harmattan), but I can't find any information about how I would (cross-)compile it for the Jolla phone. Do I have to wrap it in a Qt5 app somehow, or can I configure cmake to just build it from the command-line (inside of that Mer virtual machine I guess?)?

Porting SDL 2.0 game to Sailfish

I have a very simple open-source turn-based game I wrote recently that can compile (using cmake) at least in Ubuntu and probably many other desktop OSs as well. Now I thought it would be fun to also compile it for my Jolla phone, but not sure where to start. The game uses SDL 2.0, and I stumbled upon a page claiming Sailfish already supports that (https://sailfishos.org/wiki/Porting/Harmattan), but I can't find any information about how I would (cross-)compile it for the Jolla phone. Do I have to wrap it in a Qt5 app somehow, or can I configure cmake to just build it from the command-line (inside of that Mer virtual machine I guess?)?