We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ 25%] Building NVCC (Device) object CMakeFiles/yololayer.dir/yololayer_generated_yololayer.cu.o /home/yolov5_tensorrt/yolov5s/yololayer.h(103): warning: function "nvinfer1::IPluginV2Ext::configurePlugin(const nvinfer1::Dims *, int, const nvinfer1::Dims *, int, const nvinfer1::DataType *, const nvinfer1::DataType *, const __nv_bool *, const __nv_bool *, nvinfer1::PluginFormat, int)" is hidden by "nvinfer1::YoloLayerPlugin::configurePlugin" -- virtual function override intended?
/home/yolov5_tensorrt/yolov5s/yololayer.h(103): warning: function "nvinfer1::IPluginV2Ext::configurePlugin(const nvinfer1::Dims *, int, const nvinfer1::Dims *, int, const nvinfer1::DataType *, const nvinfer1::DataType *, const bool *, const bool *, nvinfer1::PluginFormat, int)" is hidden by "nvinfer1::YoloLayerPlugin::configurePlugin" -- virtual function override intended?
Scanning dependencies of target yololayer [ 50%] Linking CXX shared library libyololayer.so [ 50%] Built target yololayer Scanning dependencies of target yolov5s [ 75%] Building CXX object CMakeFiles/yolov5s.dir/yolov5s.cpp.o In file included from /usr/include/c++/4.8.2/algorithm:62:0, from /usr/local/include/opencv2/core/base.hpp:55, from /usr/local/include/opencv2/core.hpp:54, from /usr/local/include/opencv2/opencv.hpp:52, from /home/yolov5_tensorrt/yolov5s/common.hpp:8, from /home/yolov5_tensorrt/yolov5s/yolov5s.cpp:5: /usr/include/c++/4.8.2/bits/stl_algo.h: In instantiation of '_RandomAccessIterator std::__unguarded_partition(_RandomAccessIterator, _RandomAccessIterator, const _Tp&, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<Yolo::Detection*, std::vectorYolo::Detection >; _Tp = Yolo::Detection; _Compare = bool ()(Yolo::Detection&, Yolo::Detection&)]': /usr/include/c++/4.8.2/bits/stl_algo.h:2296:78: required from '_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<Yolo::Detection, std::vectorYolo::Detection >; _Compare = bool ()(Yolo::Detection&, Yolo::Detection&)]' /usr/include/c++/4.8.2/bits/stl_algo.h:2337:62: required from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<Yolo::Detection, std::vectorYolo::Detection >; _Size = long int; _Compare = bool ()(Yolo::Detection&, Yolo::Detection&)]' /usr/include/c++/4.8.2/bits/stl_algo.h:5499:44: required from 'void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<Yolo::Detection, std::vectorYolo::Detection >; _Compare = bool ()(Yolo::Detection&, Yolo::Detection&)]' /home/yolov5_tensorrt/yolov5s/common.hpp:106:48: required from here /usr/include/c++/4.8.2/bits/stl_algo.h:2263:35: error: invalid initialization of reference of type 'Yolo::Detection&' from expression of type 'const Yolo::Detection' while (__comp(__first, __pivot)) ^ compilation terminated due to -Wfatal-errors. make[2]: *** [CMakeFiles/yolov5s.dir/yolov5s.cpp.o] Error 1 make[1]: *** [CMakeFiles/yolov5s.dir/all] Error 2 make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
No branches or pull requests
[ 25%] Building NVCC (Device) object CMakeFiles/yololayer.dir/yololayer_generated_yololayer.cu.o
/home/yolov5_tensorrt/yolov5s/yololayer.h(103): warning: function "nvinfer1::IPluginV2Ext::configurePlugin(const nvinfer1::Dims *, int, const nvinfer1::Dims *, int, const nvinfer1::DataType *, const nvinfer1::DataType *, const __nv_bool *, const __nv_bool *, nvinfer1::PluginFormat, int)" is hidden by "nvinfer1::YoloLayerPlugin::configurePlugin" -- virtual function override intended?
/home/yolov5_tensorrt/yolov5s/yololayer.h(103): warning: function "nvinfer1::IPluginV2Ext::configurePlugin(const nvinfer1::Dims *, int, const nvinfer1::Dims *, int, const nvinfer1::DataType *, const nvinfer1::DataType *, const bool *, const bool *, nvinfer1::PluginFormat, int)" is hidden by "nvinfer1::YoloLayerPlugin::configurePlugin" -- virtual function override intended?
Scanning dependencies of target yololayer
[ 50%] Linking CXX shared library libyololayer.so
[ 50%] Built target yololayer
Scanning dependencies of target yolov5s
[ 75%] Building CXX object CMakeFiles/yolov5s.dir/yolov5s.cpp.o
In file included from /usr/include/c++/4.8.2/algorithm:62:0,
from /usr/local/include/opencv2/core/base.hpp:55,
from /usr/local/include/opencv2/core.hpp:54,
from /usr/local/include/opencv2/opencv.hpp:52,
from /home/yolov5_tensorrt/yolov5s/common.hpp:8,
from /home/yolov5_tensorrt/yolov5s/yolov5s.cpp:5:
/usr/include/c++/4.8.2/bits/stl_algo.h: In instantiation of '_RandomAccessIterator std::__unguarded_partition(_RandomAccessIterator, _RandomAccessIterator, const _Tp&, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<Yolo::Detection*, std::vectorYolo::Detection >; _Tp = Yolo::Detection; _Compare = bool ()(Yolo::Detection&, Yolo::Detection&)]':
/usr/include/c++/4.8.2/bits/stl_algo.h:2296:78: required from '_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<Yolo::Detection, std::vectorYolo::Detection >; _Compare = bool ()(Yolo::Detection&, Yolo::Detection&)]'
/usr/include/c++/4.8.2/bits/stl_algo.h:2337:62: required from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<Yolo::Detection, std::vectorYolo::Detection >; _Size = long int; _Compare = bool ()(Yolo::Detection&, Yolo::Detection&)]'
/usr/include/c++/4.8.2/bits/stl_algo.h:5499:44: required from 'void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<Yolo::Detection, std::vectorYolo::Detection >; _Compare = bool ()(Yolo::Detection&, Yolo::Detection&)]'
/home/yolov5_tensorrt/yolov5s/common.hpp:106:48: required from here
/usr/include/c++/4.8.2/bits/stl_algo.h:2263:35: error: invalid initialization of reference of type 'Yolo::Detection&' from expression of type 'const Yolo::Detection'
while (__comp(__first, __pivot))
^
compilation terminated due to -Wfatal-errors.
make[2]: *** [CMakeFiles/yolov5s.dir/yolov5s.cpp.o] Error 1
make[1]: *** [CMakeFiles/yolov5s.dir/all] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: