You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make the project by -DBUILD_YOLO_TENSORRT=ON, the following error message appears:
(My tensorrt: 7.2.3.4)
#######################################################################################
In file included from /home/xuyang/Desktop/Multitarget-tracker/src/Detector/tensorrt_yolo/common/logging.h:21:0,
from /home/xuyang/Desktop/Multitarget-tracker/src/Detector/tensorrt_yolo/common/logger.h:20,
from /home/xuyang/Desktop/Multitarget-tracker/src/Detector/tensorrt_yolo/common/common.h:34,
from /home/xuyang/Desktop/Multitarget-tracker/src/Detector/tensorrt_yolo/common/BatchStream.h:20,
from /home/xuyang/Desktop/Multitarget-tracker/src/Detector/tensorrt_yolo/YoloONNX.hpp:3,
from /home/xuyang/Desktop/Multitarget-tracker/src/Detector/tensorrt_yolo/YoloONNX.cpp:3:
/home/xuyang/Desktop/Multitarget-tracker/src/Detector/tensorrt_yolo/common/sampleOptions.h:165:15: error: ‘TacticSources’ in namespace ‘nvinfer1’ does not name a type
nvinfer1::TacticSources enabledTactics{0};
^~~~~~~~~~~~~
/home/xuyang/Desktop/Multitarget-tracker/src/Detector/tensorrt_yolo/common/sampleOptions.h:165:46: error: extra ‘;’ [-Wpedantic]
nvinfer1::TacticSources enabledTactics{0};
^
/home/xuyang/Desktop/Multitarget-tracker/src/Detector/tensorrt_yolo/common/sampleOptions.h:166:15: error: ‘TacticSources’ in namespace ‘nvinfer1’ does not name a type
nvinfer1::TacticSources disabledTactics{0};
^~~~~~~~~~~~~
/home/xuyang/Desktop/Multitarget-tracker/src/Detector/tensorrt_yolo/common/sampleOptions.h:166:47: error: extra ‘;’ [-Wpedantic]
nvinfer1::TacticSources disabledTactics{0};
^
/home/xuyang/Desktop/Multitarget-tracker/src/Detector/tensorrt_yolo/common/sampleOptions.cpp: In member function ‘virtual void sample::BuildOptions::parse(sample::Arguments&)’:
/home/xuyang/Desktop/Multitarget-tracker/src/Detector/tensorrt_yolo/common/sampleOptions.cpp:851:23: error: ‘TacticSource’ is not a member of ‘nvinfer1’
nvinfer1::TacticSource source{};
^~~~~~~~~~~~
/home/xuyang/Desktop/Multitarget-tracker/src/Detector/tensorrt_yolo/common/sampleOptions.cpp:855:17: error: ‘source’ was not declared in this scope
source = nvinfer1::TacticSource::kCUBLAS;
^~~~~~
/home/xuyang/Desktop/Multitarget-tracker/src/Detector/tensorrt_yolo/common/sampleOptions.cpp:855:17: note: suggested alternative: ‘double’
source = nvinfer1::TacticSource::kCUBLAS;
^~~~~~
double
/home/xuyang/Desktop/Multitarget-tracker/src/Detector/tensorrt_yolo/common/sampleOptions.cpp:855:36: error: ‘nvinfer1::TacticSource’ has not been declared
source = nvinfer1::TacticSource::kCUBLAS;
^~~~~~~~~~~~
/home/xuyang/Desktop/Multitarget-tracker/src/Detector/tensorrt_yolo/common/sampleOptions.cpp:859:17: error: ‘source’ was not declared in this scope
source = nvinfer1::TacticSource::kCUBLAS_LT;
^~~~~~
/home/xuyang/Desktop/Multitarget-tracker/src/Detector/tensorrt_yolo/common/sampleOptions.cpp:859:17: note: suggested alternative: ‘double’
source = nvinfer1::TacticSource::kCUBLAS_LT;
^~~~~~
double
/home/xuyang/Desktop/Multitarget-tracker/src/Detector/tensorrt_yolo/common/sampleOptions.cpp:859:36: error: ‘nvinfer1::TacticSource’ has not been declared
source = nvinfer1::TacticSource::kCUBLAS_LT;
^~~~~~~~~~~~
/home/xuyang/Desktop/Multitarget-tracker/src/Detector/tensorrt_yolo/common/sampleOptions.cpp:872:62: error: ‘source’ was not declared in this scope
uint32_t sourceBit = 1U << static_cast<uint32_t>(source);
^~~~~~
/home/xuyang/Desktop/Multitarget-tracker/src/Detector/tensorrt_yolo/common/sampleOptions.cpp:872:62: note: suggested alternative: ‘sourceBit’
uint32_t sourceBit = 1U << static_cast<uint32_t>(source);
^~~~~~
sourceBit
/home/xuyang/Desktop/Multitarget-tracker/src/Detector/tensorrt_yolo/common/sampleOptions.cpp:876:17: error: ‘enabledTactics’ was not declared in this scope
enabledTactics |= sourceBit;
^~~~~~~~~~~~~~
/home/xuyang/Desktop/Multitarget-tracker/src/Detector/tensorrt_yolo/common/sampleOptions.cpp:880:17: error: ‘disabledTactics’ was not declared in this scope
disabledTactics |= sourceBit;
^~~~~~~~~~~~~~~
/home/xuyang/Desktop/Multitarget-tracker/src/Detector/tensorrt_yolo/common/sampleOptions.cpp:883:17: error: ‘enabledTactics’ was not declared in this scope
if (enabledTactics & disabledTactics)
^~~~~~~~~~~~~~
/home/xuyang/Desktop/Multitarget-tracker/src/Detector/tensorrt_yolo/common/sampleOptions.cpp:883:34: error: ‘disabledTactics’ was not declared in this scope
if (enabledTactics & disabledTactics)
#######################################################################################
The text was updated successfully, but these errors were encountered:
Make the project by -DBUILD_YOLO_TENSORRT=ON, the following error message appears:
(My tensorrt: 7.2.3.4)
#######################################################################################
The text was updated successfully, but these errors were encountered: