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

opencv2/cudawarping.hpp no such file or directory #500

Open
za13 opened this issue Oct 15, 2020 · 3 comments
Open

opencv2/cudawarping.hpp no such file or directory #500

za13 opened this issue Oct 15, 2020 · 3 comments

Comments

@za13
Copy link

za13 commented Oct 15, 2020

I'm using Ubuntu 20. I installed OpenCV 4.5 and TensorRT 6.0.1.5 and did

sudo apt-get install libopencv-dev

I am trying to follow the steps in https://github.com/spmallick/learnopencv/tree/master/PyTorch-ONNX-TensorRT-CPP

I was able to do

mkdir build
cd build
cmake -DOpenCV_DIR=[path-to-opencv-build] -DTensorRT_DIR=[path-to-tensorrt] ..

but when I tried `make -j8', I get

trt_sample.cpp:10 fatal error: opencv2/cudawarping.hpp no such file or directory

any help?

@spacewalk01
Copy link

spacewalk01 commented Jan 7, 2021

I got the same problem. Did you solve it?

@xxxpsyduck
Copy link

compile opencv with cuda

@spacewalk01
Copy link

Solved the problem after building opencv with opencv-contrib using cmake.

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

3 participants