Author Topic: Howto compile Orbiter on QNX (or any other OS) ?  (Read 16359 times)

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Howto compile Orbiter on QNX (or any other OS) ?
« on: September 22, 2005, 05:44:34 pm »
Hi,

I'd kindly ask for help on compiling Orbiter on other OSes.

On download site it seems like Orbiter has tremendous dependency list (even Alsa?). So I'm interested in minimal Orbiter that will run on QNX or could be compiled on other OS....

Thanks in advance,

regards,

Rob.

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Howto compile Orbiter on QNX (or any other OS) ?
« Reply #1 on: September 23, 2005, 07:27:00 am »
Hi Rob,

      More then 90% of Orbiter's code is cross-platform, working under Windows XP, Windows CE and Linux. The rest is platform independent and it's actually the implementation of graphic methods. "Orbiter" class is the base, cross-platform, and Orbiter_PocketFrog or OrbiterSDL are derived classes from Orbiter.
     To have Orbiter working on other operating systems, all it's needed is a graphic engine for that platform (like SDL, PocketFrog) and an implementation of orbiter which uses that engine to display things on the screen (how to render an image, a rectangle, some text).
    To give you a real example, we had first only an Orbiter based on SDL engine, which was very slow on tablets/pda’s and so on. So, all I did is to implement a class derived from Orbiter class, called Orbiter_PocketFrog and within few day, we had Orbiter running on the tablets much faster, with PocketFrog engine.

     The good news is that SDL is also working on QNX and other OSes (“Simple DirectMedia Layer supports Linux, Windows, BeOS, MacOS Classic, MacOS X, FreeBSD, OpenBSD, BSD/OS, Solaris, IRIX, and QNX. There is also code, but no official support, for Windows CE, AmigaOS, Dreamcast, Atari, NetBSD, AIX, OSF/Tru64, RISC OS, and SymbianOS - http://www.libsdl.org/index.php”. So in the worst case, you’ll have to implement a class OrbiterSDL_QNX derived from OrbiterSDL and only implement what’s different (maybe nothing :) ).
     
Regards,
Chris M.

P.S. We have a topic “Orbiter – Developers” for this kind of posts. :)

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Howto compile Orbiter on QNX (or any other OS) ?
« Reply #2 on: September 26, 2005, 09:14:23 pm »
I don't do much coding any more, but I would definitely like the port.  I have two audrey's that I would like to use with Pluto.