undefined reference to `__atomic_is_lock_free'
Posted: Mon Oct 21, 2024 5:55 pm
by hong zhenbang
I downloaded a project on Github
https://github.com/Seeed-Studio/sscma-example-esp32 and I want to deploy the examples from it on my ESP32-S3, after executing the command
I get this error:
- Snipaste_2024-10-22_01-53-59.png (62.04 KiB) Viewed 557 times
What should I do to solve this problem? I'm a beginner to this.
Re: undefined reference to `__atomic_is_lock_free'
Posted: Wed Oct 23, 2024 1:41 am
by nopnop2002
ESP-IDF also supports C++, but the language specifications used differ depending on the version.
- IDF v4.4.x and below — C++11
- IDF v5.0.x — C++20
- IDF v5.1.x or higher — C++23
std::atomic_is_lock_free
This function has been deprecated since C++20.
This project cannot be built with ESP-IDF V5.
There is a possibility that it can be built with ESP-IDF V4.x.