lagadic / vision_visp

ViSP stack for ROS
http://wiki.ros.org/vision_visp
GNU General Public License v2.0
179 stars 88 forks source link

vision_visp new version build error #94

Closed Jakubach closed 5 years ago

Jakubach commented 5 years ago

Hello, I occured an error while building updated package. I use ros melodic and ubuntu.

Command error returns:

error: no matching function for call to ‘vpMbGenericTracker::getLline(std::__cxx11::list<vpMbtDistanceLine*>&)’
         tracker_.getLline(linesList);
                                    ^
In file included from /home/jakub/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker-client.cpp:26:0:
/opt/ros/melodic/include/visp3/mbt/vpMbGenericTracker.h:136:16: note: candidate: virtual void vpMbGenericTracker::getLline(const string&, std::__cxx11::list<vpMbtDistanceLine*>&, unsigned int) const
   virtual void getLline(const std::string &cameraName, std::list<vpMbtDistanceLine *> &linesList,
                ^~~~~~~~
/opt/ros/melodic/include/visp3/mbt/vpMbGenericTracker.h:136:16: note:   candidate expects 3 arguments, 1 provided
/home/jakub/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker-client.cpp:420:36: error: no matching function for call to ‘vpMbGenericTracker::getLline(std::__cxx11::list<vpMbtDistanceLine*>&)’
         tracker_.getLline(linesList);
                                    ^
In file included from /home/jakub/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker-client.cpp:26:0:
/opt/ros/melodic/include/visp3/mbt/vpMbGenericTracker.h:136:16: note: candidate: virtual void vpMbGenericTracker::getLline(const string&, std::__cxx11::list<vpMbtDistanceLine*>&, unsigned int) const
   virtual void getLline(const std::string &cameraName, std::list<vpMbtDistanceLine *> &linesList,
                ^~~~~~~~
/opt/ros/melodic/include/visp3/mbt/vpMbGenericTracker.h:136:16: note:   candidate expects 3 arguments, 1 provided
/home/jakub/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker.cpp: In member function ‘void visp_tracker::Tracker::updateMovingEdgeSites(visp_tracker::MovingEdgeSitesPtr)’:
/home/jakub/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker.cpp:163:37: error: no matching function for call to ‘vpMbGenericTracker::getLline(std::__cxx11::list<vpMbtDistanceLine*>&, int)’
       tracker_.getLline(linesList, 0);
                                     ^

`

Jakubach commented 5 years ago

Fixed by downloading ros-melodic-visp package from Synaptic.

EDIT: I installed Synaptic: https://help.ubuntu.com/stable/ubuntu-help/addremove-install-synaptic.html.en> and then I was able to search for "ros-melodic-visp" in this app. Then it should install correctly.

AnukritiSinghh commented 2 years ago

Thankyou. That worked!

On Mon, 20 Dec 2021, 5:33 pm Jakubach, @.***> wrote:

Hello, just install Synaptic if you do not have it: Use Synaptic for more advanced software management (ubuntu.com) < https://help.ubuntu.com/stable/ubuntu-help/addremove-install-synaptic.html.en

and then search for "ros-melodic-visp" in this app. Then it should install correctly.

Good luck!

< https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail

Wolny od wirusów. www.avast.com < https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

niedz., 19 gru 2021 o 06:29 Anukriti Singh @.***> napisał(a):

Hey can you please let me know how to solve this using synaptic?

— Reply to this email directly, view it on GitHub <https://github.com/lagadic/vision_visp/issues/94#issuecomment-997332555 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AHDZZYOGNRKDJ2IIU5DIUJLURVUVHANCNFSM4HYPV2RQ

. Triage notifications on the go with GitHub Mobile for iOS < https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675

or Android < https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .

You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/lagadic/vision_visp/issues/94#issuecomment-997862583, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGZUXZ7TVOTPN7O4QBCSVBLUR4LRLANCNFSM4HYPV2RQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>