arduino / ArduinoAI

Arduino AI content / demos
71 stars 48 forks source link

NiclaSenseME.ino: Use of undeclared identifier 'NICLA_STANDALONE' #11

Closed gmacario closed 2 years ago

gmacario commented 2 years ago

I tried to compile sketch NiclaSenseME.ino from https://github.com/arduino/ArduinoAI/tree/main/NiclaSenseME-dashboard/NiclaSenseME using

but I got the following error:

image

gmacario commented 2 years ago

I guess the problem is related to https://github.com/arduino/ArduinoAI/pull/10/commits/21445fe168d662a44e45df193ef4b325830daca4

According to https://github.com/arduino/ArduinoAI/pull/10

Update BHY2 begin command for the latest version of the library

@marqdevx, @mbanzi which is the latest version of the BHY2 library which you referred to?

As reported I am using Version 1.0.5 which if I am not mistaken is the latest publicly available as of today:

image

marqdevx commented 2 years ago

@gmacario The Arduino_BHY2 version should be v1.0.6 https://github.com/arduino-libraries/Arduino_BHY2/releases

gmacario commented 2 years ago

@gmacario The Arduino_BHY2 version should be v1.0.6 https://github.com/arduino-libraries/Arduino_BHY2/releases

Thanks @marqdevx for your clarification.

I installed Arduino IDE 2.0.0-rc9.4 on a new machine (Ubuntu 22.04) and there I could find version 1.0.6 of the Arduino_BHY2 library and successfully compile the sketch.

On the other hand, my original installation on Windows 10 (Arduino IDE 2.0.0-rc8) is still unable to update to a version later than v1.0.5 of the Arduino_BHY2 library...

gmacario commented 2 years ago

On the other hand, my original installation on Windows 10 (Arduino IDE 2.0.0-rc8) is still unable to update to a version later than v1.0.5 of the Arduino_BHY2 library...

I removed my previous installation of Arduino IDE, deleted the Arduino libraries folder and performed a clean installation of

The sketch compiles without errors. Closing issue.