ESP8266 Developer Zone The Official ESP8266 Forum 2015-10-22T10:18:24+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=1259 2015-10-22T10:18:24+08:00 2015-10-22T10:18:24+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1259&p=4227#p4227 <![CDATA[Re: how to build a complies environment for the lastest SDK?]]>
thank you for your help! i have saw your blog。 but i can't reply it because i have not account of forum

i have try the your way ! but it doesn't success , and i found some question about it

could you please help me ?

1.Could I change the install path of unofficial development kit ?
When finish extracting the files could I move them to other disk?
(ps:there is no more room for my C disk)

2.Do I must usinng Java Runtime x86 (jre-7uXX-windows-i586.exe)? is 8Uxx version OK?

3.When run from your file install-mingw-package.bat, there are so many error ,just like
that some packge has already install

4.Do we must follow those install step one by one? Could I finish install MinGW then install
Eclipse?

5.Does this project support win8.1 64Bit OS?(include those process) I have change eclipse
And JRE with 64bit version

6.When open Eclipse and import the source,which item should I choose
. Existing code as Autotools project
. Existing code as Makefile project

7.When I select . Existing code as Makefile project,then which toolchain should be select
.Gross GCC
.GNU Autotools Toolchain
.Microsoft Visaul C++
.MinGW GCC

8.No matter which toolchain I have select,it always show me that “g++” “gcc”not found in the PATH

9.Should I always go to add the sdk in the project? I found that there is not more lib when I follow your step


i have got some picture for you, but unfortunately this furum could not support update picture in reply!!!

could you share your email with me ? So i could ask you so question about SDK development。

BR!

Statistics: Posted by marhc_seven — Thu Oct 22, 2015 10:18 am


]]>
2015-10-21T21:09:50+08:00 2015-10-21T21:09:50+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1259&p=4220#p4220 <![CDATA[Re: how to build a complies environment for the lastest SDK?]]>
http://www.esp8266.com/viewtopic.php?f=9&t=820

I develop on Windows using Eclipse.

Statistics: Posted by kolban — Wed Oct 21, 2015 9:09 pm


]]>
2015-10-21T16:26:01+08:00 2015-10-21T16:26:01+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1259&p=4213#p4213 <![CDATA[Re: how to build a complies environment for the lastest SDK?]]>
Espressif_Faye wrote:
Hi,

Can you compile the non-OS SDK, esp_iot_sdk_v1.4.0, successfully ?




hi ,i don't need non-OS SDK , so i have not complied it !!!


anyway , is there only support Arduino IDE (Visual Studio IDE) ?????

could please share the way of eclipse IDE or VS2013 ?????


how does a engineer who does have not any experience of linux to know set up the complies environment???

it is so hard!!!!!

Statistics: Posted by marhc_seven — Wed Oct 21, 2015 4:26 pm


]]>
2015-10-21T16:21:04+08:00 2015-10-21T16:21:04+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1259&p=4212#p4212 <![CDATA[Re: how to build a complies environment for the lastest SDK?]]> [INFO ] Installing CLooG for host
[INFO ] Installing CLooG for host: done in 35.11s (at 31:58)
[INFO ] =================================================================
[INFO ] Installing MPC for host
[INFO ] Installing MPC for host: done in 39.97s (at 32:38)
[INFO ] =================================================================
[INFO ] Installing binutils for host
[INFO ] Installing binutils for host: done in 361.41s (at 38:39)
[INFO ] =================================================================
[INFO ] Installing pass-2 core C compiler
[INFO ] Installing pass-2 core C compiler: done in 1204.55s (at 58:44)
[INFO ] =================================================================
[INFO ] Installing C library
[INFO ] Installing C library: done in 150.22s (at 61:14)
[INFO ] =================================================================
[INFO ] Installing final compiler
[INFO ] Installing final compiler: done in 1401.07s (at 84:35)
[INFO ] =================================================================
[INFO ] Installing cross-gdb
[INFO ] Installing cross-gdb: done in 518.33s (at 93:14)
[INFO ] =================================================================
[INFO ] Cleaning-up the toolchain's directory
[INFO ] Stripping all toolchain executables
[INFO ] Cleaning-up the toolchain's directory: done in 7.75s (at 93:21)
[INFO ] Build completed at 20151021.005144
[INFO ] (elapsed: 93:20.28)
[INFO ] Finishing installation (may take a few seconds)...
[93:22] / make[2]: Leaving directory `/home/su/esp-open-sdk/crosstool-NG'
make[1]: Leaving directory `/home/su/esp-open-sdk/crosstool-NG'
cp esptool/esptool.py /home/su/esp-open-sdk/xtensa-lx106-elf/bin/
Creating irom version of libc...
/home/su/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-objcopy --rename-section .text=.irom0.text \
--rename-section .literal=.irom0.literal /home/su/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/lib/libc.a /home/su/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/lib/libcirom.a;
wget --content-disposition "http://bbs.espressif.com/download/file.php?id=838"
--2015-10-21 00:51:53-- download/file.php?id=838
Resolving bbs.espressif.com (bbs.espressif.com)... 192.185.229.242
Connecting to bbs.espressif.com (bbs.espressif.com)|192.185.229.242|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2158645 (2.1M) [application/octet-stream]
Saving to: `esp_iot_sdk_v1.4.0_15_09_18.zip'

100%[======================================>] 2,158,645 323K/s in 7.0s

2015-10-21 00:52:05 (301 KB/s) - `esp_iot_sdk_v1.4.0_15_09_18.zip' saved [2158645/2158645]

unzip -q -o esp_iot_sdk_v1.4.0_15_09_18.zip
mv License esp_iot_sdk_v1.4.0
touch esp_iot_sdk_v1.4.0/.dir
ln -snf esp_iot_sdk_v1.4.0 sdk
patch -N -d esp_iot_sdk_v1.4.0 -p1 < c_types-c99.patch
patching file include/c_types.h
Hunk #3 succeeded at 84 (offset 2 lines).
Installing vendor SDK headers into toolchain sysroot
Installing vendor SDK libs into toolchain sysroot
Installing vendor SDK linker scripts into toolchain sysroot
make -C lx106-hal -f ../Makefile _libhal
make[1]: Entering directory `/home/su/esp-open-sdk/lx106-hal'
autoreconf -i
configure.ac:7: error: Autoconf version 2.69 or higher is required
configure.ac:7: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
aclocal: /usr/bin/autom4te failed with exit status: 63
autoreconf: aclocal failed with exit status: 63
make[1]: *** [_libhal] Error 63
make[1]: Leaving directory `/home/su/esp-open-sdk/lx106-hal'
make: *** [/home/su/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/usr/lib/libhal.a] Error 2



what does error 63 means????

Statistics: Posted by marhc_seven — Wed Oct 21, 2015 4:21 pm


]]>
2015-10-21T14:58:04+08:00 2015-10-21T14:58:04+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1259&p=4207#p4207 <![CDATA[Re: how to build a complies environment for the lastest SDK?]]>
Can you compile the non-OS SDK, esp_iot_sdk_v1.4.0, successfully ?

Statistics: Posted by ESP_Faye — Wed Oct 21, 2015 2:58 pm


]]>
2015-10-21T14:18:06+08:00 2015-10-21T14:18:06+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1259&p=4201#p4201 <![CDATA[Re: how to build a complies environment for the lastest SDK?]]>
it turns to below ::::


Now configured for "xtensa-lx106-elf"
make[2]: Leaving directory `/home/su/esp-open-sdk/crosstool-NG'
sed -r -i.org s%CT_PREFIX_DIR=.*%CT_PREFIX_DIR="/home/su/esp-open-sdk/xtensa-lx106-elf"% .config
sed -r -i s%CT_INSTALL_DIR_RO=y%"#"CT_INSTALL_DIR_RO=y% .config
cat ../crosstool-config-overrides >> .config
./ct-ng build
make[2]: Entering directory `/home/su/esp-open-sdk/crosstool-NG'
[INFO ] Performing some trivial sanity checks
[INFO ] Build started 20151020.230613
[INFO ] Building environment variables
[INFO ] =================================================================
[INFO ] Retrieving needed toolchain components' tarballs
[08:36] \

Statistics: Posted by marhc_seven — Wed Oct 21, 2015 2:18 pm


]]>
2015-10-21T09:29:07+08:00 2015-10-21T09:29:07+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1259&p=4196#p4196 <![CDATA[how to build a complies environment for the lastest SDK?]]> my system OS is windows 8.1
how could i set up the complies environment for the lastest SDK(esp_rtos_SDK 1.1.0)?

and what is the different between esp_iot_sdk 1.40 with esp_rtos_SDK 1.1.0 ????

Statistics: Posted by marhc_seven — Wed Oct 21, 2015 9:29 am


]]>