Compile-time errors with cv::TiffDecoderBufHelper
I encountered compile-time errors when building grfmt_tiff.cpp.o
in the imgcodecs
module like these (a full make log in with VERBOSE=1 is attachwed below)
grfmt_tiff.cpp:132:12: error: 'tmsize_t' does not name a type
grfmt_tiff.cpp:213:86: error: 'read' is not a member of 'cv::TiffDecoderBufHelper'
...
I was unable to find similar issues online. Can someone help?
Thanks in advance.
System info:
- OpenCV: 3.3.1
- Operating System / Platform: Cray Linux Environment
- Compiler: GCC 6.3.0
Make log:
/mnt/a/sw/xe/cmake/3.9.4/sles11.3_gnu4.9.3/bin/cmake -H/projects/install_path/Programs/OpenCV/opencv-3.3.1 -B/projects/install_path/Programs/OpenCV/opencv-3.3.1/build --check-build-system CMakeFiles/Makefile.cmake 0
/mnt/a/sw/xe/cmake/3.9.4/sles11.3_gnu4.9.3/bin/cmake -E cmake_progress_start /projects/install_path/Programs/OpenCV/opencv-3.3.1/build/CMakeFiles /projects/install_path/Programs/OpenCV/opencv-3.3.1/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/mnt/b/projects/install_path/Programs/OpenCV/opencv-3.3.1/build'
make -f CMakeFiles/gen-pkgconfig.dir/build.make CMakeFiles/gen-pkgconfig.dir/depend
make[2]: Entering directory `/mnt/b/projects/install_path/Programs/OpenCV/opencv-3.3.1/build'
cd /projects/install_path/Programs/OpenCV/opencv-3.3.1/build && /mnt/a/sw/xe/cmake/3.9.4/sles11.3_gnu4.9.3/bin/cmake -E cmake_depends "Unix Makefiles" /projects/install_path/Programs/OpenCV/opencv-3.3.1 /projects/install_path/Programs/OpenCV/opencv-3.3.1 /projects/install_path/Programs/OpenCV/opencv-3.3.1/build /projects/install_path/Programs/OpenCV/opencv-3.3.1/build /projects/install_path/Programs/OpenCV/opencv-3.3.1/build/CMakeFiles/gen-pkgconfig.dir/DependInfo.cmake --color=
make[2]: Leaving directory `/mnt/b/projects/install_path/Programs/OpenCV/opencv-3.3.1/build'
make -f CMakeFiles/gen-pkgconfig.dir/build.make CMakeFiles/gen-pkgconfig.dir/build
make[2]: Entering directory `/mnt/b/projects/install_path/Programs/OpenCV/opencv-3.3.1/build'
make[2]: Nothing to be done for `CMakeFiles/gen-pkgconfig.dir/build'.
make[2]: Leaving directory `/mnt/b/projects/install_path/Programs/OpenCV/opencv-3.3.1/build'
[ 0%] Built target gen-pkgconfig
make -f 3rdparty/libwebp/CMakeFiles/libwebp.dir/build.make 3rdparty/libwebp/CMakeFiles/libwebp.dir/depend
make[2]: Entering directory `/mnt/b/projects/install_path/Programs/OpenCV/opencv-3.3.1/build'
cd /projects/install_path/Programs/OpenCV/opencv-3.3.1/build && /mnt/a/sw/xe/cmake/3.9.4/sles11.3_gnu4.9.3/bin/cmake -E cmake_depends "Unix Makefiles" /projects/install_path/Programs/OpenCV/opencv-3.3.1 /projects/install_path/Programs/OpenCV/opencv-3.3.1/3rdparty/libwebp /projects/install_path/Programs/OpenCV/opencv-3.3.1/build /projects/install_path/Programs/OpenCV/opencv-3.3.1/build/3rdparty/libwebp /projects/install_path/Programs/OpenCV/opencv-3.3.1/build/3rdparty/libwebp/CMakeFiles/libwebp.dir/DependInfo.cmake --color=
make[2]: Leaving directory `/mnt/b/projects/install_path/Programs/OpenCV/opencv-3.3.1/build'
make -f 3rdparty/libwebp/CMakeFiles/libwebp.dir/build.make 3rdparty/libwebp/CMakeFiles/libwebp.dir/build
make[2]: Entering directory `/mnt/b/projects/install_path/Programs/OpenCV/opencv-3.3.1/build'
make[2]: Nothing to be done for `3rdparty/libwebp/CMakeFiles/libwebp ...