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

Error when trying to make OpenKAI on Jetson TX2 #41

Open
aman-patel opened this issue Jan 20, 2020 · 2 comments
Open

Error when trying to make OpenKAI on Jetson TX2 #41

aman-patel opened this issue Jan 20, 2020 · 2 comments

Comments

@aman-patel
Copy link

Hi,

I'm trying to run openKAI on the Nvidia Jetson TX2 flashed with the jetpack 3.3.1. I have installed OpenCV 3.4.0 on the TX2.

I'm getting the following error when I run the make command :

/home/nvidia/OpenKAI/src/Detector/_DNNdetect.cpp: In constructor ‘kai::_DNNdetect::_DNNdetect()’:
/home/nvidia/OpenKAI/src/Detector/_DNNdetect.cpp:22:15: error: ‘DNN_BACKEND_OPENCV’ is not a member of ‘cv::dnn’
m_iBackend = cv::dnn::DNN_BACKEND_OPENCV;
^
/home/nvidia/OpenKAI/src/Detector/_OpenPose.cpp: In constructor ‘kai::_OpenPose::_OpenPose()’:
/home/nvidia/OpenKAI/src/Detector/_OpenPose.cpp:19:15: error: ‘DNN_BACKEND_OPENCV’ is not a member of ‘cv::dnn’
m_iBackend = dnn::DNN_BACKEND_OPENCV;
^
CMakeFiles/OpenKAI.dir/build.make:1286: recipe for target 'CMakeFiles/OpenKAI.dir/src/Detector/_OpenPose.cpp.o' failed
make[2]: *** [CMakeFiles/OpenKAI.dir/src/Detector/_OpenPose.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/OpenKAI.dir/build.make:1262: recipe for target 'CMakeFiles/OpenKAI.dir/src/Detector/_DNNdetect.cpp.o' failed
make[2]: *** [CMakeFiles/OpenKAI.dir/src/Detector/_DNNdetect.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/OpenKAI.dir/all' failed
make[1]: *** [CMakeFiles/OpenKAI.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

I am following the steps of the documentation : http://docs.openkai.xyz/tegrabuild.html#jetson-inference-batch.

Any help regarding the issue would be great.
Thanks you!

@yankailab
Copy link
Owner

Hi, I think you need to upgrade to OpenCV > 4.0 to solve the issue, here is a reference:

# (Optional) OpenCV

@405410049
Copy link

405410049 commented Mar 22, 2021

Hi,
I follow OpenKAI/sh/Setup/OpenKAI_dev_setup.sh to make OpenKai on Tx2, bit I got some errors and I don't know where is wrong
My jetpack version is 4.4

I would appreciate it if someone can help
Thanks you!

my error message:

image

my ccmake environment:

image

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