EgorBelikov / arducam-osd

Automatically exported from code.google.com/p/arducam-osd
0 stars 0 forks source link

problem compiling with arduino #72

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.i download all the needed files from svn and place them in a folder
2. open the arducam_osd.ino
3.try to compile and get a lot of error

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
this is v2.0 withe arduino 1.5.2 on a MAC

Please provide any additional information below.

when i try to compile i get those error, can someone help me please.

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:91: error: 'video_mode' was not declared in this scope
ArduCam_Max7456.cpp:92: error: 'video_center' was not declared in this scope
ArduCam_Max7456.cpp: In member function 'int OSD::getMode()':
ArduCam_Max7456.cpp:105: error: 'video_mode' was not declared in this scope
ArduCam_Max7456.cpp: In member function 'int OSD::getCenter()':
ArduCam_Max7456.cpp:120: error: 'video_center' was not declared in this scope
ArduCam_Max7456.cpp: At global scope:
ArduCam_Max7456.cpp:144: 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::openPanel()':
ArduCam_Max7456.cpp:159: error: 'row' was not declared in this scope
ArduCam_Max7456.cpp:159: error: 'col' was not declared in this scope
ArduCam_Max7456.cpp: In member function 'void OSD::closePanel()':
ArduCam_Max7456.cpp:188: error: 'row' was not declared in this scope
ArduCam_Max7456.cpp: At global scope:
ArduCam_Max7456.cpp:194: error: prototype for 'void OSD::openSingle(uint8_t, 
uint8_t)' does not match any in class 'OSD'
ArduCam_Max7456.h:90: error: candidate is: void OSD::openSingle(int, int)
ArduCam_Max7456.cpp:218: error: no 'size_t OSD::write(uint8_t)' member function 
declared in class 'OSD'
ArduCam_Max7456.cpp:233: 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:250: 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*)

Original issue reported on code.google.com by seb.boug...@gmail.com on 5 Sep 2013 at 2:26

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Same problem here using Arduino 1.5.2/Windows, 1.0.3/Windows, 1.5.2/Linux

Original comment by shasta8...@googlemail.com on 11 Oct 2013 at 5:44