Jump to content

How to remove a library from Energia?

Recommended Posts

I added an Arduino library named TimerOne.h in the libraries in energia. But it was for AVR so didn't work. I found a version for the same for MSP432. The problem I'm facing is that both the libraries with the same name are there and complier isn't choosing the correct one. I'm unable to delete. Any idea how to delete?


Error message:

In file included from /home/inkers-12/Energia/Programs/mpu9250input/mpu9250input.ino:2:0:
Multiple libraries were found for "TimerOne.h"
 Used: /home/inkers-12/Energia/libraries/TimerOne-r11
 Not used: /home/inkers-12/Energia/libraries/TimerOne-master
/home/inkers-12/Energia/libraries/TimerOne-r11/TimerOne.h:39:20: fatal error: avr/io.h: No such file or directory
 #include <avr/io.h>
compilation terminated.
exit status 1
Error compiling for board LaunchPad w/ msp432 EMT (48MHz).

Share this post

Link to post
Share on other sites

The folder I mentioned earlier was specific to the post I was answering.

  • to an OS /home
  • to the user inkers-12

Launch Energia, and call the menu Energia > Preferences. You should find the path to the sketchbook or folder with the sketches under Sketchbook Location.


Open that folder: you should find a sub-folder called Libraries, which contains all the libraries installed.


As an alternative, call the menu Sketch > Include Library > Manage Libraries... Select the library you want to remove and press Remove.

Share this post

Link to post
Share on other sites

I found the folder somewhere else in documents as i am using windows 8.1 so i made further changes and now it is working fine

Thanks for help

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now