... | ... | @@ -42,8 +42,7 @@ In the following, change the OPENCV_EXTRA_MODULES_PATH to the place you checked |
|
|
sudo make
|
|
|
sudo make install
|
|
|
|
|
|
**If you have trouble installing due to undefined references to the LIBTIFF_4.0 library**:
|
|
|
You will need to clear the cache and remake using BUILD_TIFF=ON as follows:
|
|
|
**If you have trouble installing due to undefined references to the LIBTIFF_4.0 library run the following. Otherwise, skip this block of code:**
|
|
|
|
|
|
rm CMakeCache.txt
|
|
|
cmake -D CMAKE_BUILD_TYPE=RELEASE -D OPENCV_EXTRA_MODULES_PATH=/scratch/opencv_contrib/modules -D CMAKE_INSTALL_PREFIX=$(python3 -c "import sys; print(sys.prefix)") -D PYTHON_EXECUTABLE=$(which python3) -D BUILD_TIFF=ON ..
|
... | ... | |