-
Notifications
You must be signed in to change notification settings - Fork 131
-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't import library when a libraries directory exists #233
Comments
Was this on windows? And if so which version? |
Ooops ! I forgot to mention : Windows 7 SP1 - Sorry |
Is your file system setup to be case sensitive? I ask because I tried to have Libraries and libraries on my windows machine and that worked fine. |
No, I can't : If I create a folder named "a", and try to create another one named "A", I get the following error message : "A resource exists with a different case 'test_plugin/a'" |
I think that is the problem. |
I added some code so the error message is better |
(Following the forum thread http://forum.arduino.cc/index.php?topic=79595.msg2168896#msg2168896)
Eclipse :Service Release 2 Build id: 20140224-0627
Arduino plugin : 2.2.0.1
Arduino IDE : arduino-1.5.6-r2
I created a new project, and dezipped this GitHub project https://github.com/k3ng/k3ng_rotator_controller into this project directory. Renamed the .ino file to .cpp and edited the header file (.h) to add the function prototypes. Note that a "libraries" subdirectory already exists in this GitHub project.
Then I wanted to import the EEPROM library from "Hardware provided Libraries", but got an error message "Failed to import library Cannot create linked resource '/k3ng_rotator_controller/Libraries/EEPROM'. The parent resource is not accessible.".
I had to remove the existing libraries directory (actually, I moved its content to my private libraries directory and delete the former - and now empty - directory) to be able to import the requested libraries.
Maybe it was not the correct way to create this project in my workspace, and the plugin get confused ?
Thanks !
The text was updated successfully, but these errors were encountered: