Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, Do you have any ideas why does wxHyperlinkCtrl doesn't work on Linux? It has an error which says... "/usr/include/wx-2.8/wx/gdicmn.h:215: undefined reference to 'vtable for wxHyperlinkCtrl'" Do I have to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2010
    Posts
    2

    undefined reference to 'vtable for wxHyperlinkCtrl'


    Hi,

    Do you have any ideas why does wxHyperlinkCtrl doesn't work on Linux?

    It has an error which says...

    "/usr/include/wx-2.8/wx/gdicmn.h:215: undefined reference to 'vtable for wxHyperlinkCtrl'"

    Do I have to include a certain library so that it will work in Linux? I try to compile it in windows and its succesful...

    I'm having a problem on Linux guys...

    initialize the wxHyperlinkCtrl like this...

    wxHyperlinkCtrl* hyperlink1 = new wxHyperlinkCtrl();

    and included #include <wx/hyperlink.h>

    Is there something missing on it?... I already had tried supplying parameters on the constructor but same thing it gives me an error...

    Please help guys.... thanks in advance!

  2. #2
    Linux Newbie
    Join Date
    Mar 2010
    Posts
    152
    Quote Originally Posted by kirei_nady View Post
    "/usr/include/wx-2.8/wx/gdicmn.h:215: undefined reference to 'vtable for wxHyperlinkCtrl'"
    Could you post the complete command you use that gives you this error message?

    Try adding "$(wx-config --libs)" to it, e.g:

    Code:
    gcc --whatever-options-you-have $(wx-config --libs)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •