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

User avatar
By masacate
#33008 I have no problem compiling the esp_rtos_sdk_example_1, (the dir where I have installed the new rtos version is the same as the previous revision had, I have replace only the content), it seems it is a problem of the example_2, it looks as it woul have bigger size that allowed to fit in the .irom0.text area.

masacate
User avatar
By kathir
#33234 Alex s
I tried mkespfsimage utility using cygwin It compiles correctly . But when we make htmlpage.espfs file size is more large compare to the file created under linux .I need the correct mkespfsimage.exe to work under windows
Can you help me

M.K.San
User avatar
By fernando306
#34078 Hello dear CHERTS, how are you?

Congratulations for the great work and I sincerely appreciate your contribution.

I am having a bit of a hard time to get it to work. Once that is solved, I'll be more than happy to donate to your project.

First I tried to install on Windows 8.1 as per your instructions, however, even executing as Administrator, the .bat file of the Espressif add-ons won't work.

win8_bat.png


So I fired up the Windows XP VM and installed without any problems. Great. However, on Windows XP once I try to compile a simple "hello world" example, it give's me this error:

winxp_eclipse.png


I am hoping you can help me get past these small problems :) FYI I installed the "jre-8u65-windows-i586".

Thank you very much!
You do not have the required permissions to view the files attached to this post.
User avatar
By fernando306
#34080 Update:

I assumed the BAT wound't run for simply "not detecting" that it was being executed as Administrator. So I got rid of this section in order to force it to run anyway.

Code: Select allif not %ERRORLEVEL% EQU 0 (
      echo Error: To install packages need admin rights.
      echo.
      echo Run the script as an administrator.
      echo.
      echo To run as administrator, click on the file install.cmd the right mouse
      echo button and select 'Run as administrator'
      echo.
      echo Press Enter to exit.
      pause >nul
      goto :eof
)


Worked just fine! I hope this can be useful for you and for other users that may have the same problem.

Now I successfully compiled "hello world" example and now I will try some more advanced codes and see if I don't encounter anymore problems :)

Thank you!