PotreeConverter icon indicating copy to clipboard operation
PotreeConverter copied to clipboard

mac安装PotreeConverter错误

Open raymondwm opened this issue 6 months ago • 1 comments

make [ 58%] Built target brotlicommon-static [ 58%] Built target brotlienc-static [ 58%] Built target laszip [ 58%] Built target brotlidec-static [ 58%] Building CXX object CMakeFiles/PotreeConverter.dir/Converter/src/chunker_countsort_laszip.cpp.o In file included from /Users/rawang/pythonProject/PotreeConverter/./Converter/include/Attributes.h:10, from /Users/rawang/pythonProject/PotreeConverter/./Converter/include/chunker_countsort_laszip.h:8, from /Users/rawang/pythonProject/PotreeConverter/Converter/src/chunker_countsort_laszip.cpp:10: /Users/rawang/pythonProject/PotreeConverter/./Converter/modules/unsuck/unsuck.hpp: In function 'std::vector readBinaryFile(std::string, uint64_t, uint64_t)': /Users/rawang/pythonProject/PotreeConverter/./Converter/modules/unsuck/unsuck.hpp:435:17: error: 'fseek_64_all_platforms' was not declared in this scope 435 | fseek_64_all_platforms(file, start, SEEK_SET); | ^~~~~~~~~~~~~~~~~~~~~~ /Users/rawang/pythonProject/PotreeConverter/./Converter/modules/unsuck/unsuck.hpp:444:17: error: 'fseek_64_all_platforms' was not declared in this scope 444 | fseek_64_all_platforms(file, start, SEEK_SET); | ^~~~~~~~~~~~~~~~~~~~~~ /Users/rawang/pythonProject/PotreeConverter/./Converter/modules/unsuck/unsuck.hpp: In function 'void readBinaryFile(std::string, uint64_t, uint64_t, void*)': /Users/rawang/pythonProject/PotreeConverter/./Converter/modules/unsuck/unsuck.hpp:462:17: error: 'fseek_64_all_platforms' was not declared in this scope 462 | fseek_64_all_platforms(file, start, SEEK_SET); | ^~~~~~~~~~~~~~~~~~~~~~ /Users/rawang/pythonProject/PotreeConverter/./Converter/modules/unsuck/unsuck.hpp:466:17: error: 'fseek_64_all_platforms' was not declared in this scope 466 | fseek_64_all_platforms(file, start, SEEK_SET); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /Users/rawang/pythonProject/PotreeConverter/Converter/src/chunker_countsort_laszip.cpp:19: /Users/rawang/pythonProject/PotreeConverter/./Converter/libs/json/json.hpp: In static member function 'static CharType nlohmann::detail::binary_writer<BasicJsonType, CharType>::to_char_type(uint8_t)': /Users/rawang/pythonProject/PotreeConverter/./Converter/libs/json/json.hpp:12595:28: warning: 'template<class _Tp> struct std::is_pod' is deprecated: use 'is_standard_layout && is_trivial' instead [-Wdeprecated-declarations] 12595 | static_assert(std::is_pod<CharType>::value, "CharType must be POD"); | ^~~~~~ In file included from /opt/homebrew/Cellar/gcc/14.1.0_2/include/c++/14/bits/move.h:37, from /opt/homebrew/Cellar/gcc/14.1.0_2/include/c++/14/bits/exception_ptr.h:41, from /opt/homebrew/Cellar/gcc/14.1.0_2/include/c++/14/exception:166, from /opt/homebrew/Cellar/gcc/14.1.0_2/include/c++/14/ios:41, from /opt/homebrew/Cellar/gcc/14.1.0_2/include/c++/14/ostream:40, from /opt/homebrew/Cellar/gcc/14.1.0_2/include/c++/14/iostream:41, from /Users/rawang/pythonProject/PotreeConverter/Converter/src/chunker_countsort_laszip.cpp:2: /opt/homebrew/Cellar/gcc/14.1.0_2/include/c++/14/type_traits:890:5: note: declared here 890 | is_pod | ^~~~~~ In file included from /opt/homebrew/Cellar/gcc/14.1.0_2/include/c++/14/aarch64-apple-darwin23/bits/c++config.h:887, from /opt/homebrew/Cellar/gcc/14.1.0_2/include/c++/14/bits/requires_hosted.h:31, from /opt/homebrew/Cellar/gcc/14.1.0_2/include/c++/14/iostream:38: /opt/homebrew/Cellar/gcc/14.1.0_2/include/c++/14/pstl/algorithm_impl.h: In function '_RandomAccessIterator __pstl::__internal::__brick_unique(_RandomAccessIterator, _RandomAccessIterator, _BinaryPredicate, std::true_type)': /opt/homebrew/Cellar/gcc/14.1.0_2/include/c++/14/pstl/algorithm_impl.h:1219:5: note: '#pragma message: [Parallel STL message]: "Vectorized algorithm unimplemented, redirected to serial"' 1219 | _PSTL_PRAGMA_MESSAGE("Vectorized algorithm unimplemented, redirected to serial"); | ^~~~~~~~~~~~~~~~~~~~ /opt/homebrew/Cellar/gcc/14.1.0_2/include/c++/14/pstl/algorithm_impl.h: In function '_RandomAccessIterator __pstl::__internal::__brick_partition(_RandomAccessIterator, _RandomAccessIterator, _UnaryPredicate, std::true_type)': /opt/homebrew/Cellar/gcc/14.1.0_2/include/c++/14/pstl/algorithm_impl.h:1929:5: note: '#pragma message: [Parallel STL message]: "Vectorized algorithm unimplemented, redirected to serial"' 1929 | _PSTL_PRAGMA_MESSAGE("Vectorized algorithm unimplemented, redirected to serial"); | ^~~~~~~~~~~~~~~~~~~~ /opt/homebrew/Cellar/gcc/14.1.0_2/include/c++/14/pstl/algorithm_impl.h: In function '_RandomAccessIterator __pstl::__internal::__brick_stable_partition(_RandomAccessIterator, _RandomAccessIterator, _UnaryPredicate, std::true_type)': /opt/homebrew/Cellar/gcc/14.1.0_2/include/c++/14/pstl/algorithm_impl.h:2029:5: note: '#pragma message: [Parallel STL message]: "Vectorized algorithm unimplemented, redirected to serial"' 2029 | _PSTL_PRAGMA_MESSAGE("Vectorized algorithm unimplemented, redirected to serial"); | ^~~~~~~~~~~~~~~~~~~~ /opt/homebrew/Cellar/gcc/14.1.0_2/include/c++/14/pstl/algorithm_impl.h: In function '_RandomAccessIterator3 __pstl::__internal::__brick_merge(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _RandomAccessIterator2, _RandomAccessIterator3, _Compare, std::true_type)': /opt/homebrew/Cellar/gcc/14.1.0_2/include/c++/14/pstl/algorithm_impl.h:2715:5: note: '#pragma message: [Parallel STL message]: "Vectorized algorithm unimplemented, redirected to serial"' 2715 | _PSTL_PRAGMA_MESSAGE("Vectorized algorithm unimplemented, redirected to serial"); | ^~~~~~~~~~~~~~~~~~~~ /opt/homebrew/Cellar/gcc/14.1.0_2/include/c++/14/pstl/algorithm_impl.h: In function 'void __pstl::__internal::__brick_inplace_merge(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare, std::true_type)': /opt/homebrew/Cellar/gcc/14.1.0_2/include/c++/14/pstl/algorithm_impl.h:2764:5: note: '#pragma message: [Parallel STL message]: "Vectorized algorithm unimplemented, redirected to serial"' 2764 | _PSTL_PRAGMA_MESSAGE("Vectorized algorithm unimplemented, redirected to serial") | ^~~~~~~~~~~~~~~~~~~~ /opt/homebrew/Cellar/gcc/14.1.0_2/include/c++/14/pstl/algorithm_impl.h: In function '_OutputIterator __pstl::__internal::__brick_set_union(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _RandomAccessIterator2, _OutputIterator, _Compare, std::true_type)': /opt/homebrew/Cellar/gcc/14.1.0_2/include/c++/14/pstl/algorithm_impl.h:3141:5: note: '#pragma message: [Parallel STL message]: "Vectorized algorithm unimplemented, redirected to serial"' 3141 | _PSTL_PRAGMA_MESSAGE("Vectorized algorithm unimplemented, redirected to serial"); | ^~~~~~~~~~~~~~~~~~~~ /opt/homebrew/Cellar/gcc/14.1.0_2/include/c++/14/pstl/algorithm_impl.h: In function '_RandomAccessIterator3 __pstl::__internal::__brick_set_intersection(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _RandomAccessIterator2, _RandomAccessIterator3, _Compare, std::true_type)': /opt/homebrew/Cellar/gcc/14.1.0_2/include/c++/14/pstl/algorithm_impl.h:3202:5: note: '#pragma message: [Parallel STL message]: "Vectorized algorithm unimplemented, redirected to serial"' 3202 | _PSTL_PRAGMA_MESSAGE("Vectorized algorithm unimplemented, redirected to serial"); | ^~~~~~~~~~~~~~~~~~~~ /opt/homebrew/Cellar/gcc/14.1.0_2/include/c++/14/pstl/algorithm_impl.h: In function '_RandomAccessIterator3 __pstl::__internal::__brick_set_difference(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _RandomAccessIterator2, _RandomAccessIterator3, _Compare, std::true_type)': /opt/homebrew/Cellar/gcc/14.1.0_2/include/c++/14/pstl/algorithm_impl.h:3298:5: note: '#pragma message: [Parallel STL message]: "Vectorized algorithm unimplemented, redirected to serial"' 3298 | _PSTL_PRAGMA_MESSAGE("Vectorized algorithm unimplemented, redirected to serial"); | ^~~~~~~~~~~~~~~~~~~~ /opt/homebrew/Cellar/gcc/14.1.0_2/include/c++/14/pstl/algorithm_impl.h: In function '_RandomAccessIterator3 __pstl::__internal::__brick_set_symmetric_difference(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _RandomAccessIterator2, _RandomAccessIterator3, _Compare, std::true_type)': /opt/homebrew/Cellar/gcc/14.1.0_2/include/c++/14/pstl/algorithm_impl.h:3390:5: note: '#pragma message: [Parallel STL message]: "Vectorized algorithm unimplemented, redirected to serial"' 3390 | _PSTL_PRAGMA_MESSAGE("Vectorized algorithm unimplemented, redirected to serial"); | ^~~~~~~~~~~~~~~~~~~~ make[2]: *** [CMakeFiles/PotreeConverter.dir/Converter/src/chunker_countsort_laszip.cpp.o] Error 1 make[1]: *** [CMakeFiles/PotreeConverter.dir/all] Error 2 make: *** [all] Error 2


版本 gcc -v Apple clang version 15.0.0 (clang-1500.3.9.4) Target: arm64-apple-darwin23.5.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin

谁能解答下,如何安装?

raymondwm avatar Aug 24 '24 01:08 raymondwm