kkk32822 / yanis-android-wireless-camera-controller

Automatically exported from code.google.com/p/yanis-android-wireless-camera-controller
0 stars 0 forks source link

compile errors #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I want to first let you know that I love what I see that your project does in 
the videos, and I have lots of ideas to add to the project, that I will share 
as much as you please. I am an Android developer ( so of course I have ideas 
for that end as well ), but just starting out with Arduino, although I love it!

I am able to compile the EosCapture example that comes with 
Arduino_Camera_Control.

What steps will reproduce the problem?
1. Placed Arduino_Camera_Control, PTP_20, USB_Host_Shield, USB_Host_Shield 2.0 
into libraries
2. Load YanisEOS.pde sketch
3. Compile returns the below errors.

What is the expected output? What do you see instead?
doesn't compile :)

What version of the product are you using? On what operating system?
Arduino .0023
Win7-64 & MacOsX 10.6.8

Please provide any additional information below.

here is the error log from compile:

In file included from YanisEOS.cpp:39:
/Applications/Arduino.app/Contents/Resources/Java/libraries/PTP_20/ptp.h:59: 
error: expected class-name before '{' token
/Applications/Arduino.app/Contents/Resources/Java/libraries/PTP_20/ptp.h:82: 
error: 'EpInfo' does not name a type
YanisEOS:68: error: no matching function for call to 'CanonEOS::CanonEOS(int, 
int, int, int, int, CamStateHandlers*)'
/Applications/Arduino.app/Contents/Resources/Java/libraries/PTP_20/canoneos.h:12
5: note: candidates are: CanonEOS::CanonEOS(USB*, PTPStateHandlers*)
/Applications/Arduino.app/Contents/Resources/Java/libraries/PTP_20/canoneos.h:89
: note:                 CanonEOS::CanonEOS(const CanonEOS&)
YanisEOS.cpp: In function 'void setup()':
YanisEOS:102: error: 'class CanonEOS' has no member named 'Setup'
/Applications/Arduino.app/Contents/Resources/Java/libraries/PTP_20/ptp.h: In 
function 'void loop()':
/Applications/Arduino.app/Contents/Resources/Java/libraries/PTP_20/ptp.h:64: 
error: 'void PTP::Task()' is protected
YanisEOS:108: error: within this context

Original issue reported on code.google.com by gareth.p...@gmail.com on 5 Dec 2011 at 9:03

GoogleCodeExporter commented 9 years ago
oh and I'm on a 50d,60d,5d... so when I have this running, I'll be able to test 
out those cameras functionalities as well

Original comment by gareth.p...@gmail.com on 5 Dec 2011 at 9:06

GoogleCodeExporter commented 9 years ago
can run it against the old 30d as well, but I doubt anyone cares about that old 
relic anymore :)

Original comment by gareth.p...@gmail.com on 5 Dec 2011 at 9:07