td icon indicating copy to clipboard operation
td copied to clipboard

HELP!Apple M1 Max15.0.1 (24A348) build error Atomic operations library isn't found.

Open wiojosjosd opened this issue 9 months ago • 2 comments

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)

wiojosjosd avatar Mar 31 '25 09:03 wiojosjosd

HOW to resolve the problem ,any one helps me please!

wiojosjosd avatar Mar 31 '25 09:03 wiojosjosd

Could you provide content of the directory build/CMakeFiles as a zip archive?

levlam avatar Mar 31 '25 20:03 levlam

Could you provide content of the directory build/CMakeFiles as a zip archive?

I have the same issue and here's my C-make-files directory attached.

CMakeFiles.zip

tapochqa avatar Sep 27 '25 16:09 tapochqa

Reinstalling Xcode Command Line Tools fixed the problem.

$ sudo rm -rf /Library/Developer/CommandLineTools $ xcode-select --install

tapochqa avatar Sep 27 '25 16:09 tapochqa

@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.

levlam avatar Sep 28 '25 22:09 levlam