ncsdk-aarch64
ncsdk-aarch64 copied to clipboard
I have the rockPRO64 (RK3399) and try to install ncsdk on it
but I encounter the following error: [ 1%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/video_data_layer.cpp.o /opt/movidius/ssd-caffe/src/caffe/layers/video_data_layer.cpp: In member function 'virtual void caffe::VideoDataLayer<Dtype>::DataLayerSetUp(const std::vector<caffe::Blob<Dtype>>&, const std::vector<caffe::Blob<Dtype>>&)': /opt/movidius/ssd-caffe/src/caffe/layers/video_data_layer.cpp:55:30: error: 'CV_CAP_PROP_FRAME_COUNT' was not declared in this scope total_frames_ = cap_.get(CV_CAP_PROP_FRAME_COUNT); ^~~~~~~~~~~~~~~~~~~~~~~ /opt/movidius/ssd-caffe/src/caffe/layers/video_data_layer.cpp:60:14: error: 'CV_CAP_PROP_POS_FRAMES' was not declared in this scope cap_.set(CV_CAP_PROP_POS_FRAMES, 0); ^~~~~~~~~~~~~~~~~~~~~~ src/caffe/CMakeFiles/caffe.dir/build.make:2102: recipe for target 'src/caffe/CMakeFiles/caffe.dir/layers/video_data_layer.cpp.o' failed make[3]: * [src/caffe/CMakeFiles/caffe.dir/layers/video_data_layer.cpp.o] Error 1 make[3]: Leaving directory '/opt/movidius/ssd-caffe/build' CMakeFiles/Makefile2:235: recipe for target 'src/caffe/CMakeFiles/caffe.dir/all' failed make[2]: * [src/caffe/CMakeFiles/caffe.dir/all] Error 2 make[2]: Leaving directory '/opt/movidius/ssd-caffe/build' Makefile:129: recipe for target 'all' failed make[1]: * [all] Error 2 make[1]: Leaving directory '/opt/movidius/ssd-caffe/build' Installation failed. Error on line 584
I am wondering if this is because my previous installation of opencv or something else? What need to be preinstall before using your repo? Any difference for PRO version of the pine64? Is there any good resource that learn about building package in linux? I always got stuck with some compile/package stuff... Thank you so much!
I was able to install on my rock64pro. so not sure what the issue is. are you using the correct OS (Ubuntu 18.04, for rock64pro)?