Closed neosarchizo closed 6 years ago
A lot will change in the next release (big feature in progress). That said, if you clone the current version on master, you should be able to build the esp-idf demo. Use that as a guide.
Also, this may be a C thing... my demos are in C++ (as is the library) and I've not looked into how they bind with a main program in C. It may be that this is the problem.
arduinosh.hpp
just has some helpful glue code for the (C++) demo... you can instead copy that code in directly. However, again this C vs C++ thing may be happening here.
If after examining the latest version and verifying your structure (and component makefiles!) matches, then perhaps attaching a tarball with JUST the source and makefiles for your demo would help. make clean
first and you can skip the sdkconfig file(s) too.
I cannot guarantee this will ever work with regular C, but its worth figuring out where this problem is.
For this, I create pull-request.
I added demo2 for projects that work without arduinoish.hpp
.
Thank you! I will look at it tonight and integrate it (I may make changes now or later but I'll keep it as a C demo).
Not closed yet... as I will still be maintaining one unified library, I will need to find a way to make main.c work with the library as-is. I do intend to have a C demo that works against the existing library, but I'm not maintaining a C-only library too (and given the amount of work already on the feature branch I'm doing, there's a lot I'll be looking at).
Oh sorry. If you need any help about maintaining it, just let me know.
You're the second person to ask about it, so it's definitely on my todo list.
Hi! Thanks for the great library!
I want to use only ws2812 library in my esp32 project without
arduinosh.hpp
. My project has the following folder structure:My main source codes are like following codes.
But I get following errors when I build it.
What did I do wrong?