/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.1/include/emmintrin.h(1225): error: identifier "__builtin_ia32_movnti64" is undefined /usr/local/include/opencv2/core/mat.hpp(117): error: type name is not allowed /usr/local/include/opencv2/core/mat.hpp(117): error: identifier "_Atomic" is undefined /usr/local/include/opencv2/core/mat.hpp(117): error: expected an expression /usr/local/include/opencv2/core/mat.hpp(117): error: identifier "__c11_atomic_fetch_add" is undefined /usr/local/include/opencv2/core/mat.hpp(286): error: type name is not allowed /usr/local/include/opencv2/core/mat.hpp(286): error: identifier "_Atomic" is undefined /usr/local/include/opencv2/core/mat.hpp(286): error: expected an expression /usr/local/include/opencv2/core/mat.hpp(286): error: identifier "__c11_atomic_fetch_add" is undefined /usr/local/include/opencv2/core/mat.hpp(362): error: type name is not allowed /usr/local/include/opencv2/core/mat.hpp(362): error: identifier "_Atomic" is undefined /usr/local/include/opencv2/core/mat.hpp(362): error: expected an expression /usr/local/include/opencv2/core/mat.hpp(362): error: identifier "__c11_atomic_fetch_add" is undefined /usr/local/include/opencv2/core/mat.hpp(366): error: type name is not allowed /usr/local/include/opencv2/core/mat.hpp(366): error: identifier "_Atomic" is undefined /usr/local/include/opencv2/core/mat.hpp(366): error: expected an expression /usr/local/include/opencv2/core/mat.hpp(366): error: identifier "__c11_atomic_fetch_add" is undefined /usr/local/include/opencv2/core/mat.hpp(2110): error: type name is not allowed /usr/local/include/opencv2/core/mat.hpp(2110): error: identifier "_Atomic" is undefined /usr/local/include/opencv2/core/mat.hpp(2110): error: expected an expression /usr/local/include/opencv2/core/mat.hpp(2110): error: identifier "__c11_atomic_fetch_add" is undefined /usr/local/include/opencv2/core/mat.hpp(2138): error: type name is not allowed /usr/local/include/opencv2/core/mat.hpp(2138): error: identifier "_Atomic" is undefined /usr/local/include/opencv2/core/mat.hpp(2138): error: expected an expression /usr/local/include/opencv2/core/mat.hpp(2138): error: identifier "__c11_atomic_fetch_add" is undefined /usr/local/include/opencv2/core/mat.hpp(2142): error: type name is not allowed /usr/local/include/opencv2/core/mat.hpp(2142): error: identifier "_Atomic" is undefined /usr/local/include/opencv2/core/mat.hpp(2142): error: expected an expression /usr/local/include/opencv2/core/mat.hpp(2142): error: identifier "__c11_atomic_fetch_add" is undefined /usr/local/include/opencv2/core/operations.hpp(2603): error: type name is not allowed detected during: instantiation of "void cv::Ptr<_Tp>::release() [with _Tp=cv::linemod::QuantizedPyramid]" (2617): here instantiation of "cv::Ptr<_Tp>::~Ptr() [with _Tp=cv::linemod::QuantizedPyramid]" /usr/local/include/opencv2/core/operations.hpp(2603): error: identifier "_Atomic" is undefined detected during: instantiation of "void cv::Ptr<_Tp>::release() [with _Tp=cv::linemod::QuantizedPyramid]" (2617): here instantiation of "cv::Ptr<_Tp>::~Ptr() [with _Tp=cv::linemod::QuantizedPyramid]" /usr/local/include/opencv2/core/operations.hpp(2603): error: expected an expression detected during: instantiation of "void cv::Ptr<_Tp>::release() [with _Tp=cv::linemod::QuantizedPyramid]" (2617): here instantiation of "cv::Ptr<_Tp>::~Ptr() [with _Tp=cv::linemod::QuantizedPyramid]" /usr/local/include/opencv2/core/operations.hpp(2603): error: identifier "__c11_atomic_fetch_add" is undefined detected during: instantiation of "void cv::Ptr<_Tp>::release() [with _Tp=cv::linemod::QuantizedPyramid]" (2617): here instantiation of "cv::Ptr<_Tp>::~Ptr() [with _Tp=cv::linemod::QuantizedPyramid]" /usr/local/include/opencv2/core/operations.hpp(2599): error: type name is not allowed detected during: instantiation of "void cv::Ptr<_Tp>::addref() [with _Tp=cv::linemod::QuantizedPyramid]" (2623): here instantiation of "cv::Ptr<_Tp>::Ptr(const cv::Ptr<_Tp> &) [with _Tp=cv::linemod::QuantizedPyramid]" /usr/local/include/opencv2/core/operations.hpp(2599): error: identifier "_Atomic" is undefined detected during: instantiation of "void cv::Ptr<_Tp>::addref() [with _Tp=cv::linemod::QuantizedPyramid]" (2623): here instantiation of "cv::Ptr<_Tp>::Ptr(const cv::Ptr<_Tp> &) [with _Tp=cv::linemod::QuantizedPyramid]" /usr/local/include/opencv2/core/operations.hpp(2599): error: expected an expression detected during: instantiation of "void cv::Ptr<_Tp>::addref() [with _Tp=cv::linemod::QuantizedPyramid]" (2623): here instantiation of "cv::Ptr<_Tp>::Ptr(const cv::Ptr<_Tp> &) [with _Tp=cv::linemod::QuantizedPyramid]" /usr/local/include/opencv2/core/operations.hpp(2599): error: identifier "__c11_atomic_fetch_add" is undefined detected during: instantiation of "void cv::Ptr<_Tp>::addref() [with _Tp=cv::linemod::QuantizedPyramid]" (2623): here instantiation of "cv::Ptr<_Tp>::Ptr(const cv::Ptr<_Tp> &) [with _Tp=cv::linemod::QuantizedPyramid]" /usr/local/include/opencv2/core/operations.hpp(2603): error: type name is not allowed detected during: instantiation of "void cv::Ptr<_Tp>::release() [with _Tp=cv::FeatureDetector]" (2617): here instantiation of "cv::Ptr<_Tp>::~Ptr() [with _Tp=cv::FeatureDetector]" /usr/local/include/opencv2/features2d/features2d.hpp(705): here /usr/local/include/opencv2/core/operations.hpp(2603): error: identifier "_Atomic" is undefined detected during: instantiation of "void cv::Ptr<_Tp>::release() [with _Tp=cv::FeatureDetector]" (2617): here instantiation of "cv::Ptr<_Tp>::~Ptr() [with _Tp=cv::FeatureDetector]" /usr/local/include/opencv2/features2d/features2d.hpp(705): here /usr/local/include/opencv2/core/operations.hpp(2603): error: expected an expression detected during: instantiation of "void cv::Ptr<_Tp>::release() [with _Tp=cv::FeatureDetector]" (2617): here instantiation of "cv::Ptr<_Tp>::~Ptr() [with _Tp=cv::FeatureDetector]" /usr/local/include/opencv2/features2d/features2d.hpp(705): here /usr/local/include/opencv2/core/operations.hpp(2603): error: identifier "__c11_atomic_fetch_add" is undefined detected during: instantiation of "void cv::Ptr<_Tp>::release() [with _Tp=cv::FeatureDetector]" (2617): here instantiation of "cv::Ptr<_Tp>::~Ptr() [with _Tp=cv::FeatureDetector]" /usr/local/include/opencv2/features2d/features2d.hpp(705): here /usr/local/include/opencv2/core/operations.hpp(2599): error: type name is not allowed detected during: instantiation of "void cv::Ptr<_Tp>::addref() [with _Tp=cv::FeatureDetector]" (2623): here instantiation of "cv::Ptr<_Tp>::Ptr(const cv::Ptr<_Tp> &) [with _Tp=cv::FeatureDetector]" /usr/local/include/opencv2/core/operations.hpp(2599): error: identifier "_Atomic" is undefined detected during: instantiation of "void cv::Ptr<_Tp>::addref() [with _Tp=cv::FeatureDetector]" (2623): here instantiation of "cv::Ptr<_Tp>::Ptr(const cv::Ptr<_Tp> &) [with _Tp=cv::FeatureDetector]" /usr/local/include/opencv2/core/operations.hpp(2599): error: expected an expression detected during: instantiation of "void cv::Ptr<_Tp>::addref() [with _Tp=cv::FeatureDetector]" (2623): here instantiation of "cv::Ptr<_Tp>::Ptr(const cv::Ptr<_Tp> &) [with _Tp=cv::FeatureDetector]" /usr/local/include/opencv2/core/operations.hpp(2599): error: identifier "__c11_atomic_fetch_add" is undefined detected during: instantiation of "void cv::Ptr<_Tp>::addref() [with _Tp=cv::FeatureDetector]" (2623): here instantiation of "cv::Ptr<_Tp>::Ptr(const cv::Ptr<_Tp> &) [with _Tp=cv::FeatureDetector]" /usr/local/include/opencv2/core/operations.hpp(2603): error: type name is not allowed detected during: instantiation of "void cv::Ptr<_Tp>::release() [with _Tp=cv::GenericDescriptorMatcher]" (2617): here instantiation of "cv::Ptr<_Tp>::~Ptr() [with _Tp=cv::GenericDescriptorMatcher]" /usr/local/include/opencv2/features2d/features2d.hpp(1522): here /usr/local/include/opencv2/core/operations.hpp(2603): error: identifier "_Atomic" is undefined detected during: instantiation of "void cv::Ptr<_Tp>::release() [with _Tp=cv::GenericDescriptorMatcher]" (2617): here instantiation of "cv::Ptr<_Tp>::~Ptr() [with _Tp=cv::GenericDescriptorMatcher]" /usr/local/include/opencv2/features2d/features2d.hpp(1522): here /usr/local/include/opencv2/core/operations.hpp(2603): error: expected an expression detected during: instantiation of "void cv::Ptr<_Tp>::release() [with _Tp=cv::GenericDescriptorMatcher]" (2617): here instantiation of "cv::Ptr<_Tp>::~Ptr() [with _Tp=cv::GenericDescriptorMatcher]" /usr/local/include/opencv2/features2d/features2d.hpp(1522): here /usr/local/include/opencv2/core/operations.hpp(2603): error: identifier "__c11_atomic_fetch_add" is undefined detected during: instantiation of "void cv::Ptr<_Tp>::release() [with _Tp=cv::GenericDescriptorMatcher]" (2617): here instantiation of "cv::Ptr<_Tp>::~Ptr() [with _Tp=cv::GenericDescriptorMatcher]" /usr/local/include/opencv2/features2d/features2d.hpp(1522): here /usr/local/include/opencv2/core/operations.hpp(2599): error: type name is not allowed detected during: instantiation of "void cv::Ptr<_Tp>::addref() [with _Tp=cv::GenericDescriptorMatcher]" (2623): here instantiation of "cv::Ptr<_Tp>::Ptr(const cv::Ptr<_Tp> &) [with _Tp=cv::GenericDescriptorMatcher]" /usr/local/include/opencv2/core/operations.hpp(2599): error: identifier "_Atomic" is undefined detected during: instantiation of "void cv::Ptr<_Tp>::addref() [with _Tp=cv::GenericDescriptorMatcher]" (2623): here instantiation of "cv::Ptr<_Tp>::Ptr(const cv::Ptr<_Tp> &) [with _Tp=cv::GenericDescriptorMatcher]" /usr/local/include/opencv2/core/operations.hpp(2599): error: expected an expression detected during: instantiation of "void cv::Ptr<_Tp>::addref() [with _Tp=cv::GenericDescriptorMatcher]" (2623): here instantiation of "cv::Ptr<_Tp>::Ptr(const cv::Ptr<_Tp> &) [with _Tp=cv::GenericDescriptorMatcher]" /usr/local/include/opencv2/core/operations.hpp(2599): error: identifier "__c11_atomic_fetch_add" is undefined detected during: instantiation of "void cv::Ptr<_Tp>::addref() [with _Tp=cv::GenericDescriptorMatcher]" (2623): here instantiation of "cv::Ptr<_Tp>::Ptr(const cv::Ptr<_Tp> &) [with _Tp=cv::GenericDescriptorMatcher]" /usr/local/include/opencv2/core/operations.hpp(2603): error: type name is not allowed detected during: instantiation of "void cv::Ptr<_Tp>::release() [with _Tp=cv::gpu::FilterEngine_GPU]" (2617): here instantiation of "cv::Ptr<_Tp>::~Ptr() [with _Tp=cv::gpu::FilterEngine_GPU]" /usr/local/include/opencv2/gpu/gpu.hpp(839): here /usr/local/include/opencv2/core/operations.hpp(2603): error: identifier "_Atomic" is undefined detected during: instantiation of "void cv::Ptr<_Tp>::release() [with _Tp=cv::gpu::FilterEngine_GPU]" (2617): here instantiation of "cv::Ptr<_Tp>::~Ptr() [with _Tp=cv::gpu::FilterEngine_GPU]" /usr/local/include/opencv2/gpu/gpu.hpp(839): here /usr/local/include/opencv2/core/operations.hpp(2603): error: expected an expression detected during: instantiation of "void cv::Ptr<_Tp>::release() [with _Tp=cv::gpu::FilterEngine_GPU]" (2617): here instantiation of "cv::Ptr<_Tp>::~Ptr() [with _Tp=cv::gpu::FilterEngine_GPU]" /usr/local/include/opencv2/gpu/gpu.hpp(839): here /usr/local/include/opencv2/core/operations.hpp(2603): error: identifier "__c11_atomic_fetch_add" is undefined detected during: instantiation of "void cv::Ptr<_Tp>::release() [with _Tp=cv::gpu::FilterEngine_GPU]" (2617): here instantiation of "cv::Ptr<_Tp>::~Ptr() [with _Tp=cv::gpu::FilterEngine_GPU]" /usr/local/include/opencv2/gpu/gpu.hpp(839): here 57 errors detected in the compilation of "/var/folders/wt/kt42h_5573j7z2l4g_1hjfgr0000gn/T//tmpxft_000019d9_00000000-6_Utils.cpp1.ii". CMake Error at main_generated_Utils.cu.o.cmake:264 (message): Error generating file /Users/alexb/Dropbox/ITU/6. semester/Speciale/code/cpp/build/CMakeFiles/main.dir/src/gpu/./main_generated_Utils.cu.o make[2]: *** [CMakeFiles/main.dir/src/gpu/./main_generated_Utils.cu.o] Error 1 make[1]: *** [CMakeFiles/main.dir/all] Error 2 make: *** [all] Error 2