-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Unable to compile even the blink.ino sketch #6043
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
That core_version.h looks corrupted. |
Dear @devyte, |
That's what i would do. |
Dear @devyte I have some more observations to you. After having delete the esp8266 directory and following the instructions I did the git installation. Then I just tried the Blink sketch. Unfortunately I faced the same error... Then I re delete the esp8266 directory and I copy one back up ( again, git based ) but this back up contains the git sync of 28/03/2019. So this backup is working fine, compiled the bink.ino sketch etc. Then, I did git update and sorry to say, the problem appeared again. There is something wrong in your latest commits I suppose. Please check and I am here if you need anything from me. |
I just did a clean git install and Blink works as expected. ...on Ubuntu, though, not Windows, but still.
Are you installing via git clone or just copying the source tree? did you call get.py after your re-install? |
Dear @devyte |
17 April 2019 was my last esp8266 git sync and successful compilation if this Info matters to you. |
You're affected, so you should pursue. Try syncing to each commit after that to figure out which one breaks your build. That could provide a clue. |
At a glance, suspect commit c5efb92 Apr/23/2019 |
My pythonese isn't very good, but at the very least that default arg to generate in the above commit looks fishy. Reopening. |
Yes I can do that but please tell me the git commands that I have to use ( sorry, not git experience... ) OR even better using the git gui if possible... |
1st not good indication: ( this is the output when I did in the git gui Remote -> Fetch from origin )
|
Yes, default git_ver is wrong. But does this mean git is not installed / not in PATH? |
Dear @mcspr So, your Fix default GIT_VER in makecorever.py #6044 is solving the problem. |
I indeed think it is because git is not in PATH when arduino ide is started so the default value 0xffff is taken in the python script. @mcspr your #6044 seems valid to me, thanks! @mikekgr you wouldn't have found this bug if |
Dear @d-a-v Thanks and Best Regards, |
The bellow error appeared to my Arduino IDE ( Running in Windows 10 ) :
In file included from E:\ARDUINO_ESP_DEV\arduino-IDE\hardware\esp8266com\esp8266\cores\esp8266\core_esp8266_main.cpp:35:0:
C:\Users\kranidis\AppData\Local\Temp\arduino_build_25694/core/core_version.h:1:33: error: unable to find numeric literal operator 'operator"" xffffffff'
#define ARDUINO_ESP8266_GIT_VER 0x0xffffffff
E:\ARDUINO_ESP_DEV\arduino-IDE\hardware\esp8266com\esp8266\cores\esp8266\core_esp8266_main.cpp:65:78: note: in expansion of macro 'ARDUINO_ESP8266_GIT_VER'
extern const uint32_t attribute((section(".ver_number"))) core_version = ARDUINO_ESP8266_GIT_VER;
exit status 1
Error compiling for board Generic ESP8266 Module.
I have ESP8266 updated from GIt Master branch
Please keep an eye what is wrong and I am here to supply you any further information you may ask.
Thanks and Best Regards,
Mike Kranidis
The text was updated successfully, but these errors were encountered: