princeton-vl / infinigen

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

Error building (bash install.sh) #19

Closed 9SL9 closed 1 year ago

9SL9 commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

M1 MacBook Air, 16GB, Ventura

error building: ld: warning: directory not found for option '-L/Users/brecht/dev/build_darwin/deps/Release/ffi/lib' ld: warning: directory not found for option '-L/Users/brecht/dev/build_darwin/deps/Release/sqlite/lib' ld: warning: directory not found for option '-L/Users/brecht/dev/build_darwin/deps/Release/bzip2/lib' ld: warning: directory not found for option '-L/Users/brecht/dev/build_darwin/deps/Release/lzma/lib' ld: warning: directory not found for option '-L/Users/brecht/dev/build_darwin/deps/Release/zlib/lib' ld: library not found for -lSystem clang-16: error: linker command failed with exit code 1 (use -v to see invocation) error: command '/opt/homebrew//opt/llvm/bin/clang' failed with exit code 1

Steps to Reproduce

(If this is your first time running Infinigen) What are the full output logs of install.sh ? ld: warning: directory not found for option '-L/Users/brecht/dev/build_darwin/deps/Release/ffi/lib' ld: warning: directory not found for option '-L/Users/brecht/dev/build_darwin/deps/Release/sqlite/lib' ld: warning: directory not found for option '-L/Users/brecht/dev/build_darwin/deps/Release/bzip2/lib' ld: warning: directory not found for option '-L/Users/brecht/dev/build_darwin/deps/Release/lzma/lib' ld: warning: directory not found for option '-L/Users/brecht/dev/build_darwin/deps/Release/zlib/lib' ld: library not found for -lSystem clang-16: error: linker command failed with exit code 1 (use -v to see invocation) error: command '/opt/homebrew//opt/llvm/bin/clang' failed with exit code 1

Platform

Additional context MacBook Air M1

araistrick commented 1 year ago

Can you check if the logs mention any missing h. files? Usually these directory not found errors are not fatal (they are from some dependency, not our code, must have been left in by the developer of somepackage).

Like same issue as #17 , see instructions there

9SL9 commented 1 year ago

Yes there are a couple:

c-blosc/blosc/blosc-common.h:13:10: fatal error: 'string.h' file not found source/cpu/utils/FastNoiseLite.cpp:7:10: fatal error: 'assert.h' file not found

I've attached the full log infinigen log.txt

9SL9 commented 1 year ago

Can you check if the logs mention any missing h. files? Usually these directory not found errors are not fatal (they are from some dependency, not our code, must have been left in by the developer of somepackage).

Like same issue as #17 , see instructions there

I had a quick look a the instructions there. I'll think I'll wait for the fix as I can't uninstall Xcode tools and home brew ATM. Thanks for the quick response! Looking forward to testing this out.

9SL9 commented 1 year ago

xcode-select --install fixed this issue for me.

Jenner4S commented 1 year ago

skipping cuda compiled lib/cpu/utils/FastNoiseLite.so In file included from source/cpu/elements/voronoi_rocks.cpp:7: source/cpu/elements/header.h:14:10: fatal error: '../../../../infinigen_gpl/bnodes/utils/nodes_util.h' file not found

include "../../../../infinigen_gpl/bnodes/utils/nodes_util.h"

     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 error generated. running build_ext running build_src build_src building extension "marching_cubes._marching_cubes_lewiner_cy" sources build_src: building npy-pkg config files /Users/Jenner/Desktop/TempProject/AIGC/infinigen/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( customize UnixCCompiler customize UnixCCompiler using build_ext CCompilerOpt.cc_test_flags[1013] : testing flags (-march=native) C compiler: /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 /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64

creating /var/folders/cz/yx1x1hrx5y71w6qphcgdg_lh0000gn/T/tmpw_32l6t2/Users creating /var/folders/cz/yx1x1hrx5y71w6qphcgdg_lh0000gn/T/tmpw_32l6t2/Users/Jenner creating /var/folders/cz/yx1x1hrx5y71w6qphcgdg_lh0000gn/T/tmpw_32l6t2/Users/Jenner/Desktop creating /var/folders/cz/yx1x1hrx5y71w6qphcgdg_lh0000gn/T/tmpw_32l6t2/Users/Jenner/Desktop/TempProject creating /var/folders/cz/yx1x1hrx5y71w6qphcgdg_lh0000gn/T/tmpw_32l6t2/Users/Jenner/Desktop/TempProject/AIGC creating /var/folders/cz/yx1x1hrx5y71w6qphcgdg_lh0000gn/T/tmpw_32l6t2/Users/Jenner/Desktop/TempProject/AIGC/infinigen creating /var/folders/cz/yx1x1hrx5y71w6qphcgdg_lh0000gn/T/tmpw_32l6t2/Users/Jenner/Desktop/TempProject/AIGC/infinigen/Blender.app creating /var/folders/cz/yx1x1hrx5y71w6qphcgdg_lh0000gn/T/tmpw_32l6t2/Users/Jenner/Desktop/TempProject/AIGC/infinigen/Blender.app/Contents creating /var/folders/cz/yx1x1hrx5y71w6qphcgdg_lh0000gn/T/tmpw_32l6t2/Users/Jenner/Desktop/TempProject/AIGC/infinigen/Blender.app/Contents/Resources creating /var/folders/cz/yx1x1hrx5y71w6qphcgdg_lh0000gn/T/tmpw_32l6t2/Users/Jenner/Desktop/TempProject/AIGC/infinigen/Blender.app/Contents/Resources/3.6 creating /var/folders/cz/yx1x1hrx5y71w6qphcgdg_lh0000gn/T/tmpw_32l6t2/Users/Jenner/Desktop/TempProject/AIGC/infinigen/Blender.app/Contents/Resources/3.6/python creating /var/folders/cz/yx1x1hrx5y71w6qphcgdg_lh0000gn/T/tmpw_32l6t2/Users/Jenner/Desktop/TempProject/AIGC/infinigen/Blender.app/Contents/Resources/3.6/python/lib creating /var/folders/cz/yx1x1hrx5y71w6qphcgdg_lh0000gn/T/tmpw_32l6t2/Users/Jenner/Desktop/TempProject/AIGC/infinigen/Blender.app/Contents/Resources/3.6/python/lib/python3.10 creating /var/folders/cz/yx1x1hrx5y71w6qphcgdg_lh0000gn/T/tmpw_32l6t2/Users/Jenner/Desktop/TempProject/AIGC/infinigen/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages creating /var/folders/cz/yx1x1hrx5y71w6qphcgdg_lh0000gn/T/tmpw_32l6t2/Users/Jenner/Desktop/TempProject/AIGC/infinigen/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy creating /var/folders/cz/yx1x1hrx5y71w6qphcgdg_lh0000gn/T/tmpw_32l6t2/Users/Jenner/Desktop/TempProject/AIGC/infinigen/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/distutils creating /var/folders/cz/yx1x1hrx5y71w6qphcgdg_lh0000gn/T/tmpw_32l6t2/Users/Jenner/Desktop/TempProject/AIGC/infinigen/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/distutils/checks compile options: '-I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -c' extra options: '-march=native' CCompilerOpt.cc_test_flags[1013] : testing flags (-O3) C compiler: /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 /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64

compile options: '-I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -c' extra options: '-O3' CCompilerOpt.cc_test_flags[1013] : testing flags (-Werror-implicit-function-declaration) C compiler: /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 /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64

compile options: '-I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -c' extra options: '-Werror-implicit-function-declaration' CCompilerOpt.cc_test_flags[1013] : testing flags (-Werror) C compiler: /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 /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64

compile options: '-I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -c' extra options: '-Werror' CCompilerOpt.init[1701] : check requested baseline CCompilerOpt.feature_test[1466] : testing feature 'NEON_FP16' with flags () C compiler: /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 /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64

compile options: '-I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -c' extra options: '-Werror-implicit-function-declaration -Werror' CCompilerOpt.feature_test[1466] : testing feature 'NEON_VFPV4' with flags () C compiler: /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 /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64

compile options: '-I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -c' extra options: '-Werror-implicit-function-declaration -Werror' CCompilerOpt.feature_test[1466] : testing feature 'ASIMD' with flags () C compiler: /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 /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64

compile options: '-I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -c' extra options: '-Werror-implicit-function-declaration -Werror' CCompilerOpt.feature_test[1466] : testing feature 'NEON' with flags () C compiler: /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 /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64

compile options: '-I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -c' extra options: '-Werror-implicit-function-declaration -Werror' CCompilerOpt.init[1710] : check requested dispatch-able features CCompilerOpt.cc_test_flags[1013] : testing flags (-march=armv8.2-a+dotprod) C compiler: /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 /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64

compile options: '-I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -c' extra options: '-march=armv8.2-a+dotprod' CCompilerOpt.feature_test[1466] : testing feature 'ASIMDDP' with flags (-march=armv8.2-a+dotprod) C compiler: /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 /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64

compile options: '-I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -c' extra options: '-march=armv8.2-a+dotprod -Werror-implicit-function-declaration -Werror' CCompilerOpt.cc_test_flags[1013] : testing flags (-march=armv8.2-a+fp16) C compiler: /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 /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64

compile options: '-I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -c' extra options: '-march=armv8.2-a+fp16' CCompilerOpt.feature_test[1466] : testing feature 'ASIMDHP' with flags (-march=armv8.2-a+fp16) C compiler: /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 /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64

compile options: '-I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -c' extra options: '-march=armv8.2-a+fp16 -Werror-implicit-function-declaration -Werror' CCompilerOpt.cc_test_flags[1013] : testing flags (-march=armv8.2-a+fp16fml) C compiler: /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 /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64

compile options: '-I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -c' extra options: '-march=armv8.2-a+fp16fml' CCompilerOpt.feature_test[1466] : testing feature 'ASIMDFHM' with flags (-march=armv8.2-a+fp16+fp16fml) C compiler: /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 /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64

compile options: '-I/Users/brecht/dev/build_darwin/deps/Release/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 /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64 -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -c /Users/Jenner/Desktop/TempProject/AIGC/infinigen/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.c -o /var/folders/cz/yx1x1hrx5y71w6qphcgdg_lh0000gn/T/tmpw_32l6t2/Users/Jenner/Desktop/TempProject/AIGC/infinigen/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/distutils/checks/cpu_asimdfhm.o -MMD -MF /var/folders/cz/yx1x1hrx5y71w6qphcgdg_lh0000gn/T/tmpw_32l6t2/Users/Jenner/Desktop/TempProject/AIGC/infinigen/Blender.app/Contents/Resources/3.6/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 -> /Users/Jenner/Desktop/TempProject/AIGC/infinigen/Blender.app/Contents/Resources/3.6/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); ^ /Users/Jenner/Desktop/TempProject/AIGC/infinigen/Blender.app/Contents/Resources/3.6/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.5/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) { ^ /Users/Jenner/Desktop/TempProject/AIGC/infinigen/Blender.app/Contents/Resources/3.6/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.5/lib/clang/16/include/arm_neon.h:8008:15: note: expanded from macro 'vget_lane_f32' float32x2_t s0 = p0; \ ^ ~~~~ /Users/Jenner/Desktop/TempProject/AIGC/infinigen/Blender.app/Contents/Resources/3.6/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); ^ /Users/Jenner/Desktop/TempProject/AIGC/infinigen/Blender.app/Contents/Resources/3.6/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.5/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) { ^ /Users/Jenner/Desktop/TempProject/AIGC/infinigen/Blender.app/Contents/Resources/3.6/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.5/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 CCompilerOpt.init[1722] : skip features (NEON NEON_FP16 NEON_VFPV4 ASIMD) since its part of baseline CCompilerOpt.init[1726] : initialize targets groups CCompilerOpt.init[1728] : parse target group simd_test CCompilerOpt._parse_target_tokens[1939] : skip targets ((AVX2 FMA3) VSX2 FMA4 AVX512_SKX VSX3 SSE42 XOP VSX AVX512F SSE2) not part of baseline or dispatch-able features CCompilerOpt._parse_policy_not_keepbase[2051] : skip baseline features (ASIMD) CCompilerOpt.generate_dispatch_header[2272] : generate CPU dispatch header: (build/src.macosx-11.00-arm64-3.10/numpy/distutils/include/npy_cpu_dispatch_config.h) CCompilerOpt.generate_dispatch_header[2281] : dispatch header dir build/src.macosx-11.00-arm64-3.10/numpy/distutils/include does not exist, creating it building 'marching_cubes._marching_cubes_lewiner_cy' extension compiling C sources C compiler: /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 /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64

creating build/temp.macosx-11.00-arm64-cpython-310/marching_cubes compile options: '-I/Users/Jenner/Desktop/TempProject/AIGC/infinigen/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/Users/Jenner/Desktop/TempProject/AIGC/infinigen/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -Ibuild/src.macosx-11.00-arm64-3.10/numpy/distutils/include -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -c' clang: ./marching_cubes/_marching_cubes_lewiner_cy.c ./marching_cubes/_marching_cubes_lewiner_cy.c:19:10: fatal error: 'Python.h' file not found

include "Python.h"

     ^~~~~~~~~~

1 error generated. error: 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 /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64 -I/Users/Jenner/Desktop/TempProject/AIGC/infinigen/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/Users/Jenner/Desktop/TempProject/AIGC/infinigen/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -Ibuild/src.macosx-11.00-arm64-3.10/numpy/distutils/include -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -c ./marching_cubes/_marching_cubes_lewiner_cy.c -o build/temp.macosx-11.00-arm64-cpython-310/marching_cubes/_marching_cubes_lewiner_cy.o -MMD -MF build/temp.macosx-11.00-arm64-cpython-310/marching_cubes/_marching_cubes_lewiner_cy.o.d" failed with exit status 1

########### EXT COMPILER OPTIMIZATION ########### Platform : Architecture: aarch64 Compiler : clang

CPU baseline : Requested : 'min' Enabled : NEON NEON_FP16 NEON_VFPV4 ASIMD Flags : none Extra checks: none

CPU dispatch : Requested : 'max -xop -fma4' Enabled : ASIMDHP ASIMDDP Generated : none CCompilerOpt.cache_flush[809] : write cache to path -> /Users/Jenner/Desktop/TempProject/AIGC/infinigen/worldgen/terrain/build/temp.macosx-11.00-arm64-cpython-310/ccompiler_opt_cache_ext.py /Users/Jenner/Desktop/TempProject/AIGC/infinigen running build_ext building 'bnurbs' extension creating build creating build/temp.macosx-11.00-arm64-cpython-310 /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 /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=11.00 -arch arm64 -I/Users/Jenner/Desktop/TempProject/AIGC/infinigen/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -c bnurbs.c -o build/temp.macosx-11.00-arm64-cpython-310/bnurbs.o bnurbs.c:31:10: fatal error: 'Python.h' file not found

include "Python.h"

     ^~~~~~~~~~

1 error generated. error: command '/opt/homebrew//opt/llvm/bin/clang' failed with exit code 1 /Users/Jenner/Desktop/TempProject/AIGC/infinigen

keithahern commented 1 year ago

I got past this on macOS Sonoma with:

export CPLUS_INCLUDE_PATH=/usr/local/opt/llvm/include/c++/v1:/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include

export LIBRARY_PATH=$LIBRARY_PATH:/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/lib