I think nearly all of my OpenCV skill problems center around trying to update the git submodule, specifically the command is:
git submodule update --init --recursive
When typing sudo make in the OpenCVSkill folder, it will build for OpenCV and install the binaries, but when it goes to the skill folder:
make[1]: Leaving directory `/go/src/skill/opencv-2.4.13.2/platforms/linux/build_hardfp'
cp -R ../opencv/artifacts/include ../opencv/artifacts/lib robot/deps
git submodule update --init --recursive
Submodule 'examples/OpenCVSkill/skill/robot/src/vendor/github.com/lazywei/go-opencv' (git@github.com:lazywei/go-
opencv.git) registered for path 'robot/src/vendor/github.com/lazywei/go-opencv'
Cloning into 'examples/OpenCVSkill/skill/robot/src/vendor/github.com/lazywei/go-opencv'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:lazywei/go-opencv.git' into submodule path
'examples/OpenCVSkill/skill/robot/src/vendor/github.com/lazywei/go-opencv' failed
Makefile:21: recipe for target 'robot/skill' failed
make[1]: *** [robot/skill] Error 128
make[1]: Leaving directory '/home/philosopher/Programs/mind-sdk/examples/OpenCVSkill/skill'
Makefile:4: recipe for target 'build' failed
make: *** [build] Error 2
If I try to run sudo mind build in the skill folder, it gives:
robot/src/skill.go:14:2: cannot find package “github.com/lazywei/go-opencv/opencv” in any of:
/go/src/skill/robot/src/vendor/github.com/lazywei/go-opencv/opencv (vendor tree)
/usr/local/go/src/github.com/lazywei/go-opencv/opencv (from $GOROOT)
/.go/src/github.com/lazywei/go-opencv/opencv (from $GOPATH)
/go/src/github.com/lazywei/go-opencv/opencv
exit status 1
Any help would be appreciated.
This is on Ubuntu 16.04 of course. I cloned the entire mind-sdk and am working inside of the examples folder. It could also be the $GOPATH, but I’m not sure.
Thank you.