princeton-vl / infinigen

Infinite Photorealistic Worlds using Procedural Generation
https://infinigen.org
BSD 3-Clause "New" or "Revised" License
5.31k stars 453 forks source link

[BUG] no such file /usr/lib/ground.so #21

Open Vincent0700 opened 1 year ago

Vincent0700 commented 1 year ago

Describe the bug I followed readme to run, an got errors "no such file /usr/lib/ground.so"

Steps to Reproduce

Blender quit



**Platform**
- OS & OS Version: macOS Monterey
- GPU (?) : m1
- GPU Driver Version (?) : m1
- RAM (GB): 32G
araistrick commented 1 year ago

Hello, it seems terrain compiling failed. Please post your full install.sh logs and @mazeyu may be able to help. Issue #17 may also help.

jgranie commented 1 year ago

Hello, I have the exact same issue on mac m1 macOs Ventura 13.4 commit 2c818e219550776b2371364d534ef65f0a47d25f (HEAD -> main, origin/main, origin/HEAD)

My install log errors extract (do you want me to fill in your bug form and the full log ?):

Part 1

error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [186 lines of output] Using RichDEM hash=Unknown, time=Unknown /Users/jean/miniconda/envs/infinigen/lib/python3.10/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options !!

          ********************************************************************************
          Usage of dash-separated 'description-file' will not be supported in future
          versions. Please use the underscore name 'description_file' instead.

          By 2023-Sep-26, you need to update your project and remove deprecated calls
          or your builds will no longer be supported.

          See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
          ********************************************************************************

  !!
    opt = self.warn_dash_deprecation(opt, section)
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-11.1-arm64-cpython-310
  creating build/lib.macosx-11.1-arm64-cpython-310/richdem
  copying richdem/__init__.py -> build/lib.macosx-11.1-arm64-cpython-310/richdem
  copying richdem/cli.py -> build/lib.macosx-11.1-arm64-cpython-310/richdem
  running build_ext
  COMPILER unix
  COMPILER ARGUMENTS ['-std=c++11', '-g', '-fvisibility=hidden', '-O3', '-Wno-unknown-pragmas']
  building '_richdem' extension
  creating build/temp.macosx-11.1-arm64-cpython-310
  creating build/temp.macosx-11.1-arm64-cpython-310/lib
  creating build/temp.macosx-11.1-arm64-cpython-310/lib/richdem
  creating build/temp.macosx-11.1-arm64-cpython-310/lib/richdem/common
  creating build/temp.macosx-11.1-arm64-cpython-310/src
  /opt/homebrew//opt/llvm/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/jean/miniconda/envs/infinigen/include -arch arm64 -fPIC -O2 -isystem /Users/jean/miniconda/envs/infinigen/include -arch arm64 -I/opt/homebrew/opt/openssl/include -I/opt/homebrew/opt/openssl/include -DDOCTEST_CONFIG_DISABLE -DRICHDEM_COMPILE_TIME=\"\\\"Unknown\\\"\" -DRICHDEM_GIT_HASH=\"\\\"Unknown\\\"\" -DRICHDEM_LOGGING -D_USE_MATH_DEFINES -Ilib/ -I/Users/jean/miniconda/envs/infinigen/include/python3.10 -c lib/richdem/common/random.cpp -o build/temp.macosx-11.1-arm64-cpython-310/lib/richdem/common/random.o -std=c++11 -g -fvisibility=hidden -O3 -Wno-unknown-pragmas
  In file included from lib/richdem/common/random.cpp:1:
  In file included from lib/richdem/common/random.hpp:6:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/random:1682:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__random/bernoulli_distribution.h:13:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__random/is_valid.h:13:
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cstdint:149:5: error: <cstdint> tried including <stdint.h> but didn't find libc++'s <stdint.h> 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 <cstdint> tried including <stdint.h> but didn't find libc++'s <stdint.h> header. \
      ^
  In file included from lib/richdem/common/random.cpp:1:
  In file included from lib/richdem/common/random.hpp:6:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/random:1682:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__random/bernoulli_distribution.h:13:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__random/is_valid.h:14:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/type_traits:421:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__functional/invoke.h:15:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__type_traits/apply_cv.h:15:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__type_traits/remove_reference.h:13:
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cstddef:46:5: error: <cstddef> tried including <stddef.h> but didn't find libc++'s <stddef.h> 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 <cstddef> tried including <stddef.h> but didn't find libc++'s <stddef.h> header. \
      ^
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cstddef:59:9: error: no member named 'nullptr_t' in the global namespace
  using ::nullptr_t;
        ~~^
  In file included from lib/richdem/common/random.cpp:1:
  In file included from lib/richdem/common/random.hpp:6:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/random:1682:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__random/bernoulli_distribution.h:13:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__random/is_valid.h:14:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/type_traits:456:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__type_traits/is_compound.h:14:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__type_traits/is_fundamental.h:14:
  /opt/homebrew//opt/llvm/bin/../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<nullptr_t> : public true_type {};
                                                  ^
  /opt/homebrew//opt/llvm/bin/../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<nullptr_t> : public true_type {};
                                                  ^~~~~~~~~
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:23:17: note: template parameter is declared here
  template <class _Tp> struct __is_nullptr_t_impl       : public false_type {};
                  ^
  In file included from lib/richdem/common/random.cpp:1:
  In file included from lib/richdem/common/random.hpp:6:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/random:1683:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__random/binomial_distribution.h:15:
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cmath:320:5: error: <cmath> tried including <math.h> but didn't find libc++'s <math.h> 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 <cmath> tried including <math.h> but didn't find libc++'s <math.h> header. \
      ^
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cmath:587:17: error: expected unqualified-id
      return std::isnan(__lcpp_x);
                  ^
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:165:5: note: expanded from macro 'isnan'
      ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \
      ^
  In file included from lib/richdem/common/random.cpp:1:
  In file included from lib/richdem/common/random.hpp:6:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/random:1683:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__random/binomial_distribution.h:15:
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cmath:585:1: error: no return statement in constexpr function
  __constexpr_isnan(_A1 __lcpp_x) _NOEXCEPT
  ^
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cmath:607:17: error: expected unqualified-id
      return std::isinf(__lcpp_x);
                  ^
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:160:5: note: expanded from macro 'isinf'
      ( sizeof(x) == sizeof(float)  ? __inline_isinff((float)(x))          \
      ^
  In file included from lib/richdem/common/random.cpp:1:
  In file included from lib/richdem/common/random.hpp:6:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/random:1683:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__random/binomial_distribution.h:15:
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cmath:605:1: error: no return statement in constexpr function
  __constexpr_isinf(_A1 __lcpp_x) _NOEXCEPT
  ^
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cmath:646:38: error: no member named '__promote' in namespace 'std'
                                  std::__promote<_A1, _A2> >::type
                                  ~~~~~^
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cmath:646:48: error: '_A1' does not refer to a value
                                  std::__promote<_A1, _A2> >::type
                                                 ^
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cmath:643:17: note: declared here
  template <class _A1, class _A2>
                  ^
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cmath:646:58: error: expected unqualified-id
                                  std::__promote<_A1, _A2> >::type
                                                           ^
  In file included from lib/richdem/common/random.cpp:1:
  In file included from lib/richdem/common/random.hpp:6:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/random:1689:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__random/discrete_distribution.h:12:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__algorithm/upper_bound.h:14:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__algorithm/iterator_operations.h:15:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__iterator/advance.h:26:
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cstdlib:90:5: error: <cstdlib> tried including <stdlib.h> but didn't find libc++'s <stdlib.h> 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 <cstdlib> tried including <stdlib.h> but didn't find libc++'s <stdlib.h> header. \
      ^
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cstdlib:132:9: error: target of using declaration conflicts with declaration already in scope
  using ::abs _LIBCPP_USING_IF_EXISTS;
          ^
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:132:6: note: target of using declaration
  int      abs(int) __pure2;
           ^
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cmath:353:1: note: conflicting declaration
  using ::abs _LIBCPP_USING_IF_EXISTS;
  ^
  In file included from lib/richdem/common/random.cpp:1:
  In file included from lib/richdem/common/random.hpp:6:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/random:1689:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__random/discrete_distribution.h:18:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/numeric:176:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/functional:510:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__functional/bind.h:17:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/tuple:1855:
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/exception:199:45: error: field has incomplete type 'exception_ptr'
      _LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {}
                                              ^
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/exception:194:24: note: definition of 'std::exception_ptr' is not complete until the closing '}'
  class _LIBCPP_TYPE_VIS exception_ptr
                         ^
  /opt/homebrew//opt/llvm/bin/../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_() {}
      ^
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/__config:659:37: note: expanded from macro '_LIBCPP_INLINE_VISIBILITY'
  #  define _LIBCPP_INLINE_VISIBILITY _LIBCPP_HIDE_FROM_ABI
                                      ^
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/__config:638:26: note: expanded from macro '_LIBCPP_HIDE_FROM_ABI'
            __attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_VERSIONED_IDENTIFIER))))
                           ^
  In file included from lib/richdem/common/random.cpp:1:
  In file included from lib/richdem/common/random.hpp:6:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/random:1689:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__random/discrete_distribution.h:18:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/numeric:176:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/functional:510:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__functional/bind.h:17:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/tuple:1855:
  /opt/homebrew//opt/llvm/bin/../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 lib/richdem/common/random.cpp:1:
  In file included from lib/richdem/common/random.hpp:6:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/random:1689:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__random/discrete_distribution.h:18:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/numeric:176:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/functional:515:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:18:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__functional/hash.h:28:
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cstring:66:5: error: <cstring> tried including <string.h> but didn't find libc++'s <string.h> 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 <cstring> tried including <string.h> but didn't find libc++'s <string.h> header. \
      ^
  fatal error: too many errors emitted, stopping now [-ferror-limit=]
  20 errors generated.
  error: command '/opt/homebrew//opt/llvm/bin/clang' failed with exit code 1
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for richdem Running setup.py clean for richdem Failed to build richdem ERROR: Could not build wheels for richdem, which is required to install pyproject.toml-based projects


Part 2

In file included from source/cpu/utils/../../common/utils/FastNoiseLite.h:54: /opt/homebrew/opt/llvm/bin/../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. \

^

/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:558:5: error: use of undeclared identifier 'promote' promote<_A1, _A2, _A3> ^ /opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:562:22: error: no template named 'promote' typedef typename promote<_A1, _A2, _A3>::type result_type; ^ /opt/homebrew/opt/llvm/bin/../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); ^~~~~~ /opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:547:46: note: candidate function inline _LIBCPP_INLINE_VISIBILITY float hypot( float x, float y, float z ) { return sqrt(x*x + y*y + z*z); } ^ /opt/homebrew/opt/llvm/bin/../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 + z__z); } ^ /opt/homebrew/opt/llvm/bin/../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 + zz); } ^ /opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:587:17: error: expected unqualified-id return std::isnan(lcpp_x); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:165:5: note: expanded from macro 'isnan' ( sizeof(x) == sizeof(float) ? inline_isnanf((float)(x)) \ ^ In file included from source/cpu/utils/FastNoiseLite.cpp:12: In file included from source/cpu/utils/../../common/utils/FastNoiseLite.h:54: /opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:607:17: error: expected unqualified-id return std::isinf(__lcpp_x); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:160:5: note: expanded from macro 'isinf' ( sizeof(x) == sizeof(float) ? inline_isinff((float)(x)) \ ^ In file included from source/cpu/utils/FastNoiseLite.cpp:12: In file included from source/cpu/utils/../../common/utils/FastNoiseLite.h:54: /opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:646:38: error: no member named 'promote' in namespace 'std' std::promote<_A1, _A2> >::type


/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:646:48: error: '_A1' does not refer to a value
                                std::__promote<_A1, _A2> >::type
                                               ^
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:643:17: note: declared here
template <class _A1, class _A2>
                ^
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:646:58: error: expected unqualified-id
                                std::__promote<_A1, _A2> >::type
                                                         ^
In file included from source/cpu/utils/FastNoiseLite.cpp:12:
In file included from source/cpu/utils/../../common/utils/FastNoiseLite.h:54:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:833:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/type_traits:421:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/invoke.h:15:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/apply_cv.h:15:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/remove_reference.h:13:
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cstddef:46:5: error: <cstddef> tried including <stddef.h> but didn't find libc++'s <stddef.h> 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 <cstddef> tried including <stddef.h> but didn't find libc++'s <stddef.h> header. \
    ^
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cstddef:59:9: error: no member named 'nullptr_t' in the global namespace
using ::nullptr_t;
      ~~^
In file included from source/cpu/utils/FastNoiseLite.cpp:12:
In file included from source/cpu/utils/../../common/utils/FastNoiseLite.h:54:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:833:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/type_traits:456:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_compound.h:14:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_fundamental.h:14:
/opt/homebrew/opt/llvm/bin/../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<nullptr_t> : public true_type {};
                                                ^
/opt/homebrew/opt/llvm/bin/../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<nullptr_t> : public true_type {};
                                                ^~~~~~~~~
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:23:17: note: template parameter is declared here
template <class _Tp> struct __is_nullptr_t_impl       : public false_type {};
                ^
In file included from source/cpu/utils/FastNoiseLite.cpp:12:
In file included from source/cpu/utils/../../common/utils/FastNoiseLite.h:54:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:833:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/type_traits:538:
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cstdint:149:5: error: <cstdint> tried including <stdint.h> but didn't find libc++'s <stdint.h> 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 <cstdint> tried including <stdint.h> but didn't find libc++'s <stdint.h> header. \
    ^
181 warnings and 14 errors generated.

--------------------

# Part 3

compile options: '-I/Volumes/T7/infinigen/infinigen/Blender.app/Contents/Resources/3.3/python/include/python3.10 -c'
extra options: '-march=armv8.2-a+fp16+fp16fml -Werror-implicit-function-declaration -Werror'
CCompilerOpt.dist_test[581] : CCompilerOpt._dist_test_spawn[716] : Command (/opt/homebrew//opt/llvm/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=11.00 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=11.00 -arch arm64 -I/opt/homebrew/opt/openssl/include -I/opt/homebrew/opt/openssl/include -I/Volumes/T7/infinigen/infinigen/Blender.app/Contents/Resources/3.3/python/include/python3.10 -c /Volumes/T7/infinigen/infinigen/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.c -o /var/folders/d_/nzzjg9_927q5xyy71xlchkcc0000gn/T/tmpxld4e070/Volumes/T7/infinigen/infinigen/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.o -MMD -MF /var/folders/d_/nzzjg9_927q5xyy71xlchkcc0000gn/T/tmpxld4e070/Volumes/T7/infinigen/infinigen/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.o.d -march=armv8.2-a+fp16+fp16fml -Werror-implicit-function-declaration -Werror) failed with exit status 1 output -> 
/Volumes/T7/infinigen/infinigen/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.c:13:35: error: call to undeclared function 'vfmlal_low_u32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    int ret  = (int)vget_lane_f32(vfmlal_low_u32(vlf, vlhp, vlhp), 0);
                                  ^
/Volumes/T7/infinigen/infinigen/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.c:13:35: note: did you mean 'vfmlal_low_f16'?
/opt/homebrew/Cellar/llvm/16.0.6/lib/clang/16/include/arm_neon.h:63468:53: note: 'vfmlal_low_f16' declared here
__ai __attribute__((target("fp16fml"))) float32x2_t vfmlal_low_f16(float32x2_t __p0, float16x4_t __p1, float16x4_t __p2) {
                                                    ^
/Volumes/T7/infinigen/infinigen/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.c:13:21: error: initializing 'float32x2_t' (vector of 2 'float32_t' values) with an expression of incompatible type 'int'
    int ret  = (int)vget_lane_f32(vfmlal_low_u32(vlf, vlhp, vlhp), 0);
                    ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/homebrew/Cellar/llvm/16.0.6/lib/clang/16/include/arm_neon.h:8008:15: note: expanded from macro 'vget_lane_f32'
  float32x2_t __s0 = __p0; \
              ^      ~~~~
/Volumes/T7/infinigen/infinigen/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.c:14:36: error: call to undeclared function 'vfmlslq_high_u32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        ret += (int)vgetq_lane_f32(vfmlslq_high_u32(vf, vhp, vhp), 0);
                                   ^
/Volumes/T7/infinigen/infinigen/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.c:14:36: note: did you mean 'vmlsl_high_u32'?
/opt/homebrew/Cellar/llvm/16.0.6/lib/clang/16/include/arm_neon.h:68854:17: note: 'vmlsl_high_u32' declared here
__ai uint64x2_t vmlsl_high_u32(uint64x2_t __p0, uint32x4_t __p1, uint32x4_t __p2) {
                ^
/Volumes/T7/infinigen/infinigen/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.c:14:21: error: initializing 'float32x4_t' (vector of 4 'float32_t' values) with an expression of incompatible type 'int'
        ret += (int)vgetq_lane_f32(vfmlslq_high_u32(vf, vhp, vhp), 0);
                    ^              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/homebrew/Cellar/llvm/16.0.6/lib/clang/16/include/arm_neon.h:7818:15: note: expanded from macro 'vgetq_lane_f32'
  float32x4_t __s0 = __p0; \
              ^      ~~~~
4 errors generated.

CCompilerOpt.feature_test[1482] : testing failed

Regards
anutosh491 commented 9 months ago

cc @jgranie did you recognize what was the reason behind this error you raised above https://github.com/princeton-vl/infinigen/issues/21#issuecomment-1604434973

YoneChen commented 6 months ago

same issue~~have you solved it?

error: command '/usr/bin/gcc' failed with exit code 1 error: subprocess-exited-with-error

× Building editable for infinigen (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> See above for output.

Hello, I have the exact same issue on mac m1 macOs Ventura 13.4 commit 2c818e2 (HEAD -> main, origin/main, origin/HEAD)

My install log errors extract (do you want me to fill in your bug form and the full log ?):

Part 1

error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [186 lines of output] Using RichDEM hash=Unknown, time=Unknown /Users/jean/miniconda/envs/infinigen/lib/python3.10/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options !!

          ********************************************************************************
          Usage of dash-separated 'description-file' will not be supported in future
          versions. Please use the underscore name 'description_file' instead.

          By 2023-Sep-26, you need to update your project and remove deprecated calls
          or your builds will no longer be supported.

          See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
          ********************************************************************************

  !!
    opt = self.warn_dash_deprecation(opt, section)
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-11.1-arm64-cpython-310
  creating build/lib.macosx-11.1-arm64-cpython-310/richdem
  copying richdem/__init__.py -> build/lib.macosx-11.1-arm64-cpython-310/richdem
  copying richdem/cli.py -> build/lib.macosx-11.1-arm64-cpython-310/richdem
  running build_ext
  COMPILER unix
  COMPILER ARGUMENTS ['-std=c++11', '-g', '-fvisibility=hidden', '-O3', '-Wno-unknown-pragmas']
  building '_richdem' extension
  creating build/temp.macosx-11.1-arm64-cpython-310
  creating build/temp.macosx-11.1-arm64-cpython-310/lib
  creating build/temp.macosx-11.1-arm64-cpython-310/lib/richdem
  creating build/temp.macosx-11.1-arm64-cpython-310/lib/richdem/common
  creating build/temp.macosx-11.1-arm64-cpython-310/src
  /opt/homebrew//opt/llvm/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/jean/miniconda/envs/infinigen/include -arch arm64 -fPIC -O2 -isystem /Users/jean/miniconda/envs/infinigen/include -arch arm64 -I/opt/homebrew/opt/openssl/include -I/opt/homebrew/opt/openssl/include -DDOCTEST_CONFIG_DISABLE -DRICHDEM_COMPILE_TIME=\"\\\"Unknown\\\"\" -DRICHDEM_GIT_HASH=\"\\\"Unknown\\\"\" -DRICHDEM_LOGGING -D_USE_MATH_DEFINES -Ilib/ -I/Users/jean/miniconda/envs/infinigen/include/python3.10 -c lib/richdem/common/random.cpp -o build/temp.macosx-11.1-arm64-cpython-310/lib/richdem/common/random.o -std=c++11 -g -fvisibility=hidden -O3 -Wno-unknown-pragmas
  In file included from lib/richdem/common/random.cpp:1:
  In file included from lib/richdem/common/random.hpp:6:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/random:1682:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__random/bernoulli_distribution.h:13:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__random/is_valid.h:13:
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cstdint:149:5: error: <cstdint> tried including <stdint.h> but didn't find libc++'s <stdint.h> 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 <cstdint> tried including <stdint.h> but didn't find libc++'s <stdint.h> header. \
      ^
  In file included from lib/richdem/common/random.cpp:1:
  In file included from lib/richdem/common/random.hpp:6:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/random:1682:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__random/bernoulli_distribution.h:13:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__random/is_valid.h:14:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/type_traits:421:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__functional/invoke.h:15:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__type_traits/apply_cv.h:15:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__type_traits/remove_reference.h:13:
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cstddef:46:5: error: <cstddef> tried including <stddef.h> but didn't find libc++'s <stddef.h> 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 <cstddef> tried including <stddef.h> but didn't find libc++'s <stddef.h> header. \
      ^
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cstddef:59:9: error: no member named 'nullptr_t' in the global namespace
  using ::nullptr_t;
        ~~^
  In file included from lib/richdem/common/random.cpp:1:
  In file included from lib/richdem/common/random.hpp:6:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/random:1682:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__random/bernoulli_distribution.h:13:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__random/is_valid.h:14:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/type_traits:456:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__type_traits/is_compound.h:14:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__type_traits/is_fundamental.h:14:
  /opt/homebrew//opt/llvm/bin/../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<nullptr_t> : public true_type {};
                                                  ^
  /opt/homebrew//opt/llvm/bin/../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<nullptr_t> : public true_type {};
                                                  ^~~~~~~~~
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:23:17: note: template parameter is declared here
  template <class _Tp> struct __is_nullptr_t_impl       : public false_type {};
                  ^
  In file included from lib/richdem/common/random.cpp:1:
  In file included from lib/richdem/common/random.hpp:6:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/random:1683:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__random/binomial_distribution.h:15:
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cmath:320:5: error: <cmath> tried including <math.h> but didn't find libc++'s <math.h> 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 <cmath> tried including <math.h> but didn't find libc++'s <math.h> header. \
      ^
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cmath:587:17: error: expected unqualified-id
      return std::isnan(__lcpp_x);
                  ^
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:165:5: note: expanded from macro 'isnan'
      ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \
      ^
  In file included from lib/richdem/common/random.cpp:1:
  In file included from lib/richdem/common/random.hpp:6:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/random:1683:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__random/binomial_distribution.h:15:
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cmath:585:1: error: no return statement in constexpr function
  __constexpr_isnan(_A1 __lcpp_x) _NOEXCEPT
  ^
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cmath:607:17: error: expected unqualified-id
      return std::isinf(__lcpp_x);
                  ^
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:160:5: note: expanded from macro 'isinf'
      ( sizeof(x) == sizeof(float)  ? __inline_isinff((float)(x))          \
      ^
  In file included from lib/richdem/common/random.cpp:1:
  In file included from lib/richdem/common/random.hpp:6:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/random:1683:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__random/binomial_distribution.h:15:
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cmath:605:1: error: no return statement in constexpr function
  __constexpr_isinf(_A1 __lcpp_x) _NOEXCEPT
  ^
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cmath:646:38: error: no member named '__promote' in namespace 'std'
                                  std::__promote<_A1, _A2> >::type
                                  ~~~~~^
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cmath:646:48: error: '_A1' does not refer to a value
                                  std::__promote<_A1, _A2> >::type
                                                 ^
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cmath:643:17: note: declared here
  template <class _A1, class _A2>
                  ^
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cmath:646:58: error: expected unqualified-id
                                  std::__promote<_A1, _A2> >::type
                                                           ^
  In file included from lib/richdem/common/random.cpp:1:
  In file included from lib/richdem/common/random.hpp:6:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/random:1689:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__random/discrete_distribution.h:12:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__algorithm/upper_bound.h:14:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__algorithm/iterator_operations.h:15:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__iterator/advance.h:26:
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cstdlib:90:5: error: <cstdlib> tried including <stdlib.h> but didn't find libc++'s <stdlib.h> 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 <cstdlib> tried including <stdlib.h> but didn't find libc++'s <stdlib.h> header. \
      ^
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cstdlib:132:9: error: target of using declaration conflicts with declaration already in scope
  using ::abs _LIBCPP_USING_IF_EXISTS;
          ^
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:132:6: note: target of using declaration
  int      abs(int) __pure2;
           ^
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cmath:353:1: note: conflicting declaration
  using ::abs _LIBCPP_USING_IF_EXISTS;
  ^
  In file included from lib/richdem/common/random.cpp:1:
  In file included from lib/richdem/common/random.hpp:6:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/random:1689:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__random/discrete_distribution.h:18:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/numeric:176:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/functional:510:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__functional/bind.h:17:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/tuple:1855:
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/exception:199:45: error: field has incomplete type 'exception_ptr'
      _LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {}
                                              ^
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/exception:194:24: note: definition of 'std::exception_ptr' is not complete until the closing '}'
  class _LIBCPP_TYPE_VIS exception_ptr
                         ^
  /opt/homebrew//opt/llvm/bin/../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_() {}
      ^
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/__config:659:37: note: expanded from macro '_LIBCPP_INLINE_VISIBILITY'
  #  define _LIBCPP_INLINE_VISIBILITY _LIBCPP_HIDE_FROM_ABI
                                      ^
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/__config:638:26: note: expanded from macro '_LIBCPP_HIDE_FROM_ABI'
            __attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_VERSIONED_IDENTIFIER))))
                           ^
  In file included from lib/richdem/common/random.cpp:1:
  In file included from lib/richdem/common/random.hpp:6:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/random:1689:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__random/discrete_distribution.h:18:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/numeric:176:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/functional:510:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__functional/bind.h:17:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/tuple:1855:
  /opt/homebrew//opt/llvm/bin/../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 lib/richdem/common/random.cpp:1:
  In file included from lib/richdem/common/random.hpp:6:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/random:1689:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__random/discrete_distribution.h:18:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/numeric:176:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/functional:515:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:18:
  In file included from /opt/homebrew//opt/llvm/bin/../include/c++/v1/__functional/hash.h:28:
  /opt/homebrew//opt/llvm/bin/../include/c++/v1/cstring:66:5: error: <cstring> tried including <string.h> but didn't find libc++'s <string.h> 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 <cstring> tried including <string.h> but didn't find libc++'s <string.h> header. \
      ^
  fatal error: too many errors emitted, stopping now [-ferror-limit=]
  20 errors generated.
  error: command '/opt/homebrew//opt/llvm/bin/clang' failed with exit code 1
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for richdem Running setup.py clean for richdem Failed to build richdem ERROR: Could not build wheels for richdem, which is required to install pyproject.toml-based projects

Part 2

In file included from source/cpu/utils/../../common/utils/FastNoiseLite.h:54: /opt/homebrew/opt/llvm/bin/../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. \

^

/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:558:5: error: use of undeclared identifier 'promote' promote<_A1, _A2, _A3> ^ /opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:562:22: error: no template named 'promote' typedef typename promote<_A1, _A2, _A3>::type result_type; ^ /opt/homebrew/opt/llvm/bin/../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); ^~~~~~ /opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:547:46: note: candidate function inline _LIBCPP_INLINE_VISIBILITY float hypot( float x, float y, float z ) { return sqrt(x*x + y*y + z*z); } ^ /opt/homebrew/opt/llvm/bin/../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 + z__z); } ^ /opt/homebrew/opt/llvm/bin/../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 + zz); } ^ /opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:587:17: error: expected unqualified-id return std::isnan(lcpp_x); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:165:5: note: expanded from macro 'isnan' ( sizeof(x) == sizeof(float) ? inline_isnanf((float)(x)) ^ In file included from source/cpu/utils/FastNoiseLite.cpp:12: In file included from source/cpu/utils/../../common/utils/FastNoiseLite.h:54: /opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:607:17: error: expected unqualified-id return std::isinf(__lcpp_x); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:160:5: note: expanded from macro 'isinf' ( sizeof(x) == sizeof(float) ? inline_isinff((float)(x)) ^ In file included from source/cpu/utils/FastNoiseLite.cpp:12: In file included from source/cpu/utils/../../common/utils/FastNoiseLite.h:54: /opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:646:38: error: no member named 'promote' in namespace 'std' std::promote<_A1, _A2> >::type ~^ /opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:646:48: error: '_A1' does not refer to a value std::promote<_A1, _A2> >::type ^ /opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:643:17: note: declared here template <class _A1, class _A2> ^ /opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:646:58: error: expected unqualified-id std::promote<_A1, _A2> >::type ^ In file included from source/cpu/utils/FastNoiseLite.cpp:12: In file included from source/cpu/utils/../../common/utils/FastNoiseLite.h:54: In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:833: In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/type_traits:421: In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/functional/invoke.h:15: In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/type_traits/apply_cv.h:15: In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/remove_reference.h:13: /opt/homebrew/opt/llvm/bin/../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. \

^

/opt/homebrew/opt/llvm/bin/../include/c++/v1/cstddef:59:9: error: no member named 'nullptr_t' in the global namespace using ::nullptr_t; ^ In file included from source/cpu/utils/FastNoiseLite.cpp:12: In file included from source/cpu/utils/../../common/utils/FastNoiseLite.h:54: In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:833: In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/type_traits:456: In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/type_traits/is_compound.h:14: In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/type_traits/is_fundamental.h:14: /opt/homebrew/opt/llvm/bin/../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 {}; ^ /opt/homebrew/opt/llvm/bin/../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 {}; ^~~ /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:23:17: note: template parameter is declared here template struct __is_nullptr_t_impl : public false_type {}; ^ In file included from source/cpu/utils/FastNoiseLite.cpp:12: In file included from source/cpu/utils/../../common/utils/FastNoiseLite.h:54: In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:833: In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/type_traits:538: /opt/homebrew/opt/llvm/bin/../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. \

^

181 warnings and 14 errors generated.

Part 3

compile options: '-I/Volumes/T7/infinigen/infinigen/Blender.app/Contents/Resources/3.3/python/include/python3.10 -c' extra options: '-march=armv8.2-a+fp16+fp16fml -Werror-implicit-function-declaration -Werror' CCompilerOpt.dist_test[581] : CCompilerOpt._dist_test_spawn[716] : Command (/opt/homebrew//opt/llvm/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=11.00 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=11.00 -arch arm64 -I/opt/homebrew/opt/openssl/include -I/opt/homebrew/opt/openssl/include -I/Volumes/T7/infinigen/infinigen/Blender.app/Contents/Resources/3.3/python/include/python3.10 -c /Volumes/T7/infinigen/infinigen/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/numpy/distutils/checks/cpuasimdfhm.c -o /var/folders/d/nzzjg9_927q5xyy71xlchkcc0000gn/T/tmpxld4e070/Volumes/T7/infinigen/infinigen/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/numpy/distutils/checks/cpuasimdfhm.o -MMD -MF /var/folders/d/nzzjg9_927q5xyy71xlchkcc0000gn/T/tmpxld4e070/Volumes/T7/infinigen/infinigen/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.o.d -march=armv8.2-a+fp16+fp16fml -Werror-implicit-function-declaration -Werror) failed with exit status 1 output -> /Volumes/T7/infinigen/infinigen/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.c:13:35: error: call to undeclared function 'vfmlal_low_u32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] int ret = (int)vget_lane_f32(vfmlal_low_u32(vlf, vlhp, vlhp), 0); ^ /Volumes/T7/infinigen/infinigen/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.c:13:35: note: did you mean 'vfmlal_low_f16'? /opt/homebrew/Cellar/llvm/16.0.6/lib/clang/16/include/arm_neon.h:63468:53: note: 'vfmlal_low_f16' declared here ai attribute((target("fp16fml"))) float32x2_t vfmlal_low_f16(float32x2_t p0, float16x4_t p1, float16x4_t __p2) { ^ /Volumes/T7/infinigen/infinigen/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.c:13:21: error: initializing 'float32x2_t' (vector of 2 'float32_t' values) with an expression of incompatible type 'int' int ret = (int)vget_lane_f32(vfmlal_low_u32(vlf, vlhp, vlhp), 0); ^ ~~~~~~~ /opt/homebrew/Cellar/llvm/16.0.6/lib/clang/16/include/arm_neon.h:8008:15: note: expanded from macro 'vget_lane_f32' float32x2_t s0 = p0; ^ ~~~~ /Volumes/T7/infinigen/infinigen/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.c:14:36: error: call to undeclared function 'vfmlslq_high_u32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ret += (int)vgetq_lane_f32(vfmlslq_high_u32(vf, vhp, vhp), 0); ^ /Volumes/T7/infinigen/infinigen/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.c:14:36: note: did you mean 'vmlsl_high_u32'? /opt/homebrew/Cellar/llvm/16.0.6/lib/clang/16/include/arm_neon.h:68854:17: note: 'vmlsl_high_u32' declared here ai uint64x2_t vmlsl_high_u32(uint64x2_t p0, uint32x4_t p1, uint32x4_t __p2) { ^ /Volumes/T7/infinigen/infinigen/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.c:14:21: error: initializing 'float32x4_t' (vector of 4 'float32_t' values) with an expression of incompatible type 'int' ret += (int)vgetq_lane_f32(vfmlslq_high_u32(vf, vhp, vhp), 0); ^ ~~~~~~ /opt/homebrew/Cellar/llvm/16.0.6/lib/clang/16/include/arm_neon.h:7818:15: note: expanded from macro 'vgetq_lane_f32' float32x4_t s0 = p0; ^ ~~~~ 4 errors generated.

CCompilerOpt.feature_test[1482] : testing failed

Regards