Skip to content

Error at building bebop_teleop #3

@espetro

Description

@espetro

Hello there!

While building with catkin build, I receive the following error:

CMakeFiles/webcam.dir/src/WebcamPublisher.cpp.o: In function 'main':
WebcamPublisher.cpp:(.text+0x189): undefined reference to 'cv::VideoCapture::VideoCapture(int)'
WebcamPublisher.cpp:(.text+0x198): undefined reference to 'cv::VideoCapture::isOpened() const'
WebcamPublisher.cpp:(.text+0x34a): undefined reference to 'cv::VideoCapture::operator>>(cv::Mat&)'
WebcamPublisher.cpp:(.text+0x5b0): undefined reference to 'cv::VideoCapture::~VideoCapture()'
WebcamPublisher.cpp:(.text+0x7d4): undefined reference to 'cv::VideoCapture::~VideoCapture()'
collect2: error: ld returned 1 exit status

What can it be?

I am using Ubuntu 16.04 with ROS Kinetic

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions