STEMpedia / Dabble

Arduino Library for Dabble app, which includes virtual shields for robot control, sensors, camera, IoT and much more. Compatible with Bluetooth modules like HC-05, HC-06, HM-10, and ESP32 (BLE or Bluetooth 2.0 or 4.0)
https://thestempedia.com/product/dabble/
GNU Lesser General Public License v3.0
42 stars 18 forks source link

Errors while compiling using ArduinoIDE #3

Closed basilgeo99 closed 3 years ago

basilgeo99 commented 5 years ago

I did as the instructions specified.

But there were several issues :

  1. The zipped file name was invalid and should not have had any '-' or '.' or names beginning with numbers.
  2. The file names inside had similar problems
  3. I had to manually change file names to fix this. I did not change the names of any files inside the "src" folder, only the "examples" folder as that is where the problems were arising.

Leaving all the files where they were, I got the following error

Screenshot from 2019-09-13 00-58-46

To fix that I moved all the header and cpp files to the folder of my sketch and then the Dabble.h missing error was gone because it was right there but then I ended up getting several other errors a screenshot of which I have attached.

These errors were triggered by #include<Dabble.h>

Screenshot from 2019-09-13 00-44-45

I use a LinuxOS (Debian 9 Stretch to be specific).

I am really hoping to find a fix for this as soon as possible as I am working on a college related project.

Thankyou.

mimansamaheshwari commented 5 years ago

Sorry for the inconvenience caused. 1) We saw that you are facing a problem while library installation. We request you to update your Arduino IDE to 1.8.5 version (please do not install the latest version as many people are facing some issues with that). https://www.arduino.cc/download_handler.php?f=/arduino-1.8.5-linux64.tar.xz or select the correct version from this link: https://www.arduino.cc/en/Main/OldSoftwareReleases#previous

2) Please try using the Arduino Library Manager for installing the Dabble library. DabbleLibInstallationFromLibMan1 DabbleLibInstallationFromLibMan

If you are still facing any issue let us know.

basilgeo99 commented 5 years ago

Thankyou @mimansamaheshwari for a prompt response.

I have done as you asked and installed ArduinoIDE-1.8.5 after a clean purge of the one I had installed before. I am now able to successfully import the Dabble library without any error alerts showing up. (For the time being I have downgraded to Dabble 1.0 . There is no particular reason for this but if there is something I need to keep in mind as I work with this version please do let me know.)

I shall experiment and let you know after I try uploading the code I had uploaded when the errors showed up earlier.

Thankyou again.

ranjith-asp commented 2 years ago
  1. We saw that you are facing a problem while library installation. We request you to update your Arduino IDE to 1.8.5 version (please do not install the latest version as many people are facing some issues with that). https://www.arduino.cc/download_handler.php?f=/arduino-1.8.5-linux64.tar.xz or select the correct version from this link: https://www.arduino.cc/en/Main/OldSoftwareReleases#previous
  2. Please try using the Arduino Library Manager for installing the Dabble library. DabbleLibInstallationFromLibMan1 DabbleLibInstallationFromLibMan

If you are still facing any issue let us know.

Though this issue was discussed in Sep 2019, I recently faced issue with Arduino IDE 1.8.16. Can someone please confirm whether I should still try with v 1.8.5? In other words, has anyone had any success in installing Dabble library in Arduino IDE that is installed in Raspberry OS (or any other debian distro)??