diff --git a/install.sh b/install.sh index b412967..3d1033f 100644 --- a/install.sh +++ b/install.sh @@ -5,7 +5,6 @@ cd ~/code/auto_installed/ sudo apt update -y sudo apt upgrade -y sudo apt install -y git cmake g++ wget unzip build-essential ccache pkg-config - #------------------------------------------------------------------------------------Hidapi sudo apt-get install -y libudev-dev libusb-1.0-0-dev mkdir hid @@ -38,6 +37,9 @@ rm opencv_contrib.zip mkdir -p build && cd build cmake -DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib-4.x/modules ../opencv-4.x -DWITH_FFMPEG=ON -DWITH_OPENGL=ON -DWITH_OPENCL=ON -DWITH_GTK=ON -DWITH_QT=OFF -DWITHTBB=ON +#-------------------------------------------------zbar +sudo apt-get install -y libzbar-dev +#-------------------------------------------------build project cmake --build . -j7 sudo make install sudo ldconfig