Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By CHERTS
#10774
kutkm_ti wrote:hi, can anyone teach me how to use original esp_iot_sdk_v0.9.5_15_01_23.zip in this Espressif DevKit for Windows + Eclipse IDE, i'm newbie , i try many way to compile , but all in error, i need to compile using original SDK release by Espressif, but don't know how to setting the Eclipse IDE....


In DevKit includes the official SDK v.0.9.5 + patch1 + smartconfig_v0.7, see the description on the official website
User avatar
By CHERTS
#10775
kutkm_ti wrote:13:16:29 **** Build of configuration Release for project smart_config ****
mingw32-make.exe -f C:/Espressif/examples/smart_config/Makefile all
CC user/user_main.c
AR build/app_app.a
LD build/app.out
build/app_app.a(user_main.o):(.text+0xc): undefined reference to `smartconfig_start'
build/app_app.a(user_main.o): In function `user_init':
C:\Espressif\examples\smart_config/user/user_main.c:29: undefined reference to `smartconfig_start'
C:/Espressif/examples/smart_config/Makefile:95: recipe for target 'build/app.out' failed
collect2.exe: error: ld returned 1 exit status
mingw32-make.exe: *** [build/app.out] Error 1

13:16:30 Build Finished (took 1s.185ms)


Send me a project with all the source code, I can see them, but most likely a problem in the wrong Makefile.
User avatar
By kutkm_ti
#10799
CHERTS wrote:
kutkm_ti wrote:13:16:29 **** Build of configuration Release for project smart_config ****
mingw32-make.exe -f C:/Espressif/examples/smart_config/Makefile all
CC user/user_main.c
AR build/app_app.a
LD build/app.out
build/app_app.a(user_main.o):(.text+0xc): undefined reference to `smartconfig_start'
build/app_app.a(user_main.o): In function `user_init':
C:\Espressif\examples\smart_config/user/user_main.c:29: undefined reference to `smartconfig_start'
C:/Espressif/examples/smart_config/Makefile:95: recipe for target 'build/app.out' failed
collect2.exe: error: ld returned 1 exit status
mingw32-make.exe: *** [build/app.out] Error 1

13:16:30 Build Finished (took 1s.185ms)


Send me a project with all the source code, I can see them, but most likely a problem in the wrong Makefile.


i put original esp_iot_sdk_v0.9.5_15_01_23.zip example into example folder, follow the video step by step create project and put all the file into folder, replace your makefile to original, set all, set clean, all compile show me error...
You do not have the required permissions to view the files attached to this post.