wrench icon indicating copy to clipboard operation
wrench copied to clipboard

Installation error after make

Open tianyufang1958 opened this issue 2 months ago • 0 comments

Hi, I really would like to try this but I got the following error when I ran 'make' after 'cmake ..'. Could you please advise? I install pdal 2.7.1 and I install on AWS EC2 linux2023. Thank you!

error

[ 86%] Building CXX object CMakeFiles/pdal_wrench.dir/src/tile/TileGrid.cpp.o [ 91%] Building CXX object CMakeFiles/pdal_wrench.dir/src/tile/ThreadPool.cpp.o [ 95%] Building CXX object CMakeFiles/pdal_wrench.dir/src/tile/Writer.cpp.o [100%] Linking CXX executable pdal_wrench /usr/bin/ld: /workspaces/plhtn_python/.venv/lib/libtiledb.so.2.22: undefined reference to std::__exception_ptr::exception_ptr::_M_release()@CXXABI_1.3.13' /usr/bin/ld: /workspaces/plhtn_python/.venv/lib/libpdalcpp.so.17.0.0: undefined reference to std::condition_variable::wait(std::unique_lockstd::mutex&)@GLIBCXX_3.4.30' /usr/bin/ld: /workspaces/plhtn_python/.venv/lib/libazure-storage-blobs.so: undefined reference to std::__atomic_futex_unsigned_base::_M_futex_wait_until_steady(unsigned int*, unsigned int, bool, std::chrono::duration<long, std::ratio<1l, 1l> >, std::chrono::duration<long, std::ratio<1l, 1000000000l> >)@GLIBCXX_3.4.29' /usr/bin/ld: /workspaces/plhtn_python/.venv/lib/libpdalcpp.so.17.0.0: undefined reference to std::__throw_bad_array_new_length()@GLIBCXX_3.4.29' /usr/bin/ld: /workspaces/plhtn_python/.venv/lib/libtiledb.so.2.22: undefined reference to std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::str() const &@GLIBCXX_3.4.29' /usr/bin/ld: /workspaces/plhtn_python/.venv/lib/libtiledb.so.2.22: undefined reference to std::__exception_ptr::exception_ptr::_M_addref()@CXXABI_1.3.13' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/pdal_wrench.dir/build.make:435: pdal_wrench] Error 1 make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/pdal_wrench.dir/all] Error 2 make: *** [Makefile:136: all] Error 2

tianyufang1958 avatar May 01 '24 16:05 tianyufang1958