maximkulkin / esp-homekit-demo

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

cannot build following docker instructions (macOS catalina) #335

Closed mentaluproar closed 4 years ago

mentaluproar commented 4 years ago

I followed directions to build and flash the LED example but when i get to the flashing step, I get the following error:

Makefile:13: /common.mk: No such file or directory make: *** No rule to make target `/common.mk'. Stop.

maximkulkin commented 4 years ago

You need to set SDK_PATH environment variable pointing to esp-open-rtos checked out on your host machine. This is ugly part of the whole approach because Docker does not handle passing devices to containers properly (otherwise you could flash from inside container).