HomeACcessoryKid / ESP8266-HomeKit

HomeKit server Native on ESP8266_RTOS with an API approach
https://www.youtube.com/watch?v=Xnr-utWDIR8
Apache License 2.0
487 stars 74 forks source link

Help With Compiling #42

Closed BlayW closed 5 years ago

BlayW commented 6 years ago

Hi, sorry I wasn't sure exactly where to put a question like this.

I'm new to GitHub and I'm just trying to follow the Build Instructions, when I try to compile the ESP8266-HomeKit using deploy.sh but instead of the expected success message Im getting "/bin/sh: xtensa-lx106-elf-gcc: command not found" a number of time after large blocks of what look like file paths, then at the end it says:

"make[2]: xtensa-lx106-elf-gcc: No such file or directory make[2]: [.output/eagle/debug/obj/chacha.o] Error 1 make[1]: [.subdirs] Error 2 make: *** [.subdirs] Error 2"

I restarted from the beginning following the instruction as carefully as I could but have come up with the same thing, any advice would be appreciated

faronov commented 6 years ago

HI , you didn't compile xtensa-lx106-elf-gcc you first must build https://github.com/pfalcon/esp-open-sdk

maccoylton commented 6 years ago

Per the communication from Home ACcessory Kid which can be found here:- https://github.com/HomeACcessoryKid/ESP8266-HomeKit/issues/41

This library is being replaced with another, before you go too far, I'd suggest you take a look at that, it can be found here:- https://github.com/maximkulkin/esp-homekit-demo

BlayW commented 6 years ago

I've hit a bit of a brick wall with eep-open-sdk I can build it but then can't compile xtensa-lx106-elf-gcc. I get an error saying "no input files"

as for the esp-homekit-demo, the esp-homekit build guide directs to that after compiling esp-homekit, I've had a look at it and it seems to assume I've already done all that

faronov commented 6 years ago

Per the communication from Home ACcessory Kid which can be found here:-

41

This library is being replaced with another, before you go too far, I'd suggest you take a look at that, it can be found here:- https://github.com/maximkulkin/esp-homekit-demo

Yes, but result of this not so good as expected pairing so slow, too many hangs and other things that Maxim ignore only one is better, it's based on esp-open-rtos, this has more sensor support

maximkulkin commented 6 years ago

@faronov esp-homekit is pretty solid now: no apparent memory leaks, accessories run for days in my setup without problems. Pairing is the same speed as this library (they both use same crypto lib). Maybe you're doing it wrong?

HomeACcessoryKid commented 6 years ago

I want to encourage people to go with Maxim’s repository. I am part of the team to improve it to the level we have in my (HacK) repository. We are nearly at the same level, but the important thing is that it will allow us to rise way beyond where my repo could ever reach.

ALSO, when playing with GitHub on microcontrollers, there is always a level of self-learning and investigations involved. I feel pretty confident that where many before have been able to succeed based on the instructions, so can you. Advice: start from scratch and read everything there is, also on the foundations. Yes it eats time, but you wil be a wiser person after it.

Good luck, and welcome aboard the HomeKit train…