Für das UPnP/DLNA-Plugin hab ich mir libdlna-dev installiert. Der header definiert die Profilstruktur:
Code
typedef struct dlna_profile_s {
/* Profile ID, part of DLNA.ORG_PN= string */
const char *id;
/* Profile MIME type */
const char *mime;
/* Profile Label */
const char *label;
/* Profile type: IMAGE / AUDIO / AV */
dlna_media_class_t class;
} dlna_profile_t;
wie man sehen kann nutzt die Struktur das Schüsselwort "class". Wenn ich nun mit g++ meine Quelltexte kompilieren will bekomme ich wegen den includes an dieser Stelle einen Fehler weil ja keine Klasse deklariert wird.
ich habe schon das hier versucht:
ohne Erfolg. Wie löse ich das Problem?