|
|
|
Re: Libraries for Arduino plugin [message #1774449 is a reply to message #1771041] |
Sat, 14 October 2017 21:36 |
|
I also had this trouble. .json library list fiddling did not seem to do anything, and, besides, Eclipse overwrites your changes if you open the wrong (right?) window. I got it to work with the library QuickStats by creating a new class (right click project > New > Class) with the same name as the library (QuickStats), giving me QuickStats.h and QuickStats.cpp. Closed Eclipse, deleted these files, downloaded the library from GitHub and copied the QuickStats.h and .cpp back where the deleted files were. Actually, I cloned the repo to its own directory, then hardlinked QuickStats.h and .cpp to my project code directory. It works! To do hard links in Windows open a Windows Command Prompt (search "cmd") in administrator mode, then use "mklink /h <link> <target>". For example: mklink /h QuickStats.h "C:\Users\tyblu\Documents\repos\QuickStats\QuickStats.h" . Not sure if it works with symbolic links. Probably not.
I did this while taking a course where we have to blog about our stuff, and this step is here: [will edit in link when i have more than 1 message (new user limitation)]
|
|
|
Powered by
FUDForum. Page generated in 0.05519 seconds