JJRobots COMMUNITY
Sparkfun LIDAR Arduino libraries - ERROR COMPILING the Blimpduino CODE - Printable Version

+- JJRobots COMMUNITY (http://forums.jjrobots.com)
+-- Forum: JJrobots (/forumdisplay.php?fid=1)
+--- Forum: Blimpduino (/forumdisplay.php?fid=42)
+---- Forum: Technical subforum (/forumdisplay.php?fid=48)
+---- Thread: Sparkfun LIDAR Arduino libraries - ERROR COMPILING the Blimpduino CODE (/showthread.php?tid=1860)



Sparkfun LIDAR Arduino libraries - ERROR COMPILING the Blimpduino CODE - JJrobots JP - 01-07-2019 11:28 AM

I have attached the ORIGINAL LIDAR Sensor Sparkfun library to this message. Install it (Just extract the files from the zip file inside your Arduino library folder).

How to do that in the case you have doubts: https://www.arduino.cc/en/guide/libraries (Importing a .zip Library paragraph)

That should fix the compilation problem some of you are having.
Sparkfun has changed the LIBRARY files names and the compiler can not find the correct files.

[attachment=374]


RE: Sparkfun LIDAR Arduino libraries - ERROR COMPILING the Blimpduino CODE - Haitham64 - 02-08-2019 05:35 PM

Hi,

I tried ( SparkFun_VL53L1X_Arduino_Library.zip (Size: 27.44 KB / Downloads: 29)) but still would not compile. It gives this message: redefinition of 'class VL53L1X'.
is there a solution to this?

Thanx


RE: Sparkfun LIDAR Arduino libraries - ERROR COMPILING the Blimpduino CODE - JohnQ - 02-11-2019 11:48 AM

(02-08-2019 05:35 PM)Haitham64 Wrote:  Hi,

I tried ( SparkFun_VL53L1X_Arduino_Library.zip (Size: 27.44 KB / Downloads: 29)) but still would not compile. It gives this message: redefinition of 'class VL53L1X'.
is there a solution to this?

Thanx
That is weird. Are you selecting the correct Arduino board? (Arduino GENUINO/ ZERO with native USB port)?