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

Could NOT find OpenJPEG #1477

Open
silent-bury opened this issue Aug 24, 2023 · 1 comment
Open

Could NOT find OpenJPEG #1477

silent-bury opened this issue Aug 24, 2023 · 1 comment

Comments

@silent-bury
Copy link

cmake
-G Ninja
-DCMAKE_INSTALL_PREFIX=/usr/local/opencv-4.6.0
-DCMAKE_BUILD_TYPE=Release
-DOPENCV_GENERATE_PKGCONFIG=ON
-DBUILD_opencv_world=ON
-DBUILD_JAVA=OFF
-DBUILD_opencv_python3=OFF
-DBUILD_opencv_python_bindings_generator=OFF
-DBUILD_opencv_python_tests=OFF
-DBUILD_IPP_IW=ON
-DBUILD_ITT=ON
-DBUILD_OPENEXR=ON
-DBUILD_OPENJPEG=ON
-DBUILD_PNG=OFF
-DBUILD_PROTOBUF=ON
-DBUILD_SHARED_LIBS=ON
-DBUILD_TESTS=ON
-DBUILD_TIFF=ON
-DBUILD_WEBP=ON
-DBUILD_WITH_DYNAMIC_IPP=OFF
-DBUILD_ZLIB=OFF
-DBUILD_opencv_apps=ON
-DBUILD_opencv_calib3d=ON
-DBUILD_opencv_core=ON
-DBUILD_opencv_dnn=ON
-Dopencv_features2d=ON
-DBUILD_opencv_flann=ON
-DBUILD_opencv_gapi=ON
-DBUILD_opencv_highgui=ON
-DBUILD_opencv_imgcodecs=ON
-DBUILD_opencv_imgproc=ON
-DBUILD_opencv_ml=ON
-DBUILD_opencv_objc_bindings_generator=ON
-DBUILD_opencv_objdetect=ON
-DBUILD_opencv_photo=ON
-DBUILD_opencv_python_bindings_generator=ON
-DBUILD_opencv_python_tests=ON
-DBUILD_opencv_stitching=ON
-DBUILD_opencv_ts=ON
-DBUILD_opencv_videoio=ON
-DCPU_BASELINE=AVX
-DCPU_DISPATCH=SSE4_1,SSE4_2,FP16,AVX
-DEigen3_DIR=/usr/local/eigen-3.4.0
-DINSTALL_PYTHON_EXAMPLES=ON
-DOPENCV_DNN_CUDA=OFF
-DOPENCV_DNN_OPENCL=ON
-DOPENCV_DNN_OPENVINO=ON
-DOPENCV_ENABLE_ALLOCATOR_STATS=ON
-DOPENCV_ENABLE_ATOMIC_LONG_LONG=ON
-DOPENCV_GAPI_GSTREAMER=OFF
-DOPENCV_IPP_GAUSSIAN_BLUR=ON
-DWITH_1394=OFF
-DWITH_ADE=ON
-DWITH_EIGEN=ON
-DWITH_FFMPEG=ON
-DWITH_FREETYPE=ON
-DWITH_GTK=ON
-DWITH_IMGCODEC_PXM=ON
-DWITH_IMGCODEC_SUNRASTER=ON
-DWITH_IPP=ON
-DWITH_ITT=ON
-DWITH_JASPER=ON
-DWITH_JPEG=ON
-DWITH_LAPACK=ON
-DWITH_MFX=OFF
-DWITH_OAK=ON
-DWITH_ONNX=ON
-DWITH_OPENCL=ON
-DWITH_OPENCLAMDBLAS=ON
-DWITH_OPENCLAMDFFT=ON
-DWITH_OPENCL_SVM=ON
-DWITH_OPENJPEG=ON
-DWITH_PNG=ON
-DWITH_PROTOBUF=ON
-DWITH_PTHREADS_PF=ON
-DWITH_QT=OFF
-DWITH_QUIRC=ON
-DWITH_TIFF=ON
-DWITH_V4L=ON
-DWITH_VA=ON
-DWITH_VA_INTEL=ON
-DWITH_WEBP=ON
-DOpenBLAS_LIB=/usr/local/openBlas/lib/libopenblas.so
-DOpenBLAS_INCLUDE_DIR=/usr/local/openBlas/include
-DOpenJPEG_DIR=/usr/local/opencv-4.6.0-openjp2-2.4.0/lib/openjpeg-2.4
-DOPENCV_EXTRA_MODULES_PATH=/home/tjc/source_build/opencv_contrib-4.6.0/modules
..
image
image

What is the reason for this

@mmomtchev
Copy link

The CMake integration of openjpeg in Ubuntu is borked, I am currently trying to find why and is it the fault of the package maintainers or the library authors:

https://bugs.launchpad.net/ubuntu/+source/openjpeg2/+bug/2060106

The CMake modules installed are not complete.

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

2 participants