I’m having trouble installing robotpy-cscore. I’m following the instructions here. I’m trying to do this installation on an Ubuntu 18.04 machine.
When I give the command:
pip3 install robotpy-cscore
It fails during compilation with the error:
opencv2/opencv.hpp: No such file or directory
I installed OpenCV by following the instructions here
Following those instruction I gave the following commands:
sudo apt-get install build-essential sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev git clone https://github.com/opencv/opencv.git cd opencv mkdir build cd build cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local .. make -j7 sudo make install
That leaves me with a /usr/local/include/opencv4/opencv2/ directory which has the opencv.hpp file in it. Can someone help me get this configured correctly so cscore can find the opencv installation?
Thanks for reading!