Compile Errors with Arduino 1.6.1 and adafruit MotionDetect

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
rjsoderman
 
Posts: 7
Joined: Fri Jan 23, 2015 8:33 pm

Compile Errors with Arduino 1.6.1 and adafruit MotionDetect

Post by rjsoderman »

I just uploaded Arduino IDE 1.6.1 then launched the adafruit MotionDetect sketch for the ttl Camera and I keep getting compile errors, which I did not before updating to 1.6.1

Arduino: 1.6.1 (Windows 7), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

Build options changed, rebuilding all

C:\Users\RICHARD\Documents\Arduino\libraries\Adafruit_VC0706\Adafruit_VC0706.cpp:68:9: error: prototype for 'uint8_t Adafruit_VC0706::setMotionStatus(uint8_t, uint8_t, uint8_t)' does not match any in class 'Adafruit_VC0706'

uint8_t Adafruit_VC0706::setMotionStatus(uint8_t x, uint8_t d1, uint8_t d2) {

^

In file included from C:\Users\RICHARD\Documents\Arduino\libraries\Adafruit_VC0706\Adafruit_VC0706.cpp:18:0:

C:\Users\RICHARD\Documents\Arduino\libraries\Adafruit_VC0706\Adafruit_VC0706.h:89:11: error: candidate is: boolean Adafruit_VC0706::setMotionStatus(uint8_t, uint8_t, uint8_t)

boolean setMotionStatus(uint8_t x, uint8_t d1, uint8_t d2);

^

Error compiling.

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.

Any help would be greatful.

Rick

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: Compile Errors with Arduino 1.6.1 and adafruit MotionDet

Post by adafruit_support_mike »

The error is saying the .cpp file has a function that isn't declared in the header file.

There was an update to correct that about three weeks ago. Try downloading a fresh copy of the library and see if that fixes the problem:

https://github.com/adafruit/Adafruit-VC ... ra-Library

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

Return to “Arduino”