Hi, As far as I understand it, to install opencv 4.0.0 on a mint 18 linux, i need to build it from sources. So I tried (and failed).
The Website (https://docs.opencv.org/4.0.0/d7/d9f/tutorial_linux_install.html) informs:
cd ~/<my_working_directory> git clone https://github.com/opencv/opencv.git git clone https://github.com/opencv/opencv_contrib.git
cd ~/opencv mkdir build cd build
so far nothing exciting. Next:
cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local ..
which yields: CMake Error at CMakeLists.txt:11 (message):
FATAL: In-source builds are not allowed.
You should create a separate directory for build files.
-- Configuring incomplete, errors occurred!
I tried to add -DCMAKE_SOURCE_DIR and/or -DMAKE_BINARY_DIR but more or less in vain.
Can someone help me?
Regards
Leo