Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GoCV Install or Build Results in Infinite Loop #1255

Open
dozerman-ms opened this issue Nov 28, 2024 · 0 comments
Open

GoCV Install or Build Results in Infinite Loop #1255

dozerman-ms opened this issue Nov 28, 2024 · 0 comments

Comments

@dozerman-ms
Copy link

Cloning the GoCV repo and cd'ing into the directory, followed by make install (and sudo make install) leads to an infinite loop where the build downloads dependencies over and over until manually cancelled.

Description

I am attempting to use GoCV to build an application. I'm on Manjaro latest and cloned the standard branch of GoCV. Doing a standard go get -u -d gocv.io/x/gocv like in the instructions results in go throwing a warning. CDing to the go directory and following normal GoCV install procedures fails with the described infinite loop. Manually cloning the repo and trying with that also results in the infinite loop.

Steps to Reproduce

Follow standard GoCV install procedures.

Your Environment

Manjaro latest.
Ryzen 3 7320U
7 GB RAM

$ make -v
GNU Make 4.4.1
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

$ pacman -Q opencv
opencv 4.10.0-9

$ pacman -Q go
go 2:1.23.1-1

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --enable-languages=ada,c,c++,d,fortran,go,lto,m2,objc,obj-c++,rust --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://gitlab.archlinux.org/archlinux/packaging/packages/gcc/-/issues --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.2.1 20240910 (GCC)

$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --enable-languages=ada,c,c++,d,fortran,go,lto,m2,objc,obj-c++,rust --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://gitlab.archlinux.org/archlinux/packaging/packages/gcc/-/issues --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.2.1 20240910 (GCC)

Kernel Version 6.10.13

No version of GoCV is installed. Attempted to install current main.

OUTPUT:

Result of running make install:

/bin/sh: line 7: unzip: command not found
rm: remove write-protected regular file 'opencv.zip'? y
rm: cannot remove 'opencv.zip': Permission denied
rm: cannot remove 'opencv_contrib.zip': No such file or directory
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0
mkdir build
cd build
rm -rf *
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_SHARED_LIBS=ON -D OPENCV_EXTRA_MODULES_PATH=/tmp/opencv/opencv_contrib-4.10.0/modules -D BUILD_DOCS=OFF -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=ON -D BUILD_opencv_java=NO -D BUILD_opencv_python=NO -D BUILD_opencv_python2=NO -D BUILD_opencv_python3=NO -D WITH_JASPER=OFF -D WITH_TBB=ON -DOPENCV_GENERATE_PKGCONFIG=ON ..
make -j 7
make preinstall
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0: No such file or directory
mkdir: cannot create directory ‘build’: File exists
CMake Warning:
Ignoring extra path from command line:

".."

CMake Error: The source directory "/home/username/dev/nugo/gocv" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No rule to make target 'preinstall'. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0/build
sudo make install
sudo ldconfig
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0/build: No such file or directory
[sudo] password for username:
rm -rf /tmp/opencv
mkdir /tmp/opencv
cd /tmp/opencv
curl -Lo opencv.zip https://github.com/opencv/opencv/archive/refs/tags/4.10.0.zip
unzip -q opencv.zip
curl -Lo opencv_contrib.zip https://github.com/opencv/opencv_contrib/archive/refs/tags/4.10.0.zip
unzip -q opencv_contrib.zip
rm opencv.zip opencv_contrib.zip
cd -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 95.2M 100 95.2M 0 0 5270k 0 0:00:18 0:00:18 --:--:-- 13.6M
/bin/sh: line 5: unzip: command not found
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 55.0M 0 55.0M 0 0 10.1M 0 --:--:-- 0:00:05 --:--:-- 10.9M
/bin/sh: line 7: unzip: command not found
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0
mkdir build
cd build
rm -rf *
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_SHARED_LIBS=ON -D OPENCV_EXTRA_MODULES_PATH=/tmp/opencv/opencv_contrib-4.10.0/modules -D BUILD_DOCS=OFF -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=ON -D BUILD_opencv_java=NO -D BUILD_opencv_python=NO -D BUILD_opencv_python2=NO -D BUILD_opencv_python3=NO -D WITH_JASPER=OFF -D WITH_TBB=ON -DOPENCV_GENERATE_PKGCONFIG=ON ..
make -j 7
make preinstall
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0: No such file or directory
mkdir: cannot create directory ‘build’: File exists
CMake Warning:
Ignoring extra path from command line:

".."

CMake Error: The source directory "/home/username/dev/nugo/gocv" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No rule to make target 'preinstall'. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0/build
sudo make install
sudo ldconfig
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0/build: No such file or directory
rm -rf /tmp/opencv
mkdir /tmp/opencv
cd /tmp/opencv
curl -Lo opencv.zip https://github.com/opencv/opencv/archive/refs/tags/4.10.0.zip
unzip -q opencv.zip
curl -Lo opencv_contrib.zip https://github.com/opencv/opencv_contrib/archive/refs/tags/4.10.0.zip
unzip -q opencv_contrib.zip
rm opencv.zip opencv_contrib.zip
cd -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 95.2M 100 95.2M 0 0 19.7M 0 0:00:04 0:00:04 --:--:-- 24.5M
/bin/sh: line 5: unzip: command not found
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 55.0M 100 55.0M 0 0 10.2M 0 0:00:05 0:00:05 --:--:-- 12.9M
/bin/sh: line 7: unzip: command not found
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0
mkdir build
cd build
rm -rf *
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_SHARED_LIBS=ON -D OPENCV_EXTRA_MODULES_PATH=/tmp/opencv/opencv_contrib-4.10.0/modules -D BUILD_DOCS=OFF -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=ON -D BUILD_opencv_java=NO -D BUILD_opencv_python=NO -D BUILD_opencv_python2=NO -D BUILD_opencv_python3=NO -D WITH_JASPER=OFF -D WITH_TBB=ON -DOPENCV_GENERATE_PKGCONFIG=ON ..
make -j 7
make preinstall
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0: No such file or directory
mkdir: cannot create directory ‘build’: File exists
CMake Warning:
Ignoring extra path from command line:

".."

CMake Error: The source directory "/home/username/dev/nugo/gocv" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No rule to make target 'preinstall'. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0/build
sudo make install
sudo ldconfig
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0/build: No such file or directory
rm -rf /tmp/opencv
mkdir /tmp/opencv
cd /tmp/opencv
curl -Lo opencv.zip https://github.com/opencv/opencv/archive/refs/tags/4.10.0.zip
unzip -q opencv.zip
curl -Lo opencv_contrib.zip https://github.com/opencv/opencv_contrib/archive/refs/tags/4.10.0.zip
unzip -q opencv_contrib.zip
rm opencv.zip opencv_contrib.zip
cd -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 95.2M 100 95.2M 0 0 14.0M 0 0:00:06 0:00:06 --:--:-- 19.0M
/bin/sh: line 5: unzip: command not found
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 55.0M 100 55.0M 0 0 10.6M 0 0:00:05 0:00:05 --:--:-- 13.4M
/bin/sh: line 7: unzip: command not found
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0
mkdir build
cd build
rm -rf *
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_SHARED_LIBS=ON -D OPENCV_EXTRA_MODULES_PATH=/tmp/opencv/opencv_contrib-4.10.0/modules -D BUILD_DOCS=OFF -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=ON -D BUILD_opencv_java=NO -D BUILD_opencv_python=NO -D BUILD_opencv_python2=NO -D BUILD_opencv_python3=NO -D WITH_JASPER=OFF -D WITH_TBB=ON -DOPENCV_GENERATE_PKGCONFIG=ON ..
make -j 7
make preinstall
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0: No such file or directory
mkdir: cannot create directory ‘build’: File exists
CMake Warning:
Ignoring extra path from command line:

".."

CMake Error: The source directory "/home/username/dev/nugo/gocv" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No rule to make target 'preinstall'. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0/build
sudo make install
sudo ldconfig
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0/build: No such file or directory
rm -rf /tmp/opencv
mkdir /tmp/opencv
cd /tmp/opencv
curl -Lo opencv.zip https://github.com/opencv/opencv/archive/refs/tags/4.10.0.zip
unzip -q opencv.zip
curl -Lo opencv_contrib.zip https://github.com/opencv/opencv_contrib/archive/refs/tags/4.10.0.zip
unzip -q opencv_contrib.zip
rm opencv.zip opencv_contrib.zip
cd -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 95.2M 100 95.2M 0 0 13.9M 0 0:00:06 0:00:06 --:--:-- 18.9M
/bin/sh: line 5: unzip: command not found
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 55.0M 0 55.0M 0 0 10.0M 0 --:--:-- 0:00:05 --:--:-- 12.4M
/bin/sh: line 7: unzip: command not found
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0
mkdir build
cd build
rm -rf *
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_SHARED_LIBS=ON -D OPENCV_EXTRA_MODULES_PATH=/tmp/opencv/opencv_contrib-4.10.0/modules -D BUILD_DOCS=OFF -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=ON -D BUILD_opencv_java=NO -D BUILD_opencv_python=NO -D BUILD_opencv_python2=NO -D BUILD_opencv_python3=NO -D WITH_JASPER=OFF -D WITH_TBB=ON -DOPENCV_GENERATE_PKGCONFIG=ON ..
make -j 7
make preinstall
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0: No such file or directory
mkdir: cannot create directory ‘build’: File exists
CMake Warning:
Ignoring extra path from command line:

".."

CMake Error: The source directory "/home/username/dev/nugo/gocv" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No rule to make target 'preinstall'. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0/build
sudo make install
sudo ldconfig
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0/build: No such file or directory
rm -rf /tmp/opencv
mkdir /tmp/opencv
cd /tmp/opencv
curl -Lo opencv.zip https://github.com/opencv/opencv/archive/refs/tags/4.10.0.zip
unzip -q opencv.zip
curl -Lo opencv_contrib.zip https://github.com/opencv/opencv_contrib/archive/refs/tags/4.10.0.zip
unzip -q opencv_contrib.zip
rm opencv.zip opencv_contrib.zip
cd -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 95.2M 100 95.2M 0 0 15.3M 0 0:00:06 0:00:06 --:--:-- 19.7M
/bin/sh: line 5: unzip: command not found
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 55.0M 100 55.0M 0 0 16.3M 0 0:00:03 0:00:03 --:--:-- 22.0M
/bin/sh: line 7: unzip: command not found
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0
mkdir build
cd build
rm -rf *
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_SHARED_LIBS=ON -D OPENCV_EXTRA_MODULES_PATH=/tmp/opencv/opencv_contrib-4.10.0/modules -D BUILD_DOCS=OFF -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=ON -D BUILD_opencv_java=NO -D BUILD_opencv_python=NO -D BUILD_opencv_python2=NO -D BUILD_opencv_python3=NO -D WITH_JASPER=OFF -D WITH_TBB=ON -DOPENCV_GENERATE_PKGCONFIG=ON ..
make -j 7
make preinstall
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0: No such file or directory
mkdir: cannot create directory ‘build’: File exists
CMake Warning:
Ignoring extra path from command line:

".."

CMake Error: The source directory "/home/username/dev/nugo/gocv" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No rule to make target 'preinstall'. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0/build
sudo make install
sudo ldconfig
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0/build: No such file or directory
rm -rf /tmp/opencv
mkdir /tmp/opencv
cd /tmp/opencv
curl -Lo opencv.zip https://github.com/opencv/opencv/archive/refs/tags/4.10.0.zip
unzip -q opencv.zip
curl -Lo opencv_contrib.zip https://github.com/opencv/opencv_contrib/archive/refs/tags/4.10.0.zip
unzip -q opencv_contrib.zip
rm opencv.zip opencv_contrib.zip
cd -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 95.2M 100 95.2M 0 0 17.5M 0 0:00:05 0:00:05 --:--:-- 20.4M
/bin/sh: line 5: unzip: command not found
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 55.0M 100 55.0M 0 0 16.0M 0 0:00:03 0:00:03 --:--:-- 17.5M
/bin/sh: line 7: unzip: command not found
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0
mkdir build
cd build
rm -rf *
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_SHARED_LIBS=ON -D OPENCV_EXTRA_MODULES_PATH=/tmp/opencv/opencv_contrib-4.10.0/modules -D BUILD_DOCS=OFF -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=ON -D BUILD_opencv_java=NO -D BUILD_opencv_python=NO -D BUILD_opencv_python2=NO -D BUILD_opencv_python3=NO -D WITH_JASPER=OFF -D WITH_TBB=ON -DOPENCV_GENERATE_PKGCONFIG=ON ..
make -j 7
make preinstall
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0: No such file or directory
mkdir: cannot create directory ‘build’: File exists
CMake Warning:
Ignoring extra path from command line:

".."

CMake Error: The source directory "/home/username/dev/nugo/gocv" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No rule to make target 'preinstall'. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0/build
sudo make install
sudo ldconfig
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0/build: No such file or directory
rm -rf /tmp/opencv
mkdir /tmp/opencv
cd /tmp/opencv
curl -Lo opencv.zip https://github.com/opencv/opencv/archive/refs/tags/4.10.0.zip
unzip -q opencv.zip
curl -Lo opencv_contrib.zip https://github.com/opencv/opencv_contrib/archive/refs/tags/4.10.0.zip
unzip -q opencv_contrib.zip
rm opencv.zip opencv_contrib.zip
cd -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 95.2M 0 95.2M 0 0 10.4M 0 --:--:-- 0:00:09 --:--:-- 16.4M
/bin/sh: line 5: unzip: command not found
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 55.0M 100 55.0M 0 0 17.5M 0 0:00:03 0:00:03 --:--:-- 24.8M
/bin/sh: line 7: unzip: command not found
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0
mkdir build
cd build
rm -rf *
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_SHARED_LIBS=ON -D OPENCV_EXTRA_MODULES_PATH=/tmp/opencv/opencv_contrib-4.10.0/modules -D BUILD_DOCS=OFF -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=ON -D BUILD_opencv_java=NO -D BUILD_opencv_python=NO -D BUILD_opencv_python2=NO -D BUILD_opencv_python3=NO -D WITH_JASPER=OFF -D WITH_TBB=ON -DOPENCV_GENERATE_PKGCONFIG=ON ..
make -j 7
make preinstall
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0: No such file or directory
mkdir: cannot create directory ‘build’: File exists
CMake Warning:
Ignoring extra path from command line:

".."

CMake Error: The source directory "/home/username/dev/nugo/gocv" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No rule to make target 'preinstall'. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0/build
sudo make install
sudo ldconfig
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0/build: No such file or directory
rm -rf /tmp/opencv
mkdir /tmp/opencv
cd /tmp/opencv
curl -Lo opencv.zip https://github.com/opencv/opencv/archive/refs/tags/4.10.0.zip
unzip -q opencv.zip
curl -Lo opencv_contrib.zip https://github.com/opencv/opencv_contrib/archive/refs/tags/4.10.0.zip
unzip -q opencv_contrib.zip
rm opencv.zip opencv_contrib.zip
cd -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 95.2M 100 95.2M 0 0 14.6M 0 0:00:06 0:00:06 --:--:-- 18.9M
/bin/sh: line 5: unzip: command not found
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 55.0M 0 55.0M 0 0 9.8M 0 --:--:-- 0:00:05 --:--:-- 12.8M
/bin/sh: line 7: unzip: command not found
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0
mkdir build
cd build
rm -rf *
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_SHARED_LIBS=ON -D OPENCV_EXTRA_MODULES_PATH=/tmp/opencv/opencv_contrib-4.10.0/modules -D BUILD_DOCS=OFF -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=ON -D BUILD_opencv_java=NO -D BUILD_opencv_python=NO -D BUILD_opencv_python2=NO -D BUILD_opencv_python3=NO -D WITH_JASPER=OFF -D WITH_TBB=ON -DOPENCV_GENERATE_PKGCONFIG=ON ..
make -j 7
make preinstall
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0: No such file or directory
mkdir: cannot create directory ‘build’: File exists
CMake Warning:
Ignoring extra path from command line:

".."

CMake Error: The source directory "/home/username/dev/nugo/gocv" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No rule to make target 'preinstall'. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0/build
sudo make install
sudo ldconfig
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0/build: No such file or directory
rm -rf /tmp/opencv
mkdir /tmp/opencv
cd /tmp/opencv
curl -Lo opencv.zip https://github.com/opencv/opencv/archive/refs/tags/4.10.0.zip
unzip -q opencv.zip
curl -Lo opencv_contrib.zip https://github.com/opencv/opencv_contrib/archive/refs/tags/4.10.0.zip
unzip -q opencv_contrib.zip
rm opencv.zip opencv_contrib.zip
cd -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 95.2M 100 95.2M 0 0 14.1M 0 0:00:06 0:00:06 --:--:-- 19.2M
/bin/sh: line 5: unzip: command not found
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 55.0M 100 55.0M 0 0 16.1M 0 0:00:03 0:00:03 --:--:-- 18.3M
/bin/sh: line 7: unzip: command not found
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0
mkdir build
cd build
rm -rf *
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_SHARED_LIBS=ON -D OPENCV_EXTRA_MODULES_PATH=/tmp/opencv/opencv_contrib-4.10.0/modules -D BUILD_DOCS=OFF -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=ON -D BUILD_opencv_java=NO -D BUILD_opencv_python=NO -D BUILD_opencv_python2=NO -D BUILD_opencv_python3=NO -D WITH_JASPER=OFF -D WITH_TBB=ON -DOPENCV_GENERATE_PKGCONFIG=ON ..
make -j 7
make preinstall
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0: No such file or directory
mkdir: cannot create directory ‘build’: File exists
CMake Warning:
Ignoring extra path from command line:

".."

CMake Error: The source directory "/home/username/dev/nugo/gocv" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No rule to make target 'preinstall'. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0/build
sudo make install
sudo ldconfig
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0/build: No such file or directory
rm -rf /tmp/opencv
mkdir /tmp/opencv
cd /tmp/opencv
curl -Lo opencv.zip https://github.com/opencv/opencv/archive/refs/tags/4.10.0.zip
unzip -q opencv.zip
curl -Lo opencv_contrib.zip https://github.com/opencv/opencv_contrib/archive/refs/tags/4.10.0.zip
unzip -q opencv_contrib.zip
rm opencv.zip opencv_contrib.zip
cd -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 95.2M 0 95.2M 0 0 11.3M 0 --:--:-- 0:00:08 --:--:-- 17.0M
/bin/sh: line 5: unzip: command not found
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 55.0M 100 55.0M 0 0 19.6M 0 0:00:02 0:00:02 --:--:-- 27.3M
/bin/sh: line 7: unzip: command not found
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0
mkdir build
cd build
rm -rf *
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_SHARED_LIBS=ON -D OPENCV_EXTRA_MODULES_PATH=/tmp/opencv/opencv_contrib-4.10.0/modules -D BUILD_DOCS=OFF -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=ON -D BUILD_opencv_java=NO -D BUILD_opencv_python=NO -D BUILD_opencv_python2=NO -D BUILD_opencv_python3=NO -D WITH_JASPER=OFF -D WITH_TBB=ON -DOPENCV_GENERATE_PKGCONFIG=ON ..
make -j 7
make preinstall
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0: No such file or directory
mkdir: cannot create directory ‘build’: File exists
CMake Warning:
Ignoring extra path from command line:

".."

CMake Error: The source directory "/home/username/dev/nugo/gocv" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No rule to make target 'preinstall'. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0/build
sudo make install
sudo ldconfig
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0/build: No such file or directory
rm -rf /tmp/opencv
mkdir /tmp/opencv
cd /tmp/opencv
curl -Lo opencv.zip https://github.com/opencv/opencv/archive/refs/tags/4.10.0.zip
unzip -q opencv.zip
curl -Lo opencv_contrib.zip https://github.com/opencv/opencv_contrib/archive/refs/tags/4.10.0.zip
unzip -q opencv_contrib.zip
rm opencv.zip opencv_contrib.zip
cd -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 95.2M 100 95.2M 0 0 13.9M 0 0:00:06 0:00:06 --:--:-- 19.1M
/bin/sh: line 5: unzip: command not found
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 55.0M 100 55.0M 0 0 16.2M 0 0:00:03 0:00:03 --:--:-- 18.3M
/bin/sh: line 7: unzip: command not found
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0
mkdir build
cd build
rm -rf *
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_SHARED_LIBS=ON -D OPENCV_EXTRA_MODULES_PATH=/tmp/opencv/opencv_contrib-4.10.0/modules -D BUILD_DOCS=OFF -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=ON -D BUILD_opencv_java=NO -D BUILD_opencv_python=NO -D BUILD_opencv_python2=NO -D BUILD_opencv_python3=NO -D WITH_JASPER=OFF -D WITH_TBB=ON -DOPENCV_GENERATE_PKGCONFIG=ON ..
make -j 7
make preinstall
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0: No such file or directory
mkdir: cannot create directory ‘build’: File exists
CMake Warning:
Ignoring extra path from command line:

".."

CMake Error: The source directory "/home/username/dev/nugo/gocv" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No rule to make target 'preinstall'. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0/build
sudo make install
sudo ldconfig
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0/build: No such file or directory
rm -rf /tmp/opencv
mkdir /tmp/opencv
cd /tmp/opencv
curl -Lo opencv.zip https://github.com/opencv/opencv/archive/refs/tags/4.10.0.zip
unzip -q opencv.zip
curl -Lo opencv_contrib.zip https://github.com/opencv/opencv_contrib/archive/refs/tags/4.10.0.zip
unzip -q opencv_contrib.zip
rm opencv.zip opencv_contrib.zip
cd -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 95.2M 100 95.2M 0 0 16.2M 0 0:00:05 0:00:05 --:--:-- 19.8M
/bin/sh: line 5: unzip: command not found
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 55.0M 0 55.0M 0 0 10.6M 0 --:--:-- 0:00:05 --:--:-- 11.2M
/bin/sh: line 7: unzip: command not found
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0
mkdir build
cd build
rm -rf *
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_SHARED_LIBS=ON -D OPENCV_EXTRA_MODULES_PATH=/tmp/opencv/opencv_contrib-4.10.0/modules -D BUILD_DOCS=OFF -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=ON -D BUILD_opencv_java=NO -D BUILD_opencv_python=NO -D BUILD_opencv_python2=NO -D BUILD_opencv_python3=NO -D WITH_JASPER=OFF -D WITH_TBB=ON -DOPENCV_GENERATE_PKGCONFIG=ON ..
make -j 7
make preinstall
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0: No such file or directory
mkdir: cannot create directory ‘build’: File exists
CMake Warning:
Ignoring extra path from command line:

".."

CMake Error: The source directory "/home/username/dev/nugo/gocv" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No rule to make target 'preinstall'. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0/build
sudo make install
sudo ldconfig
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0/build: No such file or directory
rm -rf /tmp/opencv
mkdir /tmp/opencv
cd /tmp/opencv
curl -Lo opencv.zip https://github.com/opencv/opencv/archive/refs/tags/4.10.0.zip
unzip -q opencv.zip
curl -Lo opencv_contrib.zip https://github.com/opencv/opencv_contrib/archive/refs/tags/4.10.0.zip
unzip -q opencv_contrib.zip
rm opencv.zip opencv_contrib.zip
cd -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 95.2M 100 95.2M 0 0 15.0M 0 0:00:06 0:00:06 --:--:-- 18.5M
/bin/sh: line 5: unzip: command not found
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 55.0M 100 55.0M 0 0 14.8M 0 0:00:03 0:00:03 --:--:-- 19.4M
/bin/sh: line 7: unzip: command not found
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0
mkdir build
cd build
rm -rf *
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_SHARED_LIBS=ON -D OPENCV_EXTRA_MODULES_PATH=/tmp/opencv/opencv_contrib-4.10.0/modules -D BUILD_DOCS=OFF -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=ON -D BUILD_opencv_java=NO -D BUILD_opencv_python=NO -D BUILD_opencv_python2=NO -D BUILD_opencv_python3=NO -D WITH_JASPER=OFF -D WITH_TBB=ON -DOPENCV_GENERATE_PKGCONFIG=ON ..
make -j 7
make preinstall
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0: No such file or directory
mkdir: cannot create directory ‘build’: File exists
CMake Warning:
Ignoring extra path from command line:

".."

CMake Error: The source directory "/home/username/dev/nugo/gocv" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No rule to make target 'preinstall'. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0/build
sudo make install
sudo ldconfig
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0/build: No such file or directory
rm -rf /tmp/opencv
mkdir /tmp/opencv
cd /tmp/opencv
curl -Lo opencv.zip https://github.com/opencv/opencv/archive/refs/tags/4.10.0.zip
unzip -q opencv.zip
curl -Lo opencv_contrib.zip https://github.com/opencv/opencv_contrib/archive/refs/tags/4.10.0.zip
unzip -q opencv_contrib.zip
rm opencv.zip opencv_contrib.zip
cd -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 95.2M 100 95.2M 0 0 16.6M 0 0:00:05 0:00:05 --:--:-- 20.0M
/bin/sh: line 5: unzip: command not found
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 55.0M 100 55.0M 0 0 13.5M 0 0:00:04 0:00:04 --:--:-- 16.6M
/bin/sh: line 7: unzip: command not found
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0
mkdir build
cd build
rm -rf *
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_SHARED_LIBS=ON -D OPENCV_EXTRA_MODULES_PATH=/tmp/opencv/opencv_contrib-4.10.0/modules -D BUILD_DOCS=OFF -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=ON -D BUILD_opencv_java=NO -D BUILD_opencv_python=NO -D BUILD_opencv_python2=NO -D BUILD_opencv_python3=NO -D WITH_JASPER=OFF -D WITH_TBB=ON -DOPENCV_GENERATE_PKGCONFIG=ON ..
make -j 7
make preinstall
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0: No such file or directory
mkdir: cannot create directory ‘build’: File exists
CMake Warning:
Ignoring extra path from command line:

".."

CMake Error: The source directory "/home/username/dev/nugo/gocv" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No rule to make target 'preinstall'. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0/build
sudo make install
sudo ldconfig
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0/build: No such file or directory
rm -rf /tmp/opencv
mkdir /tmp/opencv
cd /tmp/opencv
curl -Lo opencv.zip https://github.com/opencv/opencv/archive/refs/tags/4.10.0.zip
unzip -q opencv.zip
curl -Lo opencv_contrib.zip https://github.com/opencv/opencv_contrib/archive/refs/tags/4.10.0.zip
unzip -q opencv_contrib.zip
rm opencv.zip opencv_contrib.zip
cd -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 95.2M 100 95.2M 0 0 19.8M 0 0:00:04 0:00:04 --:--:-- 24.3M
/bin/sh: line 5: unzip: command not found
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 55.0M 100 55.0M 0 0 11.3M 0 0:00:04 0:00:04 --:--:-- 14.2M
/bin/sh: line 7: unzip: command not found
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0
mkdir build
cd build
rm -rf *
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_SHARED_LIBS=ON -D OPENCV_EXTRA_MODULES_PATH=/tmp/opencv/opencv_contrib-4.10.0/modules -D BUILD_DOCS=OFF -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=ON -D BUILD_opencv_java=NO -D BUILD_opencv_python=NO -D BUILD_opencv_python2=NO -D BUILD_opencv_python3=NO -D WITH_JASPER=OFF -D WITH_TBB=ON -DOPENCV_GENERATE_PKGCONFIG=ON ..
make -j 7
make preinstall
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0: No such file or directory
mkdir: cannot create directory ‘build’: File exists
CMake Warning:
Ignoring extra path from command line:

".."

CMake Error: The source directory "/home/username/dev/nugo/gocv" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No rule to make target 'preinstall'. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0/build
sudo make install
sudo ldconfig
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0/build: No such file or directory
rm -rf /tmp/opencv
mkdir /tmp/opencv
cd /tmp/opencv
curl -Lo opencv.zip https://github.com/opencv/opencv/archive/refs/tags/4.10.0.zip
unzip -q opencv.zip
curl -Lo opencv_contrib.zip https://github.com/opencv/opencv_contrib/archive/refs/tags/4.10.0.zip
unzip -q opencv_contrib.zip
rm opencv.zip opencv_contrib.zip
cd -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 95.2M 100 95.2M 0 0 12.6M 0 0:00:07 0:00:07 --:--:-- 18.7M
/bin/sh: line 5: unzip: command not found
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 55.0M 100 55.0M 0 0 17.8M 0 0:00:03 0:00:03 --:--:-- 24.8M
/bin/sh: line 7: unzip: command not found
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0
mkdir build
cd build
rm -rf *
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_SHARED_LIBS=ON -D OPENCV_EXTRA_MODULES_PATH=/tmp/opencv/opencv_contrib-4.10.0/modules -D BUILD_DOCS=OFF -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=ON -D BUILD_opencv_java=NO -D BUILD_opencv_python=NO -D BUILD_opencv_python2=NO -D BUILD_opencv_python3=NO -D WITH_JASPER=OFF -D WITH_TBB=ON -DOPENCV_GENERATE_PKGCONFIG=ON ..
make -j 7
make preinstall
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0: No such file or directory
mkdir: cannot create directory ‘build’: File exists
CMake Warning:
Ignoring extra path from command line:

".."

CMake Error: The source directory "/home/username/dev/nugo/gocv" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No rule to make target 'preinstall'. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0/build
sudo make install
sudo ldconfig
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0/build: No such file or directory
rm -rf /tmp/opencv
mkdir /tmp/opencv
cd /tmp/opencv
curl -Lo opencv.zip https://github.com/opencv/opencv/archive/refs/tags/4.10.0.zip
unzip -q opencv.zip
curl -Lo opencv_contrib.zip https://github.com/opencv/opencv_contrib/archive/refs/tags/4.10.0.zip
unzip -q opencv_contrib.zip
rm opencv.zip opencv_contrib.zip
cd -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 95.2M 100 95.2M 0 0 17.4M 0 0:00:05 0:00:05 --:--:-- 21.1M
/bin/sh: line 5: unzip: command not found
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 55.0M 100 55.0M 0 0 16.0M 0 0:00:03 0:00:03 --:--:-- 19.2M
/bin/sh: line 7: unzip: command not found
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0
mkdir build
cd build
rm -rf *
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_SHARED_LIBS=ON -D OPENCV_EXTRA_MODULES_PATH=/tmp/opencv/opencv_contrib-4.10.0/modules -D BUILD_DOCS=OFF -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=ON -D BUILD_opencv_java=NO -D BUILD_opencv_python=NO -D BUILD_opencv_python2=NO -D BUILD_opencv_python3=NO -D WITH_JASPER=OFF -D WITH_TBB=ON -DOPENCV_GENERATE_PKGCONFIG=ON ..
make -j 7
make preinstall
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0: No such file or directory
mkdir: cannot create directory ‘build’: File exists
CMake Warning:
Ignoring extra path from command line:

".."

CMake Error: The source directory "/home/username/dev/nugo/gocv" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No rule to make target 'preinstall'. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0/build
sudo make install
sudo ldconfig
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0/build: No such file or directory
rm -rf /tmp/opencv
mkdir /tmp/opencv
cd /tmp/opencv
curl -Lo opencv.zip https://github.com/opencv/opencv/archive/refs/tags/4.10.0.zip
unzip -q opencv.zip
curl -Lo opencv_contrib.zip https://github.com/opencv/opencv_contrib/archive/refs/tags/4.10.0.zip
unzip -q opencv_contrib.zip
rm opencv.zip opencv_contrib.zip
cd -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 95.2M 100 95.2M 0 0 18.9M 0 0:00:05 0:00:05 --:--:-- 20.3M
/bin/sh: line 5: unzip: command not found
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 55.0M 100 55.0M 0 0 9.9M 0 0:00:05 0:00:05 --:--:-- 12.6M
/bin/sh: line 7: unzip: command not found
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0
mkdir build
cd build
rm -rf *
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_SHARED_LIBS=ON -D OPENCV_EXTRA_MODULES_PATH=/tmp/opencv/opencv_contrib-4.10.0/modules -D BUILD_DOCS=OFF -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=ON -D BUILD_opencv_java=NO -D BUILD_opencv_python=NO -D BUILD_opencv_python2=NO -D BUILD_opencv_python3=NO -D WITH_JASPER=OFF -D WITH_TBB=ON -DOPENCV_GENERATE_PKGCONFIG=ON ..
make -j 7
make preinstall
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0: No such file or directory
mkdir: cannot create directory ‘build’: File exists
CMake Warning:
Ignoring extra path from command line:

".."

CMake Error: The source directory "/home/username/dev/nugo/gocv" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No rule to make target 'preinstall'. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0/build
sudo make install
sudo ldconfig
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0/build: No such file or directory
rm -rf /tmp/opencv
mkdir /tmp/opencv
cd /tmp/opencv
curl -Lo opencv.zip https://github.com/opencv/opencv/archive/refs/tags/4.10.0.zip
unzip -q opencv.zip
curl -Lo opencv_contrib.zip https://github.com/opencv/opencv_contrib/archive/refs/tags/4.10.0.zip
unzip -q opencv_contrib.zip
rm opencv.zip opencv_contrib.zip
cd -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 95.2M 100 95.2M 0 0 17.9M 0 0:00:05 0:00:05 --:--:-- 21.7M
/bin/sh: line 5: unzip: command not found
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
63 55.0M 63 34.9M 0 0 9927k 0 0:00:05 0:00:03 0:00:02 11.7M^Cmake: *** [Makefile:80: download] Interrupt
/bin/sh: line 4: cd: OLDPWD not set
make: *** [Makefile:301: sudo_install] Error 1
/bin/sh: line 4: cd: OLDPWD not set
make: *** [Makefile:301: sudo_install] Error 1
/bin/sh: line 4: cd: OLDPWD not set
make: *** [Makefile:301: sudo_install] Error 1
/bin/sh: line 4: cd: OLDPWD not set
make: *** [Makefile:301: sudo_install] Error 1
/bin/sh: line 4: cd: OLDPWD not set
make: *** [Makefile:301: sudo_install] Error 1
/bin/sh: line 4: cd: OLDPWD not set
make: *** [Makefile:301: sudo_install] Error 1
/bin/sh: line 4: cd: OLDPWD not set
make: *** [Makefile:301: sudo_install] Error 1
/bin/sh: line 4: cd: OLDPWD not set
make: *** [Makefile:301: sudo_install] Error 1
/bin/sh: line 4: cd: OLDPWD not set
make: *** [Makefile:301: sudo_install] Error 1
/bin/sh: line 4: cd: OLDPWD not set
make: *** [Makefile:301: sudo_install] Error 1
/bin/sh: line 4: cd: OLDPWD not set
make: *** [Makefile:301: sudo_install] Error 1
/bin/sh: line 4: cd: OLDPWD not set
make: *** [Makefile:301: sudo_install] Error 1
/bin/sh: line 4: cd: OLDPWD not set
make: *** [Makefile:301: sudo_install] Error 1
/bin/sh: line 4: cd: OLDPWD not set
make: *** [Makefile:301: sudo_install] Error 1
/bin/sh: line 4: cd: OLDPWD not set
make: *** [Makefile:301: sudo_install] Error 1
/bin/sh: line 4: cd: OLDPWD not set
make: *** [Makefile:301: sudo_install] Error 1
/bin/sh: line 4: cd: OLDPWD not set
make: *** [Makefile:301: sudo_install] Error 1
/bin/sh: line 4: cd: OLDPWD not set
make: *** [Makefile:301: sudo_install] Error 1
/bin/sh: line 4: cd: OLDPWD not set
make: *** [Makefile:301: sudo_install] Error 1

Result of running sudo make install:

❯ sudo make install
rm -rf /tmp/opencv
mkdir /tmp/opencv
cd /tmp/opencv
curl -Lo opencv.zip https://github.com/opencv/opencv/archive/refs/tags/4.10.0.zip
unzip -q opencv.zip
curl -Lo opencv_contrib.zip https://github.com/opencv/opencv_contrib/archive/refs/tags/4.10.0.zip
unzip -q opencv_contrib.zip
rm opencv.zip opencv_contrib.zip
cd -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 95.2M 100 95.2M 0 0 11.2M 0 0:00:08 0:00:08 --:--:-- 19.2M
/bin/sh: line 5: unzip: command not found
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 55.0M 100 55.0M 0 0 15.5M 0 0:00:03 0:00:03 --:--:-- 20.1M
/bin/sh: line 7: unzip: command not found
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0
mkdir build
cd build
rm -rf *
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_SHARED_LIBS=ON -D OPENCV_EXTRA_MODULES_PATH=/tmp/opencv/opencv_contrib-4.10.0/modules -D BUILD_DOCS=OFF -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=ON -D BUILD_opencv_java=NO -D BUILD_opencv_python=NO -D BUILD_opencv_python2=NO -D BUILD_opencv_python3=NO -D WITH_JASPER=OFF -D WITH_TBB=ON -DOPENCV_GENERATE_PKGCONFIG=ON ..
make -j 7
make preinstall
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0: No such file or directory
mkdir: cannot create directory ‘build’: File exists
CMake Warning:
Ignoring extra path from command line:

".."

CMake Error: The source directory "/home/username/dev/nugo/gocv" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No rule to make target 'preinstall'. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0/build
sudo make install
sudo ldconfig
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0/build: No such file or directory
rm -rf /tmp/opencv
mkdir /tmp/opencv
cd /tmp/opencv
curl -Lo opencv.zip https://github.com/opencv/opencv/archive/refs/tags/4.10.0.zip
unzip -q opencv.zip
curl -Lo opencv_contrib.zip https://github.com/opencv/opencv_contrib/archive/refs/tags/4.10.0.zip
unzip -q opencv_contrib.zip
rm opencv.zip opencv_contrib.zip
cd -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 95.2M 100 95.2M 0 0 9396k 0 0:00:10 0:00:10 --:--:-- 8571k
/bin/sh: line 5: unzip: command not found
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 55.0M 100 55.0M 0 0 17.0M 0 0:00:03 0:00:03 --:--:-- 24.6M
/bin/sh: line 7: unzip: command not found
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0
mkdir build
cd build
rm -rf *
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_SHARED_LIBS=ON -D OPENCV_EXTRA_MODULES_PATH=/tmp/opencv/opencv_contrib-4.10.0/modules -D BUILD_DOCS=OFF -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=ON -D BUILD_opencv_java=NO -D BUILD_opencv_python=NO -D BUILD_opencv_python2=NO -D BUILD_opencv_python3=NO -D WITH_JASPER=OFF -D WITH_TBB=ON -DOPENCV_GENERATE_PKGCONFIG=ON ..
make -j 7
make preinstall
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0: No such file or directory
mkdir: cannot create directory ‘build’: File exists
CMake Warning:
Ignoring extra path from command line:

".."

CMake Error: The source directory "/home/username/dev/nugo/gocv" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
make[1]: Entering directory '/home/username/dev/nugo/gocv/build'
make[1]: *** No rule to make target 'preinstall'. Stop.
make[1]: Leaving directory '/home/username/dev/nugo/gocv/build'
/home/username/dev/nugo/gocv
cd /tmp/opencv/opencv-4.10.0/build
sudo make install
sudo ldconfig
cd -
/bin/sh: line 1: cd: /tmp/opencv/opencv-4.10.0/build: No such file or directory
rm -rf /tmp/opencv
mkdir /tmp/opencv
cd /tmp/opencv
curl -Lo opencv.zip https://github.com/opencv/opencv/archive/refs/tags/4.10.0.zip
unzip -q opencv.zip
curl -Lo opencv_contrib.zip https://github.com/opencv/opencv_contrib/archive/refs/tags/4.10.0.zip
unzip -q opencv_contrib.zip
rm opencv.zip opencv_contrib.zip
cd -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
2 95.2M 2 2510k 0 0 2315k 0 0:00:42 0:00:01 0:00:41 2315k^Cmake: *** [Makefile:80: download] Interrupt
/bin/sh: line 4: cd: OLDPWD not set
make: *** [Makefile:301: sudo_install] Error 1
/bin/sh: line 4: cd: OLDPWD not set
make: *** [Makefile:301: sudo_install] Error 1

gocv on  release via C v14.2.1-gcc via 🐹 v1.23.1 took 31s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant