Closed winterxx closed 2 years ago
when make a error in centos7: /usr/local/cuda-10.0/lib64/libnvinfer.so: undefined reference to std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20' /usr/local/cuda-10.0/lib64/libnvinfer.so: undefined reference tostd::atomic_futex_unsigned_base::_M_futex_notify_all(unsigned int)@GLIBCXX_3.4.21' /usr/local/cuda-10.0/lib64/libnvinfer.so: undefined reference to `std::runtime_error::runtime_error(char const)@GLIBCXX_3.4.21' /usr/local/cuda-10.0/lib64/libnvinfer.so: undefined reference to std::out_of_range::out_of_range(char const*)@GLIBCXX_3.4.21' /usr/local/cuda-10.0/lib64/libnvinfer.so: undefined reference tostd::atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int, unsigned int, bool, std::chrono::duration<long, std::ratio<1l, 1l> >, std::chrono::duration<long, std::ratio<1l, 1000000000l> >)@GLIBCXX_3.4.21' /usr/local/cuda-10.0/lib64/libnvinfer.so: undefined reference to `std::thread::_M_start_thread(std::shared_ptr, void ()())@GLIBCXX_3.4.21' /usr/local/cuda-10.0/lib64/libnvinfer.so: undefined reference to `std::__future_base::_State_baseV2::_Make_ready::_M_set()@GLIBCXX_3.4.21' collect2: error: ld returned 1 exit status make[2]: [demo] Error 1 make[1]: [CMakeFiles/demo.dir/all] Error 2 make: *** [all] Error 2
std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20' /usr/local/cuda-10.0/lib64/libnvinfer.so: undefined reference to
std::out_of_range::out_of_range(char const*)@GLIBCXX_3.4.21' /usr/local/cuda-10.0/lib64/libnvinfer.so: undefined reference to
Have you correctly installed tensorRT for CUDA10.0?
Closing for inactivity
when make a error in centos7: /usr/local/cuda-10.0/lib64/libnvinfer.so: undefined reference to, void ( )())@GLIBCXX_3.4.21'
std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20' /usr/local/cuda-10.0/lib64/libnvinfer.so: undefined reference to
std::atomic_futex_unsigned_base::_M_futex_notify_all(unsigned int)@GLIBCXX_3.4.21'/usr/local/cuda-10.0/lib64/libnvinfer.so: undefined reference to `std::runtime_error::runtime_error(char const)@GLIBCXX_3.4.21'
/usr/local/cuda-10.0/lib64/libnvinfer.so: undefined reference to
std::out_of_range::out_of_range(char const*)@GLIBCXX_3.4.21' /usr/local/cuda-10.0/lib64/libnvinfer.so: undefined reference to
std::atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int, unsigned int, bool, std::chrono::duration<long, std::ratio<1l, 1l> >, std::chrono::duration<long, std::ratio<1l, 1000000000l> >)@GLIBCXX_3.4.21'/usr/local/cuda-10.0/lib64/libnvinfer.so: undefined reference to `std::thread::_M_start_thread(std::shared_ptr
/usr/local/cuda-10.0/lib64/libnvinfer.so: undefined reference to `std::__future_base::_State_baseV2::_Make_ready::_M_set()@GLIBCXX_3.4.21'
collect2: error: ld returned 1 exit status
make[2]: [demo] Error 1
make[1]: [CMakeFiles/demo.dir/all] Error 2
make: *** [all] Error 2