Update setup_opencv.sh
libdc1394-22-dev has been orphaned and removed from debian. You can reference this. https://bugs.debian.org/963924
This commit is contained in:
parent
759e9fd56e
commit
2258ee9397
|
@ -40,7 +40,7 @@ if [ -z "$1" ]
|
||||||
echo "Installing OpenCV from source"
|
echo "Installing OpenCV from source"
|
||||||
if [[ -x "$(command -v apt)" ]]; then
|
if [[ -x "$(command -v apt)" ]]; then
|
||||||
sudo apt update && sudo apt install build-essential git
|
sudo apt update && sudo apt install build-essential git
|
||||||
sudo apt install cmake ffmpeg libavformat-dev libdc1394-22-dev libgtk2.0-dev \
|
sudo apt install cmake ffmpeg libavformat-dev libdc1394-dev libgtk2.0-dev \
|
||||||
libjpeg-dev libpng-dev libswscale-dev libtbb2 libtbb-dev \
|
libjpeg-dev libpng-dev libswscale-dev libtbb2 libtbb-dev \
|
||||||
libtiff-dev
|
libtiff-dev
|
||||||
elif [[ -x "$(command -v dnf)" ]]; then
|
elif [[ -x "$(command -v dnf)" ]]; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user