maximkulkin / esp-homekit

Apple HomeKit accessory server library for ESP-OPEN-RTOS
MIT License
1.12k stars 170 forks source link

Can't compile after moving tlv.h #69

Closed pbendersky closed 5 years ago

pbendersky commented 5 years ago

After the move of tlv.h to the include folder, when I try to compile, I get this error:

make: *** No rule to make target '/esp/components/homekit/src/tlv.h', needed by 'build/homekit//src/tlv.o'. Stop.

Is any change in the Makefile needed?

Update: I can work around this by adding an empty tlv.h in the same directory tlv.c resides, but I shouldn't have to. I'm using an ESP8266 (I figure it's relevant, since the project supports two toolchains).

maximkulkin commented 5 years ago

You should do a clean build. Just delete build/ directory and compile again.