🔥🔥🔥TensorRT for YOLOv8、YOLOv8-Pose、YOLOv8-Seg、YOLOv8-Cls、YOLOv7、YOLOv6、YOLOv5、YOLONAS......🚀🚀🚀CUDA IS ALL YOU NEED.🍎🍎🍎
GNU General Public License v2.0
1.3k
stars
201
forks
source link
make error: /usr/bin/ld: libyolov8.so: undefined reference to `nmsDeviceV1(utils::InitParameter, float*, int, int, int)' #41
Open
ccl-1 opened 1 year ago
ubuntu20.04 TensorRT-8.6.1.6 OpenCV 4.6.0
[100%] Linking CXX executable app_yolov8 /usr/bin/ld: libyolov8.so: undefined reference to, std::allocator > const&, char)'
/usr/bin/ld: libyolov8.so: undefined reference to check_cuda_runtime(cudaError, char const, char const, int)'
/usr/bin/ld: libyolov8.so: undefined reference to
bgr2rgbDevice(int const&, float*, int, int, float*, int, int)' /usr/bin/ld: libyolov8.so: undefined reference to
sample::splitToStringVec(std::cxx11::basic_string<char, std::char_traitsnmsDeviceV1(utils::InitParameter, float*, int, int, int)' /usr/bin/ld: libyolov8.so: undefined reference to
hwc2chwDevice(int const&, float, int, int, float, int, int)' /usr/bin/ld: libyolov8.so: undefined reference todecodeDevice(utils::InitParameter, float*, int, int, int, float*, int, int)' /usr/bin/ld: libyolov8.so: undefined reference to
yolov8::transposeDevice(utils::InitParameter, float*, int, int, int, float*, int, int)' /usr/bin/ld: libyolov8.so: undefined reference to
nmsDeviceV2(utils::InitParameter, float, int, int, int, int, float)' /usr/bin/ld: libyolov8.so: undefined reference to `yolov8::decodeDevice(utils::InitParameter, float, int, int, int, float, int, int)' /usr/bin/ld: libyolov8.so: undefined reference to `resizeDevice(int const&, unsigned char, int, int, float, int, int, float, utils::AffineMat)' /usr/bin/ld: libyolov8.so: undefined reference to `normDevice(int const&, float, int, int, float*, int, int, utils::InitParameter)' collect2: error: ld returned 1 exit status make[2]: [CMakeFiles/app_yolov8.dir/build.make:111: app_yolov8] Error 1 make[1]: [CMakeFiles/Makefile2:78: CMakeFiles/app_yolov8.dir/all] Error 2 make: *** [Makefile:84: all] Error 2Everything's running fine until I make yolov8.