Open VirtSiyu opened 7 months ago
im getting the same errors, did you fix it?
The fundamental basic C++ resources are missing... Are both of you, @Madhudorai and @VirtSiyu able to compile a C++ "hello world" in your environment?
Which of the mentioned options in the Wiki "https://github.com/TadasBaltrusaitis/OpenFace/wiki/Mac-Installation" have you followed, with which result, which console output, which logs, which warnings, which errors?
hey yes you were right. there was issues with xcode installation itself. went with option A. working fine! thanks
Hello, after the cmake during installing, the make is hindered by errors, which I believe is the OS's issue. Please let me know if there are any solutions. Many thanks.
OS: macOS 13.6.3 (Ventura) Xcode: 15.2
[ 2%] Building CXX object lib/local/LandmarkDetector/CMakeFiles/LandmarkDetector.dir/src/CCNF_patch_expert.cpp.o In file included from /Users/H/openFace/openface/lib/local/LandmarkDetector/src/CCNF_patch_expert.cpp:35: In file included from /Users/H/openFace/openface/lib/local/LandmarkDetector/include/stdafx.h:19: In file included from /usr/local/Cellar/opencv/4.9.0_2/include/opencv4/opencv2/core/core.hpp:48: In file included from /usr/local/Cellar/opencv/4.9.0_2/include/opencv4/opencv2/core.hpp:52: In file included from /usr/local/Cellar/opencv/4.9.0_2/include/opencv4/opencv2/core/cvdef.h:185: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/limits:827: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/type_traits:421: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/functional/invoke.h:15: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/type_traits/apply_cv.h:15: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/type_traits/remove_reference.h:13: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/cstddef:46:5: error: tried including but didn't find libc++'s header. This usually means that your header search paths are not configured properly. The header search paths should contain the C++ Standard Library headers before any C Standard Library, and you are probably using compiler flags that make that not be the case.
# error tried including but didn't find libc++'s header. \
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/cstddef:59:9: error: no member named 'nullptr_t' in the global namespace
using ::nullptr_t;
~~^
In file included from /Users/H/openFace/openface/lib/local/LandmarkDetector/src/CCNF_patch_expert.cpp:35:
In file included from /Users/H/openFace/openface/lib/local/LandmarkDetector/include/stdafx.h:19:
In file included from /usr/local/Cellar/opencv/4.9.0_2/include/opencv4/opencv2/core/core.hpp:48:
In file included from /usr/local/Cellar/opencv/4.9.0_2/include/opencv4/opencv2/core.hpp:52:
In file included from /usr/local/Cellar/opencv/4.9.0_2/include/opencv4/opencv2/core/cvdef.h:185:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/limits:827:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/type_traits:456:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/ type_traits/is_compound.h:14:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/type_traits/is_fundamental.h:14:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/type_traits/is_null_pointer.h:24:49: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'?
template <> struct is_nullptr_t_impl : public true_type {};
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/__type_traits/is_null_pointer.h:24:49: error: template argument for template type parameter must be a type
template <> struct is_nullptr_t_impl : public true_type {};
^ struct is_nullptr_t_impl : public false_type {};
^
In file included from /Users/H/openFace/openface/lib/local/LandmarkDetector/src/CCNF_patch_expert.cpp:35:
In file included from /Users/H/openFace/openface/lib/local/LandmarkDetector/include/stdafx.h:19:
In file included from /usr/local/Cellar/opencv/4.9.0_2/include/opencv4/opencv2/core/core.hpp:48:
In file included from /usr/local/Cellar/opencv/4.9.0_2/include/opencv4/opencv2/core.hpp:52:
In file included from /usr/local/Cellar/opencv/4.9.0_2/include/opencv4/opencv2/core/cvdef.h:185:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/limits:827:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/type_traits:538:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/cstdint:149:5: error: tried including but didn't find libc++'s header. This usually means that your header search paths are not configured properly. The header search paths should contain the C++ Standard Library headers before any C Standard Library, and you are probably using compiler flags that make that not be the case.
# error tried including but didn't find libc++'s header. \
^
In file included from /Users/H/openFace/openface/lib/local/LandmarkDetector/src/CCNF_patch_expert.cpp:35:
In file included from /Users/H/openFace/openface/lib/local/LandmarkDetector/include/stdafx.h:19:
In file included from /usr/local/Cellar/opencv/4.9.0_2/include/opencv4/opencv2/core/core.hpp:48:
In file included from /usr/local/Cellar/opencv/4.9.0_2/include/opencv4/opencv2/core.hpp:52:
In file included from /usr/local/Cellar/opencv/4.9.0_2/include/opencv4/opencv2/core/cvdef.h:794:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/array:114:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/algorithm/swap_ranges.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/__algorithm/iterator_operations.h:15:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/iterator/advance.h:26:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/cstdlib:90:5: error: tried including but didn't find libc++'s header. This usually means that your header search paths are not configured properly. The header search paths should contain the C++ Standard Library headers before any C Standard Library, and you are probably using compiler flags that make that not be the case.
# error tried including but didn't find libc++'s header. \
^
In file included from /Users/H/openFace/openface/lib/local/LandmarkDetector/src/CCNF_patch_expert.cpp:35:
In file included from /Users/H/openFace/openface/lib/local/LandmarkDetector/include/stdafx.h:19:
In file included from /usr/local/Cellar/opencv/4.9.0_2/include/opencv4/opencv2/core/core.hpp:48:
In file included from /usr/local/Cellar/opencv/4.9.0_2/include/opencv4/opencv2/core.hpp:52:
In file included from /usr/local/Cellar/opencv/4.9.0_2/include/opencv4/opencv2/core/cvdef.h:794:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/array:122:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/stdexcept:47:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/exception:199:45: error: field has incomplete type 'exception_ptr'
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : ptr_() {}
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/exception:194:24: note: definition of 'std::exception_ptr' is not complete until the closing '}'
class _LIBCPP_TYPE_VIS exception_ptr
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/exception:199:5: error: 'abi_tag' attribute only applies to structs, variables, functions, and namespaces
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : ptr_() {}
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/config:709:37: note: expanded from macro '_LIBCPP_INLINE_VISIBILITY'
# define _LIBCPP_INLINE_VISIBILITY _LIBCPP_HIDE_FROM_ABI
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/config:688:26: note: expanded from macro '_LIBCPP_HIDE_FROM_ABI'
attribute((abi_tag(_LIBCPP_TOSTRING(_LIBCPP_VERSIONED_IDENTIFIER))))
^
In file included from /Users/H/openFace/openface/lib/local/LandmarkDetector/src/CCNF_patch_expert.cpp:35:
In file included from /Users/H/openFace/openface/lib/local/LandmarkDetector/include/stdafx.h:19:
In file included from /usr/local/Cellar/opencv/4.9.0_2/include/opencv4/opencv2/core/core.hpp:48:
In file included from /usr/local/Cellar/opencv/4.9.0_2/include/opencv4/opencv2/core.hpp:52:
In file included from /usr/local/Cellar/opencv/4.9.0_2/include/opencv4/opencv2/core/cvdef.h:794:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/array:122:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/stdexcept:47:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/exception:199:55: error: expected ';' at end of declaration list
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : ptr_() {}
^
In file included from /Users/H/openFace/openface/lib/local/LandmarkDetector/src/CCNF_patch_expert.cpp:35:
In file included from /Users/H/openFace/openface/lib/local/LandmarkDetector/include/stdafx.h:19:
In file included from /usr/local/Cellar/opencv/4.9.0_2/include/opencv4/opencv2/core/core.hpp:48:
In file included from /usr/local/Cellar/opencv/4.9.0_2/include/opencv4/opencv2/core.hpp:52:
In file included from /usr/local/Cellar/opencv/4.9.0_2/include/opencv4/opencv2/core/cvdef.h:794:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/array:136:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/compare:145:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/__compare/compare_partial_order_fallback.h:13:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/compare/partial_order.h:14:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/compare/weak_order.h:14:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/__compare/strong_order.h:20:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/cmath:320:5: error: tried including but didn't find libc++'s header. This usually means that your header search paths are not configured properly. The header search paths should contain the C++ Standard Library headers before any C Standard Library, and you are probably using compiler flags that make that not be the case.
# error tried including but didn't find libc++'s header. \
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/cmath:558:5: error: use of undeclared identifier ' promote'
promote<_A1, _A2, _A3>
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/cmath:562:22: error: no template named 'promote'
typedef typename promote<_A1, _A2, _A3>::type result_type;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/cmath:566:12: error: call to 'hypot' is ambiguous
return std::hypot((result_type)__lcpp_x, (result_type)lcpp_y, (__result_type)lcpp_z);
^
~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/type_traits/is_null_pointer.h:23:17: note: template parameter is declared here template~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/cmath:547:46: note: candidate function inline _LIBCPP_INLINE_VISIBILITY float hypot( float x, float y, float z ) { return sqrt(xx + yy + z__z); } ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/cmath:548:46: note: candidate function inline _LIBCPP_INLINE_VISIBILITY double hypot( double x, double y, double z ) { return sqrt(xx + yy + zz); } ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/cmath:549:46: note: candidate function inline _LIBCPP_INLINE_VISIBILITY long double hypot( long double x, long double y, long double z ) { return sqrt(xx + yy + z*z); } ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/cmath:587:17: error: expected unqualified-id return std::isnan(lcpp_x); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/math.h:165:5: note: expanded from macro 'isnan' ( sizeof(x) == sizeof(float) ? inline_isnanf((float)(x)) \ ^ In file included from /Users/H/openFace/openface/lib/local/LandmarkDetector/src/CCNF_patch_expert.cpp:35: In file included from /Users/H/openFace/openface/lib/local/LandmarkDetector/include/stdafx.h:19: In file included from /usr/local/Cellar/opencv/4.9.0_2/include/opencv4/opencv2/core/core.hpp:48: In file included from /usr/local/Cellar/opencv/4.9.0_2/include/opencv4/opencv2/core.hpp:52: In file included from /usr/local/Cellar/opencv/4.9.0_2/include/opencv4/opencv2/core/cvdef.h:794: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/array:136: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/compare:145: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/compare/compare_partial_order_fallback.h:13: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/__compare/partial_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/compare/weak_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/compare/strong_order.h:20: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/cmath:607:17: error: expected unqualified-id return std::isinf(__lcpp_x); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/math.h:160:5: note: expanded from macro 'isinf' ( sizeof(x) == sizeof(float) ? inline_isinff((float)(x)) \ ^ In file included from /Users/H/openFace/openface/lib/local/LandmarkDetector/src/CCNF_patch_expert.cpp:35: In file included from /Users/H/openFace/openface/lib/local/LandmarkDetector/include/stdafx.h:19: In file included from /usr/local/Cellar/opencv/4.9.0_2/include/opencv4/opencv2/core/core.hpp:48: In file included from /usr/local/Cellar/opencv/4.9.0_2/include/opencv4/opencv2/core.hpp:52: In file included from /usr/local/Cellar/opencv/4.9.0_2/include/opencv4/opencv2/core/cvdef.h:794: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/array:136: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/compare:145: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/compare/compare_partial_order_fallback.h:13: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/__compare/partial_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/compare/weak_order.h:14: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/__compare/strong_order.h:20: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/cmath:646:38: error: no member named 'promote' in namespace 'std' std::promote<_A1, _A2> >::type