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

User avatar
By CHERTS
#5657
alonewolfx2 wrote:can we use make htmlflash in esphttp example?


File webpages.espfs (htmlflash) can only be done under linux, utility mkespfsimage for windows is working not correctly.
I tried to compile it in Visual Studio 2012 project is located in the directory C:\Espressif\examples\esphttpd\mkespfsimage_vs2012 or attachment, but the utility creates an invalid webpages.espfs
You can view the source code and may be able to find the error and correct it.
You do not have the required permissions to view the files attached to this post.
User avatar
By alonewolfx2
#5660
CHERTS wrote:
alonewolfx2 wrote:can we use make htmlflash in esphttp example?


File webpages.espfs (htmlflash) can only be done under linux, utility mkespfsimage for windows is working not correctly.
I tried to compile it in Visual Studio 2012 project is located in the directory C:\Espressif\examples\esphttpd\mkespfsimage_vs2012 or attachment, but the utility creates an invalid webpages.espfs
You can view the source code and may be able to find the error and correct it.

i am using vs2010 :(
User avatar
By amatron
#5668
ivanroberto wrote:Hi pvvx,

It's a Christmans gift!
Thank you so much! :D

The lua project compiles flawless, but with esp_iot_rtos_sdk, i got some erros:

Code: Select all09:43:59 **** Build of configuration Default for project esp_iot_rtos_sdk ****
mingw32-make.exe -f C:/eclipse/workspace/esp_iot_rtos_sdk/Makefile -j4 all
mingw32-make[1]: Entering directory 'C:/eclipse/workspace/esp_iot_rtos_sdk/app'
mingw32-make[1]: *** No rule to make target 'user/.output/eagle/debug/lib/libuser.a', needed by '.output/eagle/debug/image/eagle.app.v6.out'.  Pare.
mingw32-make[1]: *** Esperando que os outros processos terminem....
mingw32-make[2]: Entering directory 'C:/eclipse/workspace/esp_iot_rtos_sdk/app/user'
DEPEND: CC -M user_main.c
In file included from ../../include/freertos/portable.h:318:0,
                 from ../../include/freertos/FreeRTOS.h:87,
                 from user_main.c:13:
../../include/freertos/portmacro.h:75:33: fatal error: xtensa/xtruntime.h: No such file or directory
 #include    <xtensa/xtruntime.h>
                                 ^
compilation terminated.
mingw32-make[2]: Leaving directory 'C:/eclipse/workspace/esp_iot_rtos_sdk/app/user'
mingw32-make[2]: Entering directory 'C:/eclipse/workspace/esp_iot_rtos_sdk/app/user'
CC user_main.c
In file included from ../../include/freertos/portable.h:318:0,
                 from ../../include/freertos/FreeRTOS.h:87,
                 from user_main.c:13:
../../include/freertos/portmacro.h:75:33: fatal error: xtensa/xtruntime.h: No such file or directory
 #include    <xtensa/xtruntime.h>
                                 ^
compilation terminated.
../../Makefile:169: recipe for target '.output/eagle/debug/obj/user_main.o' failed
mingw32-make[2]: *** [.output/eagle/debug/obj/user_main.o] Error 1
mingw32-make[2]: Leaving directory 'C:/eclipse/workspace/esp_iot_rtos_sdk/app/user'
../Makefile:149: recipe for target '.subdirs' failed
mingw32-make[1]: *** [.subdirs] Error 2
mingw32-make[1]: Leaving directory 'C:/eclipse/workspace/esp_iot_rtos_sdk/app'
C:/eclipse/workspace/esp_iot_rtos_sdk/Makefile:149: recipe for target '.subdirs' failed
mingw32-make.exe: *** [.subdirs] Error 2

09:44:00 Build Finished (took 1s.219ms)


Do you use exactly same link than me? https://github.com/espressif/esp_iot_rtos_sdk

Could you help me?

Thanks


Hi!

Put these files http://bbs.espressif.com/download/file.php?id=103 into dir C:\Espressif\xtensa-lx106-elf\lib\gcc\xtensa-lx106-elf\4.8.2\include\xtensa

and compil