GithubHelp home page GithubHelp logo

Comments (7)

gavanderhoorn avatar gavanderhoorn commented on June 6, 2024

Thanks for the report.

slightly off-topic, but could I please ask you to not use screenshots for what is essentially plain text? You should be able to just copy-paste the terminal text. Be sure to use backticks to format it properly in your issue.

from industrial_calibration.

gavanderhoorn avatar gavanderhoorn commented on June 6, 2024

Could you please add some more information to your OP? Which OS is this, which version, how did you install OpenCV, etc.

[..] I am surprised that there are build errors in the first place.

May I ask why? You're building a development branch and software is never frozen in time, especially not when you depend on libraries that are not under your control. We're always tracking a moving target wrt our dependencies.

Building things from sources (as you are doing) means that things like this can happen.

Having said that, this is obviously an issue that we take seriously, so we should get this fixed.

from industrial_calibration.

drchrislewis avatar drchrislewis commented on June 6, 2024

I know this won't be much help, but my opencv version is 2.4.8. I compile without errors. In addition the class circledetector() was in a beta version, and I put a modified copy of it in our repo. The main distinction was that I fit an ellipse to the contours of blobs rather then just finding their center of mass to find the center of the circle. I saw a slight improvement in accuracy with a circle detector, but wasn't sure if the significance was real. The only reason we wanted to be able to switch between two different feature detectors was for accuracy comparison. We could just pick one or the other and avoid the problem, but I still don't understand why there is a problem assigning a pointer to a base class to point to the derived class. findCirclesGrid() requires a Ptr and circle_detector_ptr_ is a cv::Ptrcv::FeatureDetector while we have the blob detector declared as: class SimpleBlobDetector : public FeatureDetector. Perhaps there is a difference between our compilers?

from industrial_calibration.

jshepley14 avatar jshepley14 commented on June 6, 2024

Hi all, thank you for your replies. I am using Ubuntu 14.04.5. As for C++ compilers, they are listed as
g++ 4:4.8.2-1ubuntu6 amd64
and
g++-4.8 4.8.4-2ubuntu1~14.04.3 amd64
As for OpenCV, I was not the one to install it so I don't know exactly how it was installed, but again, the version is 2.4.8. I will try to find out how it was installed if possible. I recognize this is a development branch, and I appreciate your efforts.

Thanks,
Joseph

from industrial_calibration.

VictorLamoine avatar VictorLamoine commented on June 6, 2024

The /usr/local/include path of you OpenCV includes indicates that the OpenCV library used to compile (the one found by CMake) was manually compiled/installed on the machine.

A first test would be to modify the CMake OpenCV path in your catkin workspace, point it to the binary/apt packages and try to compile again. Steps:

  • Find the system OpenCV CMake file (something like find / -iname "*opencv*.cmake should help)
    You should have at least two of them, one in /usr/include and one in /usr/local/include
  • Force CMake in your catkin workspace to use the one in /usr/include rather than /usr/local/include

If my instructions are not clear, don't hesitate to ask for help!

from industrial_calibration.

AustinDeric avatar AustinDeric commented on June 6, 2024

@jshepley14 did this work out for you? Do we need a code fix for this? if not, i recommend that we close this issue.

In the future, if not a code problem then we should address these issues at answers.ros.org

Thanks everyone for your support!

from industrial_calibration.

AustinDeric avatar AustinDeric commented on June 6, 2024

@jshepley14 Since we can't duplicate this error i am going to close. If you continue to experience build errors place see answers.ros.org.

from industrial_calibration.

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.