-
Notifications
You must be signed in to change notification settings - Fork 93
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
Unable to run the example because SDL2 cannot be linked on macOS with the M1 Max chip #62
Comments
I tried to install 2.26.4 SDL2, which someone said works in m-chip mbp, but I still got this error. Maybe I should build an x86_64 arch manually. |
Another try:
But still got other error messages:
|
I did it!
Then everythings works like a charm 😄 |
This exception is related to Visual Studio Code because everything is OK when I execute the PlatformIO task in the shell instead of running "execute task" in VSCode. I guess the platform extension in VSCode installs an x86_64-based Python environment, which leads Scons to think the building environment is x86_64. So, if I execute the |
Closing this issue as it’s resolved |
What I encountered
I got an error message when I chose "Project Tasks / emulator_64bits / General / Execute":
What I did
brew install sdl2
[env:emulator_64bits]
in platformio.iniWhat I Expected
Compile & Linking should be successful, and the emulator GUI should appear on my screen.
What I tried
lvgl emulator m chip macos
and found a post. It looks like the same error. But this post hasn't made any progress.My Environment
Project Dependency
Full platformio.ino
Full Log
The text was updated successfully, but these errors were encountered: