Compiling fails in Gentoo

Help
Dpp
2009-05-29
2013-04-24
  • Dpp
    Dpp
    2009-05-29

    I compile wired from svn.
    Compilation exits with this error:

    x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../src/include   -I/usr/lib64/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA  -I../xml -I../save -I../audio -I../libs/WiredAkai/include -I../plugins -I../fileloader -I../sequencer -I../redist -I../engine -I../mixer -I../midi -I../midi/portmidi/pm_common -I../midi/portmidi/porttime -I../asm -I../editmidi -I../undo -I../libs/WiredWidgets/src -I../wiredvideo -I../dssi -I../codec -I../samplerate `xml2-config --cflags ` -I../  -Os -MT FloatingFrame.o -MD -MP -MF .deps/FloatingFrame.Tpo -c -o FloatingFrame.o FloatingFrame.cpp                                                                                                           
    SettingWindow.cpp: In member function 'void SettingWindow::OnSelPrefCategory(wxTreeEvent&)':                                                               
    SettingWindow.cpp:329: error: 'class wxSizer' has no member named 'Replace'

    version of my wxGTK - 2.6.4.0-r4, 2.8.10.1

     
    • Doomsday
      Doomsday
      2009-05-29

      Hello dpeplast,

      Thanks for the feedback, it's a wxGTK < 2.8 issue.
      Can you use wxGTK 2.8 and try to recompile Wired ? :

      $ su -
      # eselect wxwidgets list
      1) 2.6
      2) 2.8
      # eselect wxwidgets set 2
      ... wxwidgets 2.8.10.1 selected..
      # exit
      $ cd wired/
      wired $ make clean; ./configure ; make

      Good luck.

      PS : This issue will be fixed soon for wx2.6 users.

       
      • Dpp
        Dpp
        2009-05-29

        Hello, Doomsday.

        Thank you for support.

        It works :-)