-
Notifications
You must be signed in to change notification settings - Fork 315
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
The same project fails to build on other computers (IDFGH-13774) (VSC-1497) #1322
Comments
It seems that the error log is using the toolchain Also Python used is different for both cases: I would suggest review that both ESP-IDF setup to match version (with doctor command for example) with the intended ESP-IDF version from your application code. |
Thank you for your reply, I will try again. |
Any updates on this @Tinyu-Zhao ? |
Thank you for your help, the problem is solved now. |
Answers checklist.
IDF version.
ESP-IDF v5.4-dev-3201-g46acfdce96
Operating System used.
macOS
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
None
What is the expected behavior?
Compiles normally without errors.
What is the actual behavior?
I encountered an error when trying to build an old IDF project on my new computer(M2 Chip), but it compiled fine on my previous Intel chip macOS.
When I tried to use the VSCode plugin for ESP-IDF, I got an error
I suspected it was a vscode setup issue, so I tried using idf.py build from the command line, and got the same error as when using the VSCode plugin.
The actual code is
When I hover the mouse over uint8_t, it will prompt me.
But when I Go to uint8_t Definition, it will prompt me.
I suspect the compiler is pointing to the wrong file:
/Library/Developer/CommandLineTools/SDKs/MacOSX15.0.sdk/usr/include/_types/_uint8_t.h
Steps to reproduce.
Build or installation Logs.
error_log.txt
normal_log.txt
More Information.
No response
The text was updated successfully, but these errors were encountered: