..\wx\wxString.d(24): Error

wxD
Danny T.
2008-07-28
2013-05-22
  • Danny T.

    Danny T. - 2008-07-28

    Hello,
    i followed the instructions on the install page, but after downloading wxd, unpack it into dmd\import, cd to dmd\import\wxd and run "make" i get these last messages: http://paste.dprogramming.com/dpzc8qnw
    Whats wrong?
    Thanks,
    Danny.

     
    • Friedrich Weber

      Friedrich Weber - 2008-07-28

      Hello,

      you can use this patch to make wxd cvs version compile with latest Tango: http://reichbier.de/stuff/wxd-tango-patch.tar.gz
      Anyway, Samples won't compile with Tangobos without an additional patch (hopefully coming soon :-))

      Cheers,

      Fred

       
      • Anders F Björklund

        I have updated the code in CVS to work with the newer Tango (yay for breaking changes)

        There's also a new LIBRARY=Tango parameter, to set the required versions when building:

        make COMPILER=GDC LIBRARY=Tango

         
    • Danny T.

      Danny T. - 2008-07-28

      Hi,
      I already tried this "patch" but i can't compile any sample (Many Symbol Errors)

       
    • Danny T.

      Danny T. - 2008-07-31

      C:\wxd>make COMPILER=GDC LIBRARY=Tango
      cd wxc
      make
      dmc -D__DMD__ -mn -g -o+none -D____ -D__WXDEBUG__  -IC:\wxWidgets-2.6.4\include
      -IC:\wxWidgets-2.6.4\lib\dmc_lib\mswd -w- -I. -WA -DNOPCH -HP90 -Ar -Ae    -c -
      owx-release.obj wx-release.cpp

      dmc  wx-release.obj wx-release.exe
      link wx-release,wx-release,,user32+kernel32/noi;

      dmc -D__DMD__ -mn -g -o+none -D____ -D__WXDEBUG__  -IC:\wxWidgets-2.6.4\include
      -IC:\wxWidgets-2.6.4\lib\dmc_lib\mswd -w- -I. -WA -DNOPCH -HP90 -Ar -Ae    -c -
      owx-version.obj wx-version.cpp

      dmc  wx-version.obj wx-version.exe
      link wx-version,wx-version,,user32+kernel32/noi;

      dmc -D__DMD__ -mn -g -o+none -D____ -D__WXDEBUG__  -IC:\wxWidgets-2.6.4\include
      -IC:\wxWidgets-2.6.4\lib\dmc_lib\mswd -w- -I. -WA -DNOPCH -HP90 -Ar -Ae    -c -
      owx-platform.obj wx-platform.cpp

      dmc  wx-platform.obj wx-platform.exe
      link wx-platform,wx-platform,,user32+kernel32/noi;

      dmc -D__DMD__ -mn -g -o+none -D____ -D__WXDEBUG__  -IC:\wxWidgets-2.6.4\include
      -IC:\wxWidgets-2.6.4\lib\dmc_lib\mswd -w- -I. -WA -DNOPCH -HP90 -Ar -Ae    -c -
      owx-encoding.obj wx-encoding.cpp

      dmc  wx-encoding.obj wx-encoding.exe
      link wx-encoding,wx-encoding,,user32+kernel32/noi;

      wx-release.exe -v >..\config.mak
      wx-version.exe -v >>..\config.mak
      wx-platform.exe -v >>..\config.mak
      wx-encoding.exe -v >>..\config.mak
      dmc -D__DMD__ -mn -g -o+none -D____ -D__WXDEBUG__  -IC:\wxWidgets-2.6.4\include
      -IC:\wxWidgets-2.6.4\lib\dmc_lib\mswd -w- -I. -WA -DNOPCH -HP90 -Ar -Ae    -c -
      oaccel.obj accel.cpp
          virtual ~name() \             ^
      local_events.h(49) : Error:  storage class is illegal in this context
          { \     ^
      local_events.h(50) : Error: illegal constructor or destructor or invariant decla
      ration
              ProcessEvent(e); \                        ^
      local_events.h(52) : Error: undefined identifier 'ProcessEvent'
          }
          ^
      local_events.h(53) : Warning 18: implied return of name at closing '}' does not
      return value
          void RegisterDispose(Virtual_Dispose onDispose) { m_onDispose = onDispose; }
      \                                                                   ^
      local_events.h(67) : Error: undefined identifier 'm_onDispose'
          virtual ~name() { m_onDispose(this); } \             ^
      local_events.h(68) : Error:  storage class is illegal in this context
      Fatal error: too many errors
      --- errorlevel 1

      --- errorlevel 1

      --- errorlevel 1

       
    • Danny T.

      Danny T. - 2008-08-21

      whats wrong?
      i would like to use wxD :-(

       
      • Anders F Björklund

        Are you able to use CVS to get the latest changes ?

         
    • Danny T.

      Danny T. - 2008-08-22

      yes, i dont know whats wrong.
      thats what i get, when im trying to compile the wxd dir:

      C:\wxd>make COMPILER=GDC LIBRARY=Tango
      cd wxc
      make
      dmc -D__DMD__ -mn -g -o+none -D____ -D__WXDEBUG__  -IC:\wxWidgets-2.6.4\include
      -IC:\wxWidgets-2.6.4\lib\dmc_lib\mswd -w- -I. -WA -DNOPCH -HP90 -Ar -Ae    -c -
      owx-release.obj wx-release.cpp

      dmc  wx-release.obj wx-release.exe
      link wx-release,wx-release,,user32+kernel32/noi;

      dmc -D__DMD__ -mn -g -o+none -D____ -D__WXDEBUG__  -IC:\wxWidgets-2.6.4\include
      -IC:\wxWidgets-2.6.4\lib\dmc_lib\mswd -w- -I. -WA -DNOPCH -HP90 -Ar -Ae    -c -
      owx-version.obj wx-version.cpp

      dmc  wx-version.obj wx-version.exe
      link wx-version,wx-version,,user32+kernel32/noi;

      dmc -D__DMD__ -mn -g -o+none -D____ -D__WXDEBUG__  -IC:\wxWidgets-2.6.4\include
      -IC:\wxWidgets-2.6.4\lib\dmc_lib\mswd -w- -I. -WA -DNOPCH -HP90 -Ar -Ae    -c -
      owx-platform.obj wx-platform.cpp

      dmc  wx-platform.obj wx-platform.exe
      link wx-platform,wx-platform,,user32+kernel32/noi;

      dmc -D__DMD__ -mn -g -o+none -D____ -D__WXDEBUG__  -IC:\wxWidgets-2.6.4\include
      -IC:\wxWidgets-2.6.4\lib\dmc_lib\mswd -w- -I. -WA -DNOPCH -HP90 -Ar -Ae    -c -
      owx-encoding.obj wx-encoding.cpp

      dmc  wx-encoding.obj wx-encoding.exe
      link wx-encoding,wx-encoding,,user32+kernel32/noi;

      wx-release.exe -v >..\config.mak
      wx-version.exe -v >>..\config.mak
      wx-platform.exe -v >>..\config.mak
      wx-encoding.exe -v >>..\config.mak
      dmc -D__DMD__ -mn -g -o+none -D____ -D__WXDEBUG__  -IC:\wxWidgets-2.6.4\include
      -IC:\wxWidgets-2.6.4\lib\dmc_lib\mswd -w- -I. -WA -DNOPCH -HP90 -Ar -Ae    -c -
      oaccel.obj accel.cpp
          virtual ~name() \             ^
      local_events.h(49) : Error:  storage class is illegal in this context
          { \     ^
      local_events.h(50) : Error: illegal constructor or destructor or invariant decla
      ration
              ProcessEvent(e); \                        ^
      local_events.h(52) : Error: undefined identifier 'ProcessEvent'
          }
          ^
      local_events.h(53) : Warning 18: implied return of name at closing '}' does not
      return value
          void RegisterDispose(Virtual_Dispose onDispose) { m_onDispose = onDispose; }
      \                                                                   ^
      local_events.h(67) : Error: undefined identifier 'm_onDispose'
          virtual ~name() { m_onDispose(this); } \             ^
      local_events.h(68) : Error:  storage class is illegal in this context
      Fatal error: too many errors
      --- errorlevel 1

      --- errorlevel 1

      --- errorlevel 1

       
      • Anders F Björklund

        Ouch, DMC C++ errors... Been a while since I tried with DMC/DMD (I usually run GCC/GDC) but will give it a whirl next time I am on Windows.

        Hopefully someone else will be able to help meanwhile ?

         
    • Danny T.

      Danny T. - 2008-08-22

      i downloaded latest cvs stuff...

       
    • Danny T.

      Danny T. - 2008-08-24

      whats uo now?
      no one can help? :-(

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks