HELP!Apple M1 Max15.0.1 (24A348) build error Atomic operations library isn't found.
ls/SDKs/MacOSX15.2.sdk/usr/lib/libz.tbd -- Performing Test ATOMICS_FOUND -- Performing Test ATOMICS_FOUND - Failed -- Performing Test ATOMICS_FOUND -- Performing Test ATOMICS_FOUND - Failed CMake Error at CMake/FindAtomics.cmake:57 (message): Atomic operations library isn't found. Call Stack (most recent call first): tdutils/CMakeLists.txt:408 (find_package)
HOW to resolve the problem ,any one helps me please!
Could you provide content of the directory build/CMakeFiles as a zip archive?
Could you provide content of the directory
build/CMakeFilesas a zip archive?
I have the same issue and here's my C-make-files directory attached.
Reinstalling Xcode Command Line Tools fixed the problem.
$ sudo rm -rf /Library/Developer/CommandLineTools $ xcode-select --install
@tapochqa You had a working C++ compiler, but it was unable to find headers of the C++ standard libary. A possible cause of the issue described at https://trac.macports.org/wiki/ProblemHotlist#clts16. They suggest to do mostly the same as you did to fix the compiler.