undefined reference to `__atomic_is_lock_free'

hong zhenbang
Posts: 2
Joined: Mon Oct 21, 2024 5:42 pm

undefined reference to `__atomic_is_lock_free'

Postby hong zhenbang » Mon Oct 21, 2024 5:55 pm

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

Code: Select all

idf.py build
I get this error:
Snipaste_2024-10-22_01-53-59.png
Snipaste_2024-10-22_01-53-59.png (62.04 KiB) Viewed 544 times
What should I do to solve this problem? I'm a beginner to this.

nopnop2002
Posts: 111
Joined: Thu Oct 03, 2019 10:52 pm
Contact:

Re: undefined reference to `__atomic_is_lock_free'

Postby nopnop2002 » Wed Oct 23, 2024 1:41 am

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.

Who is online

Users browsing this forum: No registered users and 126 guests