Skip to content

OpenCV 4.10.0-p0 not working on Linux only on MSVC #765

@NeroBurner

Description

@NeroBurner

Ubuntu builds seem to be broken because of a discrepancy with TIFF headers. MSVC builds are fine. Updating just the MSVC toolchain for now in #764

from toolchain OpenCV gcc-9-cxx17-fpic ubuntu-20.04

 In file included from /home/runner/work/hunter/hunter/_testing/Hunter/_Base/f03fb52/b8fbc11/b0fd463/Build/OpenCV/Source/modules/imgcodecs/src/grfmt_tiff.cpp:56: /home/runner/work/hunter/hunter/_testing/Hunter/_Base/f03fb52/b8fbc11/b0fd463/Install/include/tiff.h:77:23: error: conflicting declaration ‘typedef long long int int64’ 77 | typedef TIFF_INT64_T int64; | ^~~~~ In file included from /home/runner/work/hunter/hunter/_testing/Hunter/_Base/f03fb52/b8fbc11/b0fd463/Build/OpenCV/Source/modules/core/include/opencv2/core/cvdef.h:190, from /home/runner/work/hunter/hunter/_testing/Hunter/_Base/f03fb52/b8fbc11/b0fd463/Build/OpenCV/Source/modules/core/include/opencv2/core.hpp:52, from /home/runner/work/hunter/hunter/_testing/Hunter/_Base/f03fb52/b8fbc11/b0fd463/Build/OpenCV/Source/modules/imgcodecs/include/opencv2/imgcodecs.hpp:46, from /home/runner/work/hunter/hunter/_testing/Hunter/_Base/f03fb52/b8fbc11/b0fd463/Build/OpenCV/Source/modules/imgcodecs/src/precomp.hpp:45, from /home/runner/work/hunter/hunter/_testing/Hunter/_Base/f03fb52/b8fbc11/b0fd463/Build/OpenCV/Source/modules/imgcodecs/src/grfmt_tiff.cpp:48: /home/runner/work/hunter/hunter/_testing/Hunter/_Base/f03fb52/b8fbc11/b0fd463/Build/OpenCV/Source/modules/core/include/opencv2/core/hal/interface.h:61:20: note: previous declaration as ‘typedef int64_t int64’ 61 | typedef int64_t int64; | ^~~~~ In file included from /home/runner/work/hunter/hunter/_testing/Hunter/_Base/f03fb52/b8fbc11/b0fd463/Build/OpenCV/Source/modules/imgcodecs/src/grfmt_tiff.cpp:56: /home/runner/work/hunter/hunter/_testing/Hunter/_Base/f03fb52/b8fbc11/b0fd463/Install/include/tiff.h:78:23: error: conflicting declaration ‘typedef long long unsigned int uint64’ 78 | typedef TIFF_UINT64_T uint64; | ^~~~~~ In file included from /home/runner/work/hunter/hunter/_testing/Hunter/_Base/f03fb52/b8fbc11/b0fd463/Build/OpenCV/Source/modules/core/include/opencv2/core/cvdef.h:190, from /home/runner/work/hunter/hunter/_testing/Hunter/_Base/f03fb52/b8fbc11/b0fd463/Build/OpenCV/Source/modules/core/include/opencv2/core.hpp:52, from /home/runner/work/hunter/hunter/_testing/Hunter/_Base/f03fb52/b8fbc11/b0fd463/Build/OpenCV/Source/modules/imgcodecs/include/opencv2/imgcodecs.hpp:46, from /home/runner/work/hunter/hunter/_testing/Hunter/_Base/f03fb52/b8fbc11/b0fd463/Build/OpenCV/Source/modules/imgcodecs/src/precomp.hpp:45, from /home/runner/work/hunter/hunter/_testing/Hunter/_Base/f03fb52/b8fbc11/b0fd463/Build/OpenCV/Source/modules/imgcodecs/src/grfmt_tiff.cpp:48: /home/runner/work/hunter/hunter/_testing/Hunter/_Base/f03fb52/b8fbc11/b0fd463/Build/OpenCV/Source/modules/core/include/opencv2/core/hal/interface.h:62:21: note: previous declaration as ‘typedef uint64_t uint64’ 62 | typedef uint64_t uint64; | ^~~~~~ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is neededpackage:updateAdd a new version to an existing package

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions