0

I'm trying to add the RPLidar library. I've already checked this solution, but it's not working for me, I get this error :

Error: 13 INTERNAL: Library install failed: extracting archive: Not a supported archive

Do you have a solution ?

ocrdu
1,7953 gold badges12 silver badges24 bronze badges
asked Feb 13, 2024 at 8:57

1 Answer 1

1

Are you trying to install this library through the Arduino IDE? Then maybe it doesn't work, because this library doesn't conform to the normal library structure for Arduino.

You can install it manually.

  • Download the library from Github
    • either by downloading the ZIP-file and extracting it
    • or by using git clone on your machine, if you have git installed.
  • Move the folder RPLidarDriver into the libraries folder. You can normally find this in Arduino/libraries in your home directory. If you cannot find it, look in the Arduino IDE in the preferences dialog. There the sketchbook location should be mentioned. libraries is a folder inside the sketchbook location.

Then you should be able to compile your code. I've tested this with the examples provided by the library.

answered Feb 13, 2024 at 9:09

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.