maximkulkin / esp-homekit-demo

Demo of Apple HomeKit accessory server library
MIT License
809 stars 233 forks source link

problems with build #261

Closed Kristian8606 closed 4 years ago

Kristian8606 commented 4 years ago

i built a homekit_demo with docker because i failed with the old method. I followed the instructions but when I try to make a flash I get this error

make: *** No rule to make target /project/examples/thermostat/thermostat.c', needed bybuild/program//thermostat.o'. Stop.

maximkulkin commented 4 years ago

Before you flash (for the first time or after you make a change to source code), you need to build it. If your firmware is younger than all source files (which means it was last changed after last change to any source file) it will not try to rebuild it (and thus you won't get error like above).

Kristian8606 commented 4 years ago

I have no success with docker even though I follow all the instructions. is there any other way to build without docker mac os catalina?

maximkulkin commented 4 years ago

Nothing I am aware of. Docker works perfectly for me, see no reason to look for alternatives.

Kristian8606 commented 4 years ago

i managed i think my problem was in Makefile on a my acsesoaries. my path was set to - include $ (abspath ../../sdk/esp-open-rtos/common.mk) after changing it to - include $ (SDK_PATH) /common.mk

I was successful.

Kristian8606 commented 4 years ago

when i restart my computer do i have to do your dock instruction for docker every time?

maximkulkin commented 4 years ago

no

AchimPieters commented 4 years ago

@Kristian8606 I use macOS Catalina from the day it was released. I did a total clean install see here. Then I used the Docker script esp-sdk-dockerfile and esp-rtos-dockerfile. and everything works just fine. Maybe this will help?

Kristian8606 commented 4 years ago

@maximkulkin, @AchimPieters thanks