FeiYull / TensorRT-Alpha

🔥🔥🔥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.34k stars 208 forks source link

make -j10 have some errors #70

Open jiamfeng opened 10 months ago

jiamfeng commented 10 months ago

make -j8 [ 10%] Building CXX object CMakeFiles/yolox.dir/home/indus/TensorRT-8.6.1.6/samples/common/logger.cpp.o [ 20%] Building CXX object CMakeFiles/yolox.dir/home/indus/TensorRT-8.6.1.6/samples/common/sampleOptions.cpp.o [ 30%] Building CUDA object CMakeFiles/yolox.dir/home/indus/fjm/project/TensorRT-Alpha/utils/kernel_function.cu.o [ 40%] Building CXX object CMakeFiles/yolox.dir/home/indus/fjm/project/TensorRT-Alpha/utils/utils.cpp.o [ 50%] Building CXX object CMakeFiles/yolox.dir/home/indus/fjm/project/TensorRT-Alpha/utils/yolo.cpp.o [ 70%] Building CXX object CMakeFiles/yolox.dir/app_yolox.cpp.o [ 70%] Building CUDA object CMakeFiles/yolox.dir/yolox.cu.o [ 80%] Linking CXX shared library libyolox.so [ 80%] Built target yolox [ 90%] Building CXX object CMakeFiles/app_yolox.dir/app_yolox.cpp.o [100%] Linking CXX executable app_yolox /usr/bin/ld: libyolox.so: undefined reference to `sample::splitToStringVec(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, char)' collect2: error: ld returned 1 exit status make[2]: [CMakeFiles/app_yolox.dir/build.make:111: app_yolox] Error 1 make[1]: [CMakeFiles/Makefile2:78: CMakeFiles/app_yolox.dir/all] Error 2 make: *** [Makefile:84: all] Error 2

FeiYull commented 10 months ago

@jiamfeng solution:https://github.com/FeiYull/TensorRT-Alpha/issues/47#issuecomment-1705861412