Hi guys,
Not sure if this is in the right section or not, so I apologize if it's in the wrong spot.
I am very new to Arduino and i'm attempting to build a project I found online, Loguino.
I have looked through the code and information provided and It looks like it will do what I want, with a little tweaking.
However the problem I am facing, I am having heaps of trouble trying to import the libraries associated with this project.
I have downloaded the .zip for the files and have tried importing, and tried manual install, but I cannot get the libraries to load.
Is there some versioning issues with this project being a few years old?
has anyone got any extra ideas how to get it in?
Can I take code from the libraries I need and use it in the main program? not even sure which bits of code I need to move.
Thanks in advance, and sorry if i'm asking a dumb question.
eb99:
However the problem I am facing, I am having heaps of trouble trying to import the libraries associated with this project.
I have downloaded the .zip for the files and have tried importing, and tried manual install, but I cannot get the libraries to load.
Please provide an exact description of what you did and the problems you're having.
It looks like an overly complicated system the author has devised. I haven't gone to their website because there is a security issue with it but I'd say if they haven't bothered to provide documentation for how to install it then it won't be worth the effort of trying to figure it out on your own, better to find something else or start from scratch.
I'm using the windows software Arduino 1.8.5.
following instructions from the author and also the arduino guide for adding .ZIP library and also the guide for manually adding libraries.
The first error says specified folder/zip does not contain a valid library.
followed by
invalid library found in c:......\arduino\libraries\logunio.
I have also tried this through the online IDE, but one library does get imported, and that is the onewire one.
eb99:
The first error says specified folder/zip does not contain a valid library.
followed by
invalid library found in c:......\arduino\libraries\logunio.
That's because it's not a library, it's a sketch. However it does have some library dependencies. These were placed in the 3rdParty folder of the repository but all except OneWire are Git submodules. Submodules are not included in the "Download ZIP" file supplied by GitHub. This is the reason for the report in the thread you mentioned:
Ductard:
After opening them all, it looks like one "OneWire" actually has some stuff in it, but the rest are empty....
You need to actually use Git to clone the repository to get those. You could also download and install each individually by going to their repositories. Note that the submodules point to a specific point in the commit history of each of the library dependencies repositories. It's possible that development in those libraries since that time could have introduced incompatibilities with loguino. It also possible that development fixed bugs and made important improvements. To make things more complicated there is this BMP085 thing in that folder. I suspect that's a submodule of a repository that was deleted so that's going to be even more fun to try to hunt down. Often in the Arduino world you will find multiple libraries named after a common sensor but you need to get the specific one that the sketch was written to use. You also may need to get the specific version of the specific library if the API has changed over time.