Code Monkey home page Code Monkey logo

Comments (3)

Kumataro avatar Kumataro commented on June 10, 2024 1

Hi, please could you confirm what version combination OpenCV and OpenCV Contrib do you use ?

OpenCV: 4.8.1 (2c1ec4245dc793153c50fcbd255863dd1382c961)

OpenCV 4.8.1 is 5199850039ad23f1f0e6cccea5061a9fea5efca6.
2c1ec4245dc793153c50fcbd255863dd1382c961 is on 4.x branch.

And there are no information about OpenCV contrib.

This problem is confirmed with my ubuntu 23.10 environment. Maybe it is same reason.

  1. git clone opencv and git checkout 4.8.1. ( it is 4.8.1 tag)
  2. git clone opencv_contrib ( it is 4.x branch).
  3. cmake and build

In this case, opencv is based on 4.8.1, opencv/opencv@a287605 is not installed.
However opencv_contrib is based on 4.x branch. b9a460b is installed.

So to occur compile error is not unnatural.
If you want to use OpenCV 4.8.1 with contrib, please could you try cd opencv_contrib ; git checkout 4.8.1.


OpenCV 4.x branch and OpenCV Contrib 4.8.1 tag ( NG )

-- General configuration for OpenCV 4.8.1 =====================================
--   Version control:               4.8.1
--
--   Extra modules:
--     Location (extra):            /home/kmtr/work/opencv_contrib/modules
--     Version control (extra):     4.8.1-43-g3c5635ea

OpenCV 4.x branch and OpenCV Contrib 4.x branch (OK)

General configuration for OpenCV 4.8.0-dev =====================================
  Version control:               4.8.0-417-g2c1ec4245d

  Extra modules:
    Location (extra):            /home/kmtr/work/opencv_contrib/modules
    Version control (extra):     4.8.1-43-g3c5635ea

OpenCV 4.8.1 tag and OpenCV Contrib 4.8.1 tag (OK)

-- General configuration for OpenCV 4.8.1 =====================================
--   Version control:               4.8.1
--
--   Extra modules:
--     Location (extra):            /home/kmtr/work/opencv_contrib/modules
--     Version control (extra):     4.8.1
--

from opencv_contrib.

OgreTransporter avatar OgreTransporter commented on June 10, 2024

Full log:
Compiler.txt

from opencv_contrib.

OgreTransporter avatar OgreTransporter commented on June 10, 2024

Thank you very much! The hint cd opencv_contrib ; git checkout 4.8.1 helped.

from opencv_contrib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.