-
Notifications
You must be signed in to change notification settings - Fork 30
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
Installation help #20
Comments
My favorite way would be to add the library as submodule into the src/ or lib/ folder under project root. But I haven't figured out how to correctly include the relevant paths to platformio with the configuration options in the platformio.ini file. If anyone has a working solution, please let me know. For a quick and dirty but working solution, I created a folder
I didn't copy the tests and examples because platformio always compile all files... the result were just a lot of errors... For the usage you must include the library within the __cplusplus preprocessor directive for C++ Code
And don't forget to enable the LWIP_SO_RCVBUF by adding //edit Change
and Change
I know this is so bad and I'm looking forward for any other solution. |
Unfortunately I couldn't get the dirty hack going, but I got some partial success by adding this to |
I found that adding esp-mqtt via github link, like @Netskeh did, PLUS adding lwmqtt as well, makes it so you don't have to edit the include lines.
|
For anyone else trying to use this with platformio... Since it doesn't have the
|
A few more things I found for making it work cleanly with platformio:
Now it at least will build without errors. Next up is trying to use it. |
I'm not that familiar with platformio, so I would like more explicit installation instructions -- should I be adding the contents of this repo to
~/.platformio/packages/framework-espidf/components/esp-mqtt
?The text was updated successfully, but these errors were encountered: