Errors with sample code included with Adafruit serial jpeg camera

Breakout boards, sensors, Drawdio, Game of Life, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Errors with sample code included with Adafruit serial jpeg camera

Postby mikejonesab1 » Tue Jan 22, 2013 8:35 pm

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!
mikejonesab1
 
Posts: 1
Joined: Tue Jan 22, 2013 8:27 pm

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

Postby adafruit_support_bill » Wed Jan 23, 2013 6:23 am

"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.
User avatar
adafruit_support_bill
 
Posts: 16083
Joined: Sat Feb 07, 2009 9:11 am


Return to Other Adafruit products

Who is online

Users browsing this forum: No registered users and 8 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [108]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[31]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[34]
LCDs & Displays[48]
Components & Parts[70]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[111]
 
Wireless[14]
Cables[62]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]