I have a project that was on hold for couple of months waiting for some parts, I finally got the needed parts and when I got back to work on it something has been changed and I don’t understand what is the problem, The project contains an Arduino Mega with an Adafruit BNO055 sensor which worked perfectly until now, when compiling the project I get the following error:
Compiling debug version of ‘wheelie_panic_break’ for ‘Arduino/Genuino Mega w/ ATmega2560 (Mega 2560)’
wheelie_panic_break.cpp.o:In function __static_initialization_and_destruction_0 wheelie_panic_break.ino:undefined reference to Adafruit_BNO055 Adafruit_BNO055(long, unsigned char)
collect2.exe*:error: ld returned 1 exit status
I’ve reinstalled the the lib from github and made sure that its included in the header files:
Should the library folder have -master in its name ? I have lost track of the recent changes to how the Arduino IDE finds library files. It used to be that the library folder name had to match the.h and .cpp files but that requirement may have changed.
currently I manage to successfully compile the sketch, had to remove "-master" from the folders names and also I've downgraded the IDE to 1.6.9 from 1.6.10
I have other issues when uploading the sketch now (using visual studio vMicro) but thats for a different thread
I am working on the Battery management system . My code is to interface the BQ20Z45 with arduino through SMBus communication. I am stuck with this error. Can you please help me.