Author Topic: C++ success stories?  (Read 6485 times)

clach04 (OP)

  • Posts: 257
C++ success stories?
« on: December 23, 2010, 06:44:50 am »
I spent some time today updating Ivo Danihelka's Ships from to run with 320x240 screen resolution (on x86 Linux). The code for that is now available from

.... However I'm not able to build this with Native SDK the issue appears to be related to std:list. I'm not a C++'er though.

Has any one had luck with C++ with the native SDK? I could hack out the list usage and try and put in a simple C list or I could try uClibc++ but I'm lazy ;)



  • * Administrator
  • Posts: 713
    • Harteex Productions
Re: C++ success stories?
« Reply #1 on: December 25, 2010, 09:32:01 pm »
The SDLPong sample is C++, maybe that could help with something.
Have a look at the makefile for SDLPong aswell, to make sure you have everything you need.

Also, look through this google code issue for the status on the C++ support, if you haven't already seen it.
« Last Edit: December 25, 2010, 09:34:06 pm by Harteex »


  • Posts: 33
Re: C++ success stories?
« Reply #2 on: December 26, 2010, 10:29:17 pm »
Look at spartak chess sources. C++ & stl.

clach04 (OP)

  • Posts: 257
Re: C++ success stories?
« Reply #3 on: January 08, 2011, 09:47:36 pm »
Thanks for the all the replies, the stlport included with the SDK is fine for ships. It turns out I'd messed up the include dir and accidentally set the include dir to the include files shipped with the compiler  :-[

Once I fixed up the makefile (modelled on SDLPong demo) and finished the port all was fine  :)

Screen shots (from desktop version):

Basically you crash into ships to steal the guns.

Dingoo controls:

d-pad  : move
Select : quit
Y : Fire

Currently getting ~90fps (with music playing).

Download from:

[edit change gfx link to use small image]
« Last Edit: January 08, 2011, 09:50:38 pm by clach04 »