library not recognized, not linting, no explanation other than LS001 #2816
Labels
conclusion: invalid
Issue/PR not valid
topic: build-process
Related to the sketch build process
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
I downloaded the latest stable bits and installed them on windows 11 last night. That's my version.
Tell me why this doesn't get recognized by arduino. Arduino CLI sees it as a library, but WILL NOT resolve any of the headers to that library.
https://github.com/codewitch-honey-crisis/htcw_io
Keep in mind i have a copy of htcw_bits which it depends on installed locally, and the result is the same even if i remove the depends line. I've deleted the cache, so don't bother asking.
Furthermore Arduino-lint gives a non-specific LS001 error which says nothing helpful at all. In fact that error code should trigger something in your github actions to tell the developers to go back and actually put a real error message in instead of throwing LS0001 which is basically "general failure"
So this is several bug reports and a documentation bug, all in one. Lucky you!
Arduino lint tool needs fixing to report better errors
Documentation for library manager needs improvement - once you tell me why my library isn't being fully recognized, i can be more specific
or
The library resolver needs fixing.
It's one of those things.
To reproduce
Try to copy the linked repo to Documents/Arduino/Libraries and then include "htcw_io.h" see if it works for you (it won't)
Don't worry about not having htcw_bits - it won't even get that far.
Expected behavior
I expect the documentation to reflect the actual steps i need to take to make a valid library.
I expect when I do so that the library is properly picked up by the arduino engine and resolved.
Arduino CLI version
arduino-cli Version: 1.1.1 Commit: fa6eafc Date: 2024-11-22T09:31:38Z
Operating system
Windows
Operating system version
11
Additional context
I didn't install the nightly build and I'm not going to for this. That's ridiculous - check your own work.
Is it too much to ask for you guys to provide a more professional version of this toy even if it's pay to play? Now that platformIO is listing starboard there are plenty of developers out there that need a more professional arduino framework compatible engine rather than some training wheels with a 1990s code editor glued to it.
Issue checklist
The text was updated successfully, but these errors were encountered: