Fehler beim Compilieren
Hallo,
mein OSD funktioniert prima (danke an JR63), trotzdem würde ich gern meine eigene Konfiguration compilieren. Das gelingt mir jedoch nicht. Und ich verstehe zu wenig von Cpp, um die Fehlermeldungen korrekt zu interpretieren. Kann mir hier jemand weiterhelfen ?
Hier ist meine Fehlerliste:
In file included from ArduCam_Max7456.cpp:4:
ArduCam_Max7456.h:78: error: expected class-name before '{' token
ArduCam_Max7456.h:84: error: 'uint8_t' has not been declared
ArduCam_Max7456.h:84: error: 'uint8_t' has not been declared
ArduCam_Max7456.h:87: error: 'uint8_t' has not been declared
ArduCam_Max7456.h:90: error: 'uint8_t' has not been declared
ArduCam_Max7456.h:90: error: 'uint8_t' has not been declared
ArduCam_Max7456.h:97: error: 'size_t' does not name a type
ArduCam_Max7456.h:98: error: 'uint8_t' has not been declared
ArduCam_Max7456.h:99: error: 'BetterStream' has not been declared
ArduCam_Max7456.h:101: error: 'uint8_t' does not name a type
ArduCam_Max7456.cpp: In member function 'void OSD::init()':
ArduCam_Max7456.cpp:38: error: 'video_mode' was not declared in this scope
ArduCam_Max7456.cpp: In member function 'void OSD::setMode(int)':
ArduCam_Max7456.cpp:96: error: 'video_mode' was not declared in this scope
ArduCam_Max7456.cpp:97: error: 'video_center' was not declared in this scope
ArduCam_Max7456.cpp: In member function 'int OSD::getMode()':
ArduCam_Max7456.cpp:110: error: 'video_mode' was not declared in this scope
ArduCam_Max7456.cpp: In member function 'int OSD::getCenter()':
ArduCam_Max7456.cpp:125: error: 'video_center' was not declared in this scope
ArduCam_Max7456.cpp: At global scope:
ArduCam_Max7456.cpp:149: error: prototype for 'void OSD::setPanel(uint8_t, uint8_t)' does not match any in class 'OSD'
ArduCam_Max7456.h:84: error: candidate is: void OSD::setPanel(int, int)
ArduCam_Max7456.cpp: In member function 'void OSD:
penPanel()':
ArduCam_Max7456.cpp:164: error: 'row' was not declared in this scope
ArduCam_Max7456.cpp:164: error: 'col' was not declared in this scope
ArduCam_Max7456.cpp: In member function 'void OSD::closePanel()':
ArduCam_Max7456.cpp:193: error: 'row' was not declared in this scope
ArduCam_Max7456.cpp: At global scope:
ArduCam_Max7456.cpp:199: error: prototype for 'void OSD:
penSingle(uint8_t, uint8_t)' does not match any in class 'OSD'
ArduCam_Max7456.h:90: error: candidate is: void OSD:
penSingle(int, int)
ArduCam_Max7456.cpp:223: error: no 'size_t OSD::write(uint8_t)' member function declared in class 'OSD'
ArduCam_Max7456.cpp:238: error: prototype for 'void OSD::control(uint8_t)' does not match any in class 'OSD'
ArduCam_Max7456.h:87: error: candidate is: void OSD::control(int)
ArduCam_Max7456.cpp:255: error: prototype for 'void OSD::write_NVM(int, uint8_t*)' does not match any in class 'OSD'
ArduCam_Max7456.h:98: error: candidate is: void OSD::write_NVM(int, int*)
Aus meinen früheren Arduino Versuchen weiß ich noch, daß oft
ein minimaler Fehler (vergessene Klammer etc.) reicht, um solche Rattenschwänze von Fehlermeldungen zu erzeugen.
Aber wie komme ich hier weiter ?