Symbol Undefined error

wxD
2009-05-06
2013-05-22
  • Brok3n Halo
    Brok3n Halo
    2009-05-06

    Hi,

    Whenever I try and build a project that uses wxD, I get this error:

    || Symbol Undefined _D2wx10EvtHandler10EvtHandler14EVT_MOUSEWHEELMFDFC6ObjectC2wx5Event5EventZvZv|
    ||=== Build finished: 1 errors, 0 warnings ===|

    Both my wx and my wxd are the precompiled versions linked from http://wxd.sourceforge.net/#installation

    I'm using Code::Blocks and have the following:
    For compiler FlagsI have
        -debug
        -g

    For Other Options in Compiler Settings I have
        -IC:\wxd\

    For Link Libraries in the linker settings I have all the following
        C:\wx287\dmc_lib\wxbase28d.lib
        C:\wx287\dmc_lib\wxbase28d_net.lib
        C:\wx287\dmc_lib\wxbase28d_xml.lib
        C:\wx287\dmc_lib\wxexpatd.lib
        C:\wx287\dmc_lib\wxjpegd.lib
        C:\wx287\dmc_lib\wxmsw28d_adv.lib
        C:\wx287\dmc_lib\wxmsw28d_core.lib
        C:\wx287\dmc_lib\wxmsw28d_html.lib
        C:\wx287\dmc_lib\wxmsw28d_media.lib
        C:\wx287\dmc_lib\wxmsw28d_qa.lib
        C:\wx287\dmc_lib\wxmsw28d_xrc.lib
        C:\wx287\dmc_lib\wxpngd.lib
        C:\wx287\dmc_lib\wxregexd.lib
        C:\wx287\dmc_lib\wxtiffd.lib
        C:\wx287\dmc_lib\wxzlibd.lib
        C:\wxdpc\wxc.lib
        C:\wxdpc\wxd.lib
        kernel32.lib
        user32.lib
        gdi32.lib
        comdlg32.lib
        winspool.lib
        winmm.lib
        shell32.lib
        comctl32.lib
        ole32.lib
        oleaut32.lib
        uuid.lib
        rpcrt4.lib
        advapi32.lib
        wsock32.lib
        odbc32.lib

    Thanks, any help is appreciated.

     
    • M P
      M P
      2009-05-06

      You need to recompile wxc and wxd libraries.

      I had successful compilation using tango-dmd combination and when I removed -g switch.

       
      • Maybe the old precompiled Windows libraries should be removed, if they are causing more trouble than what they help... ?

        Supposedly the installation should be rather straight-forward, at least it is when using a standard shell and the make command.

         
        • M P
          M P
          2009-05-06

          Well, I could make a package
          that could contain what I have got...
          compiled wxd,wxc, wxwidgets and tango -dmd compiler.
          even the compiled executables.