me-no-dev / AsyncTCP

Async TCP Library for ESP32
GNU Lesser General Public License v3.0
732 stars 430 forks source link

Missing dependency? #2

Closed bofh69 closed 7 years ago

bofh69 commented 7 years ago

My project's travis build (https://travis-ci.org/bofh69/AiLight/builds/274342483) started to fail today:

In file included from .piolibdeps/AsyncTCP_ID1826/src/AsyncTCP.cpp:24:0:
.piolibdeps/AsyncTCP_ID1826/src/AsyncTCP.h:28:29: fatal error: freertos/semphr.h: No such file or directory
#include "freertos/semphr.h"
^
compilation terminated.

Shouldn't there be a dependency on the freetos library from this library?

me-no-dev commented 7 years ago

is this ESP32?

me-no-dev commented 7 years ago

probably PIO issue that we resolved last night :) pull the latest changes and should be fine

bofh69 commented 7 years ago

Yes, it was with PIO and now it works fine again. :-) Thanks!

terryjmyers commented 7 years ago

What's PIO? I'm having the same issue right now, ESP8266 toolchain.

RESOLVED: Had includes for both ESPAsyncTCP.h and AsyncTCP.h active. I have some #ifdef's for switching between ESP8266 and ESP32 in my code. Recently updated them and made a mistake