Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: undefined reference to `vtable for mydemo' #1

Open
mishra39 opened this issue Jul 27, 2020 · 1 comment
Open

Error: undefined reference to `vtable for mydemo' #1

mishra39 opened this issue Jul 27, 2020 · 1 comment

Comments

@mishra39
Copy link

I cloned the repo and ran catkin build and received the following error:
CMakeFiles/ros_cv_gui_demo_node.dir/src/mydemo.cpp.o: In function mydemo::mydemo(QWidget*)': mydemo.cpp:(.text+0x69): undefined reference to vtable for mydemo'
mydemo.cpp:(.text+0x7e): undefined reference to vtable for mydemo' CMakeFiles/ros_cv_gui_demo_node.dir/src/mydemo.cpp.o: In function mydemo::~mydemo()':
mydemo.cpp:(.text+0x779): undefined reference to vtable for mydemo' mydemo.cpp:(.text+0x78b): undefined reference to vtable for mydemo'
collect2: error: ld returned 1 exit status
make[2]: *** [/home/NEA.com/akshit.mishra/catkin_ws/devel/.private/ros_cv_gui_demo/lib/ros_cv_gui_demo/ros_cv_gui_demo_node] Error 1
make[1]: *** [CMakeFiles/ros_cv_gui_demo_node.dir/all] Error 2
make: *** [all] Error 2

@RH-Song
Copy link

RH-Song commented Aug 15, 2022

I got the same problem. Have you solved it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants