GithubHelp home page GithubHelp logo

Comments (3)

angusleigh avatar angusleigh commented on August 11, 2024

detect_leg_clusters.cpp:(.text._ZN17DetectLegClusters13laserCallbackERKN5boost10shared_ptrIKN11sensor_msgs10LaserScan_ISaIvEEEEE[_ZN17DetectLegClusters13laserCallbackERKN5boost10shared_ptrIKN11sensor_msgs10LaserScan_ISaIvEEEEE]+0x6bc): undefined reference to `cv::ml::RTrees::getVotes(cv::_InputArray const&, cv::_OutputArray const&, int) const'

The error is coming from this line: https://github.com/angusleigh/leg_tracker/blob/melodic/src/detect_leg_clusters.cpp#L216

I'm wondering if your OpenCV is properly installed and the version 3.4 is actually be called for compilation?

Can you try using this formula instead? https://github.com/angusleigh/leg_tracker/blob/melodic/src/detect_leg_clusters.cpp#L212 and deleting these lines https://github.com/angusleigh/leg_tracker/blob/melodic/src/detect_leg_clusters.cpp#L210-L220.

from leg_tracker.

jnisa avatar jnisa commented on August 11, 2024

It worked :) Thanks!

from leg_tracker.

hoppss avatar hoppss commented on August 11, 2024

cmakelists didnot include and link OpenCV for this project.

from leg_tracker.

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.