Closed lbuchy closed 8 years ago
Hi @lbuchy
Temporarily remove linux
folder in ~/.platformio/lib/Blynk_ID415/
@valeros Yeah that fixed the compilation. I haven't had success with connecting the Blynk app with the example but it is besides the point for this issue.
What was the issue? Let me guess: The build system 'grepped' for all .c files in the library to fill in the list of source files to compile?
@lbuchy I've just excluded linux
folder from this library, see https://github.com/blynkkk/blynk-library/pull/49
I'll report you when new library will be available in PlatformIO Library Registry.
The Blynk library has been updated. Try platformio update
command.
Please reopen this issue if you need any help.
Having problems building the example code with this library. Specifically I am using the ESP8266_DirectConnection.ino example file:
Compilation gives the following error:
It appears that the include directories specified are insufficient. I think this might be that this particular example requires that we compile the linux portion of the library also to create the server. I managed to get around the issue by specifying the -I.pioenvs/esp12e/Blynk_ID415/linux build_flag but it continues to fail when trying to include <sys/socket.h>. I guess this would work if there was a posix wrapper that could be added to the project but it does not work out of the box.
I'll maybe take another look after having some coffee.