C++ and Photon

I tried to create an “application” in C++ to access the frame buffer. When
I compile with g++, I have redefinition error with stdlib.h.

I even tried with only one include in my .h (#include <Ph.h>) only the
constructor in my class and the .C file only include my .h and the code for
the construtor :

MD_display::MD_display() {}


Is there a way to make C++ application with photon or do I have to use C
(without ++)?

Nicolas

Nicolas <ripley@iquebec.com> wrote:

I tried to create an “application” in C++ to access the frame buffer. When
I compile with g++, I have redefinition error with stdlib.h.

I even tried with only one include in my .h (#include <Ph.h>) only the
constructor in my class and the .C file only include my .h and the code for
the construtor :

MD_display::MD_display() {}

definitively, use the QCC frontend to solve these problems.

Is there a way to make C++ application with photon or do I have to use C
(without ++)?

Nicolas


Wave++