Commit b674c4c3 authored by Wieland Morgenstern's avatar Wieland Morgenstern

attempt MACPORTS OpenCV4 build. weird lade and with opencv_contrib also...

attempt MACPORTS OpenCV4 build. weird lade and with opencv_contrib also openjpeg dependencies dragged in by OpenCV4. still doesn't link the OpenCV API properly
parent 0e3ba164
......@@ -13,9 +13,10 @@ Using ccache to speed up recompilation is recommended, but not required, on Linu
sudo port install CMake bison doxygen yasm ninja ccache
# Libraries
sudo port install opencv glew gsed jpeg libpng \
tiff faac faad2 ceres-solver glfw glm OpenEXR \
ffmpeg +gpl2 +librtmp +nonfree
sudo port install opencv4 +nonfree +opencv_contrib +openmp \
glew gsed jpeg libpng \
tiff faac faad2 ceres-solver glfw glm OpenEXR \
ffmpeg +gpl2 +librtmp +nonfree
```
```
......
......@@ -692,6 +692,11 @@ endif()
# Calibration && AutoCrop && CameraAmbisonics
# ----------------------------------------------------------------------------
find_package(OpenCV REQUIRED)
if(MACPORTS AND (OpenCV_VERSION GREATER_EQUAL 4))
find_package(ade REQUIRED)
find_package(openjpeg REQUIRED)
# set(OpenCV_LIBRARIES ${OpenCV_LIBRARIES} ${ADE_LIBRARIES})
endif()
add_subdirectory(src/calibration)
add_subdirectory(src/autocrop)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment