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

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

Open
NeroBurner opened this issue Nov 15, 2024 · 0 comments
Open

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

NeroBurner opened this issue Nov 15, 2024 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed package:update Add a new version to an existing package

Comments

@NeroBurner
Copy link

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;
      |                     ^~~~~~
@NeroBurner NeroBurner added bug Something isn't working help wanted Extra attention is needed package:update Add a new version to an existing package labels Nov 15, 2024
NeroBurner added a commit that referenced this issue Nov 15, 2024
* OpenCV and dependencies update to v4.10.0-p0

Update OpenCV, OpenCV-Extra and ippicv to `v4.10.0-p0`.
Those packages belong together and should be updated at once.

- OpenCV: update to 4.10.0-p0, but riegl branch
- OpenCV-Extra: update to 4.10.0 release
- ippicv: update to 20240201 for OpenCV 4.10.0

But only update the version for MSVC as the other compiler
have an error with TIFF headers.
See: #765
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed package:update Add a new version to an existing package
Projects
None yet
Development

No branches or pull requests

1 participant