Skip to content
New issue

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

recipe for target '../lib/libnvonnxparser.so' failed on Jetson Nano #88

Open
siriusmehta opened this issue Dec 13, 2020 · 0 comments
Open

Comments

@siriusmehta
Copy link

siriusmehta commented Dec 13, 2020

Hi @CaoWGG ,

In file included from /home/sirius/Desktop/TensorRT-CenterNet/onnx-tensorrt/OnnxAttrs.cpp:25:0:
/home/sirius/Desktop/TensorRT-CenterNet/onnx-tensorrt/onnx2trt_utils.hpp:246:11: warning: ‘nvinfer1::Dims::type’ is deprecated [-Wdeprecated-declarations]
shape.type[0] = nvinfer1::DimensionType::kCHANNEL;
^~~~
In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:59:0,
from /usr/include/aarch64-linux-gnu/NvInfer.h:53,
from /home/sirius/Desktop/TensorRT-CenterNet/onnx-tensorrt/OnnxAttrs.hpp:26,
from /home/sirius/Desktop/TensorRT-CenterNet/onnx-tensorrt/OnnxAttrs.cpp:23:
/usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:225:47: note: declared here
TRT_DEPRECATED DimensionType type[MAX_DIMS]; //!< The type of each dimension.
^
[ 69%] Linking CXX shared library ../../lib/libnvonnxparser.so
/usr/bin/ld: cannot find -lcudart
collect2: error: ld returned 1 exit status
onnx-tensorrt/CMakeFiles/nvonnxparser.dir/build.make:169: recipe for target '../lib/libnvonnxparser.so' failed
make[2]: *** [../lib/libnvonnxparser.so] Error 1
CMakeFiles/Makefile2:97: recipe for target 'onnx-tensorrt/CMakeFiles/nvonnxparser.dir/all' failed
make[1]: *** [onnx-tensorrt/CMakeFiles/nvonnxparser.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant