NVIDIA-AI-IOT / redtail

Perception and AI components for autonomous mobile robotics.
BSD 3-Clause "New" or "Revised" License
1.01k stars 344 forks source link

internal_utils.h(64): error: identifier "PluginFormat" is undefined #124

Closed Z-Jeff closed 5 years ago

Z-Jeff commented 5 years ago

when I use "sudo make " , it occur an error like "internal_utils.h(64): error: identifier "PluginFormat" is undefined" . how can I fix this ?

Alexey-Kamenev commented 5 years ago

Which version of TensorRT are you using? StereoDNN was tested with TRT 3.0 and 4.0. We haven't tested it with later versions of TRT so it may not work.

Z-Jeff commented 5 years ago

I use Jetpack-3.2 so the version of TensorRT is 3.0.4-1 .

Z-Jeff commented 5 years ago

I have known the reason. TensorRT-4.0 has the definition of "PluginFormat" while TensorRT-3.0 hasn't. So I use Jetpack-3.3 to reflash my Jetson tx2 with TensorRT-4.0 , then the error disappears !