Skip to content

Error when trying to make OpenKAI on Jetson TX2 #41

@aman-patel

Description

@aman-patel

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions