Expected behavior and actual behavior.
Expected: build completed.
Actual: build failed.
Error:
Linking C executable ../../../bin/opj_decompress
ld: library not found for -ltiff
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [bin/opj_decompress] Error 1
make[1]: *** [src/bin/jp2/CMakeFiles/opj_decompress.dir/all] Error 2
make: *** [all] Error 2
Steps to reproduce the problem.
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make
Operating system
OSX 12.4 m1
openjpeg version
v2.5.0
Additional info
v2.4.0 - build works ok.
brew info libtiff
libtiff: stable 4.4.0 (bottled)
TIFF library and utilities
https://libtiff.gitlab.io/libtiff/
/opt/homebrew/Cellar/libtiff/4.4.0 (249 files, 4.8MB) *
Expected behavior and actual behavior.
Expected: build completed.
Actual: build failed.
Error:
Steps to reproduce the problem.
mkdir build cd build cmake .. -DCMAKE_BUILD_TYPE=Release makeOperating system
OSX 12.4 m1
openjpeg version
v2.5.0
Additional info
v2.4.0 - build works ok.
brew info libtiff libtiff: stable 4.4.0 (bottled) TIFF library and utilities https://libtiff.gitlab.io/libtiff/ /opt/homebrew/Cellar/libtiff/4.4.0 (249 files, 4.8MB) *