C++: Platform indepentend game lib?
- by Martijn Courteaux
Hi,
I want to write a serious 2D game, and it would be nice if I have a version for Linux and one for Windows (and eventually OSX). Java is fantastic because of its platform independent. But Java is to slow to write a serious game. So, I thought to write it in C++. But C++ isn't very cross-platform friendly. I can find game libraries for Windows and libraries for Linux, but I'm searching one that I can use for both, by recompiling the source on a Windows platform and on a Linux platform.
Are there engines for this or is this idea irrelevant? Isn't it that easy (recompiling)?
Any advice and information about C++ libraries would be very very very appreciated!