ESP8266 Mesh Demo from github
Posted: Thu May 05, 2016 7:15 am
Hello,
If someone can help with this, I am unable to compile ./gen_misc.sh followed by these instructions https://github.com/espressif/ESP8266_MESH_DEMO
I am using Cygwin for wnidows and I have installed all packages (make, gcc, gettext ect.)
First I run this command
./gen_misc.sh
And script starts and I can select what I wanna (1=boot_v1.2+, 1=user1.bin ect. ) same like in tutorial on github.
Then it start compiling and I get error missing crosstol-Ng and xtensa.
Then I go to this web page
https://github.com/esp8266/esp8266-wiki ... local-user
and I start following instructions and this is the only error what I get when install it.
I've red on some forums that Error is ok.
Ok now I start again ./gen_misc.sh and chose what I wanna build and it starts to building. And I got new error
I've red some forums telling to install gcc, minigw, g++, I've install it all and still getting this error.
On some forums they mention to set path for xtensa-lx106-elf-gcc but it is already done while I was installing crosstool-Ng and xtensa with this command line
./ct-ng build PATH=$PWD/builds/xtensa-lx106-elf/bin:$PATH
I thought it was problem in Cygwin so I install Linux
Done everything even sudo apt-get install, update ect.
Same error occurs.
Or can someone post how did he do this step by step and manage to get it work.
Thx for help I've been struggling with this past few weeks.
Regards
If someone can help with this, I am unable to compile ./gen_misc.sh followed by these instructions https://github.com/espressif/ESP8266_MESH_DEMO
I am using Cygwin for wnidows and I have installed all packages (make, gcc, gettext ect.)
First I run this command
./gen_misc.sh
And script starts and I can select what I wanna (1=boot_v1.2+, 1=user1.bin ect. ) same like in tutorial on github.
Then it start compiling and I get error missing crosstol-Ng and xtensa.
Then I go to this web page
https://github.com/esp8266/esp8266-wiki ... local-user
and I start following instructions and this is the only error what I get when install it.
Code: Select all
[INFO ] Performing some trivial sanity checks
[INFO ] Build started 20160505.022741
[INFO ] Building environment variables
[INFO ] =================================================================
[INFO ] Retrieving needed toolchain components' tarballs
[INFO ] Retrieving needed toolchain components' tarballs: done in 0.50s (at 00:14)
[INFO ] =================================================================
[INFO ] Extracting and patching toolchain components
[INFO ] Extracting and patching toolchain components: done in 1.97s (at 00:16)
[INFO ] =================================================================
[INFO ] Installing GMP for host
[INFO ] Installing GMP for host: done in 202.31s (at 03:38)
[INFO ] =================================================================
[INFO ] Installing MPFR for host
[INFO ] Installing MPFR for host: done in 84.57s (at 05:03)
[INFO ] =================================================================
[INFO ] Installing ISL for host
[INFO ] Installing ISL for host: done in 95.79s (at 06:39)
[INFO ] =================================================================
[INFO ] Installing CLooG for host
[INFO ] Installing CLooG for host: done in 44.91s (at 07:24)
[INFO ] =================================================================
[INFO ] Installing MPC for host
[INFO ] Installing MPC for host: done in 40.81s (at 08:05)
[INFO ] =================================================================
[INFO ] Installing binutils for host
[INFO ] Installing binutils for host: done in 260.08s (at 12:25)
[INFO ] =================================================================
[INFO ] Installing final compiler
[ERROR] xgcc: error: spawn: No such file or directory
[INFO ] Installing final compiler: done in 573.22s (at 21:58)
[INFO ] =================================================================
[INFO ] Installing cross-gdb
[INFO ] Installing cross-gdb: done in 411.33s (at 28:50)
[INFO ] =================================================================
[INFO ] Cleaning-up the toolchain's directory
[INFO ] Stripping all toolchain executables
[INFO ] Cleaning-up the toolchain's directory: done in 10.03s (at 29:00)
[INFO ] Build completed at 20160505.025639
[INFO ] (elapsed: 28:58.08)
[INFO ] Finishing installation (may take a few seconds)...
[29:00] /
I've red on some forums that Error is ok.
Ok now I start again ./gen_misc.sh and chose what I wanna build and it starts to building. And I got new error
Code: Select all
make[1]: xtensa-lx106-elf-gcc: Command not found
../../Makefile:323: recipe for target '.output/eagle/debug/obj/mesh_demo.o' failed
make[1]: *** [.output/eagle/debug/obj/mesh_demo.o] Error 127
make[1]: Leaving directory '/cygdrive/c/Projects/ESP8266/mesh_demo/demo'
../Makefile:309: recipe for target '.subdirs' failed
I've red some forums telling to install gcc, minigw, g++, I've install it all and still getting this error.
On some forums they mention to set path for xtensa-lx106-elf-gcc but it is already done while I was installing crosstool-Ng and xtensa with this command line
./ct-ng build PATH=$PWD/builds/xtensa-lx106-elf/bin:$PATH
I thought it was problem in Cygwin so I install Linux
Done everything even sudo apt-get install, update ect.
Same error occurs.
Or can someone post how did he do this step by step and manage to get it work.
Thx for help I've been struggling with this past few weeks.
Regards