Errors with sample code included with Adafruit serial jpeg camera

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
mikejonesab1
 
Posts: 1
Joined: Tue Jan 22, 2013 9:27 pm

Errors with sample code included with Adafruit serial jpeg camera

Post by mikejonesab1 »

I purchased the Adafruit serial jpeg camera. When I try to compile the sample code included I get these errors:

Snapshot:67: error: 'Adafruit_VC0706' does not name a type
Snapshot.pde: In function 'void setup()':
Snapshot:97: error: 'cam' was not declared in this scope
Snapshot:104: error: 'cam' was not declared in this scope
Snapshot:116: error: 'VC0706_640x480' was not declared in this scope
Snapshot:124: error: 'VC0706_320x240' was not declared in this scope
Snapshot:125: error: 'VC0706_160x120' was not declared in this scope

I am using the Arduino IDE and I should note that when I imported the library I go this warning message:

Ignoring bad library name

"Adafruit-VC0706-Serial-Camera-Library-master" cannot be used. Library names must only use basic numbers and letters (ASCII only and no spaces, and it cannot start with a number)



Any help would be appreciated. Thanks!

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Errors with sample code included with Adafruit serial jpeg camera

Post by adafruit_support_bill »

"Adafruit-VC0706-Serial-Camera-Library-master" cannot be used. Library names must only use basic numbers and letters (ASCII only and no spaces, and it cannot start with a number)
The Arduino IDE is very picky about folder names. Unfortunately it doesn't like the ones generated by Github.

First close all copies of the Adfafruit IDE, then rename the library folder to "Adafruit_VC0706" and restart the IDE. That should allow the IDE to recognize the library.

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”