[Mac] C++ thread 라이브러리 오류


[Mac] C++ thread 라이브러리 오류

다음과 같이 Mac M1환경에서 thread 라이브러리를 쓸때 오류가 발생하는 경우가 있습니다. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/thread:224:5: note: candidate constructor not viable: requires 1 argument, but 2 were provided thread(const thread&); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/thread:343:9: note: candidate constructor template not viable: requires single argument '__f', but...



원문링크 : [Mac] C++ thread 라이브러리 오류