Menu

compilation problems

Help
2008-07-20
2012-12-07
  • Neven Luetic

    Neven Luetic - 2008-07-20

    Hello,

    I just downloaded xmlcopyeditor-1.2.0 and tried to compile it on a 64 bit SuSE 10.2 system.

    configure didn't report any problems, however make fails with the error message reported below.

    I have SuSE rpms of version 2.8.8. of wxWidgets installed.

    make[1]: Entering directory `/home/downloads/src/xmlcopyeditor-1.2.0/src'
    g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xmlcopyeditor\" -DVERSION=\"1.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -I/usr/include/libxml2   -Wall -g -fexceptions -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__  -Wall -g -fexceptions -Wall -g -fexceptions -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -MT wraplibxml.o -MD -MP -MF .deps/wraplibxml.Tpo -c -o wraplibxml.o wraplibxml.cpp
    In file included from /usr/include/wx-2.8/wx/debug.h:22,
                     from /usr/include/wx-2.8/wx/defs.h:521,
                     from /usr/include/wx-2.8/wx/wx.h:15,
                     from wraplibxml.cpp:23:
    /usr/include/wx-2.8/wx/wxchar.h:1000: error: expected initializer before ‘ATTRIBUTE_PRINTF_3’
    /usr/include/wx-2.8/wx/wxchar.h:1040: error: expected initializer before ‘ATTRIBUTE_PRINTF_1’
    /usr/include/wx-2.8/wx/wxchar.h:1041: error: expected initializer before ‘ATTRIBUTE_PRINTF_2’
    /usr/include/wx-2.8/wx/wxchar.h:1042: error: expected initializer before ‘ATTRIBUTE_PRINTF_2’
    /usr/include/wx-2.8/wx/wxchar.h:1044: error: expected initializer before ‘ATTRIBUTE_PRINTF_1’
    /usr/include/wx-2.8/wx/wxchar.h:1045: error: expected initializer before ‘ATTRIBUTE_PRINTF_2’
    /usr/include/wx-2.8/wx/wxchar.h:1046: error: expected initializer before ‘ATTRIBUTE_PRINTF_2’
    /usr/include/wx-2.8/wx/wxchar.h:1059: error: expected initializer before ‘ATTRIBUTE_PRINTF_3’
    In file included from /usr/include/wx-2.8/wx/memory.h:16,
                     from /usr/include/wx-2.8/wx/object.h:20,
                     from /usr/include/wx-2.8/wx/wx.h:16,
                     from wraplibxml.cpp:23:
    /usr/include/wx-2.8/wx/string.h:1203: error: expected ‘;’ before ‘ATTRIBUTE_PRINTF_2’
    /usr/include/wx-2.8/wx/string.h:1208: error: expected ‘;’ before ‘ATTRIBUTE_PRINTF_1’
    /usr/include/wx-2.8/wx/string.h:1240: error: expected ‘;’ before ‘ATTRIBUTE_PRINTF_2’
    /usr/include/wx-2.8/wx/string.h: In member function ‘wxString& wxString::operator<<(int)’:
    /usr/include/wx-2.8/wx/string.h:1061: error: ‘Format’ was not declared in this scope
    /usr/include/wx-2.8/wx/string.h: In member function ‘wxString& wxString::operator<<(unsigned int)’:
    /usr/include/wx-2.8/wx/string.h:1064: error: ‘Format’ was not declared in this scope
    /usr/include/wx-2.8/wx/string.h: In member function ‘wxString& wxString::operator<<(long int)’:
    /usr/include/wx-2.8/wx/string.h:1067: error: ‘Format’ was not declared in this scope
    /usr/include/wx-2.8/wx/string.h: In member function ‘wxString& wxString::operator<<(long unsigned int)’:
    /usr/include/wx-2.8/wx/string.h:1070: error: ‘Format’ was not declared in this scope
    /usr/include/wx-2.8/wx/string.h: In member function ‘wxString& wxString::operator<<(long long int)’:
    /usr/include/wx-2.8/wx/string.h:1076: error: ‘Format’ was not declared in this scope
    /usr/include/wx-2.8/wx/string.h: In member function ‘wxString& wxString::operator<<(long long unsigned int)’:
    /usr/include/wx-2.8/wx/string.h:1082: error: ‘Format’ was not declared in this scope
    /usr/include/wx-2.8/wx/string.h: In member function ‘wxString& wxString::operator<<(float)’:
    /usr/include/wx-2.8/wx/string.h:1087: error: ‘Format’ was not declared in this scope
    /usr/include/wx-2.8/wx/string.h: In member function ‘wxString& wxString::operator<<(double)’:
    /usr/include/wx-2.8/wx/string.h:1090: error: ‘Format’ was not declared in this scope
    In file included from /usr/include/wx-2.8/wx/memory.h:17,
                     from /usr/include/wx-2.8/wx/object.h:20,
                     from /usr/include/wx-2.8/wx/wx.h:16,
                     from wraplibxml.cpp:23:
    /usr/include/wx-2.8/wx/msgout.h: At global scope:
    /usr/include/wx-2.8/wx/msgout.h:33: error: expected ‘;’ before ‘ATTRIBUTE_PRINTF_2’
    /usr/include/wx-2.8/wx/msgout.h:57: error: expected ‘;’ before ‘ATTRIBUTE_PRINTF_2’
    /usr/include/wx-2.8/wx/msgout.h:69: error: expected ‘;’ before ‘ATTRIBUTE_PRINTF_2’
    /usr/include/wx-2.8/wx/msgout.h:83: error: expected ‘;’ before ‘ATTRIBUTE_PRINTF_2’
    /usr/include/wx-2.8/wx/msgout.h:97: error: expected ‘;’ before ‘ATTRIBUTE_PRINTF_2’
    /usr/include/wx-2.8/wx/msgout.h:109: error: expected ‘;’ before ‘ATTRIBUTE_PRINTF_2’
    In file included from /usr/include/wx-2.8/wx/wx.h:24,
                     from wraplibxml.cpp:23:
    /usr/include/wx-2.8/wx/log.h:540: error: expected initializer before ‘ATTRIBUTE_PRINTF_2’
    /usr/include/wx-2.8/wx/log.h:543: error: expected initializer before ‘ATTRIBUTE_PRINTF_1’
    /usr/include/wx-2.8/wx/log.h:544: error: expected initializer before ‘ATTRIBUTE_PRINTF_1’
    /usr/include/wx-2.8/wx/log.h:545: error: expected initializer before ‘ATTRIBUTE_PRINTF_1’
    /usr/include/wx-2.8/wx/log.h:546: error: expected initializer before ‘ATTRIBUTE_PRINTF_1’
    /usr/include/wx-2.8/wx/log.h:547: error: expected initializer before ‘ATTRIBUTE_PRINTF_1’
    /usr/include/wx-2.8/wx/log.h:548: error: expected initializer before ‘ATTRIBUTE_PRINTF_1’
    /usr/include/wx-2.8/wx/log.h:552: error: expected initializer before ‘ATTRIBUTE_PRINTF_1’
    /usr/include/wx-2.8/wx/log.h:558: error: expected initializer before ‘ATTRIBUTE_PRINTF_2’
    /usr/include/wx-2.8/wx/log.h:563: error: expected initializer before ‘ATTRIBUTE_PRINTF_1’
    /usr/include/wx-2.8/wx/log.h:567: error: expected initializer before ‘ATTRIBUTE_PRINTF_2’
    make[1]: *** [wraplibxml.o] Fehler 1
    make[1]: Leaving directory `/home/downloads/src/xmlcopyeditor-1.2.0/src'
    make: *** [all-recursive] Fehler 1

     
    • gnschmidt

      gnschmidt - 2008-07-20

      Thanks Neven. Has anyone else encountered this problem?

      Intriguingly, wraplibxml.cpp l. 23 reads:

      #include <wx/wx.h>

      I know the application and wxGTK compiled fine on 64 bit systems in the past, so something must have changed...

      All suggestions welcome!
      -Gerald

       
    • gnschmidt

      gnschmidt - 2008-07-20

      I just had an idea - would you mind sharing the output of wx-config on your system? Errors such as these are often related to Unicode-non-Unicode problems.

      -Gerald

       
      • Neven Luetic

        Neven Luetic - 2008-07-20

        wx-config alone gives me a message, that additional options are required.

        wx-config --unicode=yes and wx-config --unicode=no don't give any output.

        wx-config --list gives:
            Default config is gtk2-unicode-release-2.8

          Default config will be used for output

          Alternate matches:
            gtk2-ansi-release-2.8
            gtk2-ansi-release-static-2.8
            gtk2-unicode-release-static-2.8

         
      • Neven Luetic

        Neven Luetic - 2008-07-20

        a little correction:

        wx-config --unicode=yes --version gives:
        2.8.8

         
    • JLisle

      JLisle - 2008-07-26

         I am getting something similar on openSuse 10.2 32-bit. My version of wxWidgets is 2.8.8.0 and default config is gtk2-unicode-release-2.8. I am trying to build the 1.2.0 version of xmlcopyeditor.

      g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xmlcopyeditor\" -DVERSION=\"1.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -I/usr/include/libxml2   -Wall -g -fexceptions -I/apps/build/wxWidgets-2.8.8/build_gtk/lib/wx/include/gtk2-unicode-release-2.8 -I/apps/build/wxWidgets-2.8.8/include -I/apps/build/wxWidgets-2.8.8/contrib/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__  -Wall -g -fexceptions -Wall -g -fexceptions -I/apps/build/wxWidgets-2.8.8/build_gtk/lib/wx/include/gtk2-unicode-release-2.8 -I/apps/build/wxWidgets-2.8.8/include -I/apps/build/wxWidgets-2.8.8/contrib/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -MT wraplibxml.o -MD -MP -MF .deps/wraplibxml.Tpo -c -o wraplibxml.o wraplibxml.cpp
      /apps/build/wxWidgets-2.8.8/include/wx/wxchar.h:1000: error: expected initializer before ‘ATTRIBUTE_PRINTF_3’
      /apps/build/wxWidgets-2.8.8/include/wx/wxchar.h:1040: error: expected initializer before ‘ATTRIBUTE_PRINTF_1’
      /apps/build/wxWidgets-2.8.8/include/wx/wxchar.h:1041: error: expected initializer before ‘ATTRIBUTE_PRINTF_2’
      /apps/build/wxWidgets-2.8.8/include/wx/wxchar.h:1042: error: expected initializer before ‘ATTRIBUTE_PRINTF_2’
      /apps/build/wxWidgets-2.8.8/include/wx/wxchar.h:1044: error: expected initializer before ‘ATTRIBUTE_PRINTF_1’
      /apps/build/wxWidgets-2.8.8/include/wx/wxchar.h:1045: error: expected initializer before ‘ATTRIBUTE_PRINTF_2’
      /apps/build/wxWidgets-2.8.8/include/wx/wxchar.h:1046: error: expected initializer before ‘ATTRIBUTE_PRINTF_2’
      /apps/build/wxWidgets-2.8.8/include/wx/wxchar.h:1059: error: expected initializer before ‘ATTRIBUTE_PRINTF_3’
      /apps/build/wxWidgets-2.8.8/include/wx/string.h:1203: error: expected ‘;’ before ‘ATTRIBUTE_PRINTF_2’
      /apps/build/wxWidgets-2.8.8/include/wx/string.h:1208: error: expected ‘;’ before ‘ATTRIBUTE_PRINTF_1’
      /apps/build/wxWidgets-2.8.8/include/wx/string.h:1240: error: expected ‘;’ before ‘ATTRIBUTE_PRINTF_2’
      /apps/build/wxWidgets-2.8.8/include/wx/string.h: In member function ‘wxString& wxString::operator<<(int)’:
      /apps/build/wxWidgets-2.8.8/include/wx/string.h:1061: error: ‘Format’ was not declared in this scope
      /apps/build/wxWidgets-2.8.8/include/wx/string.h: In member function ‘wxString& wxString::operator<<(unsigned int)’:
      /apps/build/wxWidgets-2.8.8/include/wx/string.h:1064: error: ‘Format’ was not declared in this scope
      /apps/build/wxWidgets-2.8.8/include/wx/string.h: In member function ‘wxString& wxString::operator<<(long int)’:
      /apps/build/wxWidgets-2.8.8/include/wx/string.h:1067: error: ‘Format’ was not declared in this scope
      /apps/build/wxWidgets-2.8.8/include/wx/string.h: In member function ‘wxString& wxString::operator<<(long unsigned int)’:
      /apps/build/wxWidgets-2.8.8/include/wx/string.h:1070: error: ‘Format’ was not declared in this scope
      /apps/build/wxWidgets-2.8.8/include/wx/string.h: In member function ‘wxString& wxString::operator<<(long long int)’:
      /apps/build/wxWidgets-2.8.8/include/wx/string.h:1076: error: ‘Format’ was not declared in this scope
      /apps/build/wxWidgets-2.8.8/include/wx/string.h: In member function ‘wxString& wxString::operator<<(long long unsigned int)’:
      /apps/build/wxWidgets-2.8.8/include/wx/string.h:1082: error: ‘Format’ was not declared in this scope
      /apps/build/wxWidgets-2.8.8/include/wx/string.h: In member function ‘wxString& wxString::operator<<(float)’:
      /apps/build/wxWidgets-2.8.8/include/wx/string.h:1087: error: ‘Format’ was not declared in this scope
      /apps/build/wxWidgets-2.8.8/include/wx/string.h: In member function ‘wxString& wxString::operator<<(double)’:
      /apps/build/wxWidgets-2.8.8/include/wx/string.h:1090: error: ‘Format’ was not declared in this scope
      /apps/build/wxWidgets-2.8.8/include/wx/msgout.h: At global scope:
      /apps/build/wxWidgets-2.8.8/include/wx/msgout.h:33: error: expected ‘;’ before ‘ATTRIBUTE_PRINTF_2’
      /apps/build/wxWidgets-2.8.8/include/wx/msgout.h:57: error: expected ‘;’ before ‘ATTRIBUTE_PRINTF_2’
      /apps/build/wxWidgets-2.8.8/include/wx/msgout.h:69: error: expected ‘;’ before ‘ATTRIBUTE_PRINTF_2’
      /apps/build/wxWidgets-2.8.8/include/wx/msgout.h:83: error: expected ‘;’ before ‘ATTRIBUTE_PRINTF_2’
      /apps/build/wxWidgets-2.8.8/include/wx/msgout.h:97: error: expected ‘;’ before ‘ATTRIBUTE_PRINTF_2’
      /apps/build/wxWidgets-2.8.8/include/wx/msgout.h:109: error: expected ‘;’ before ‘ATTRIBUTE_PRINTF_2’
      /apps/build/wxWidgets-2.8.8/include/wx/log.h:540: error: expected initializer before ‘ATTRIBUTE_PRINTF_2’
      /apps/build/wxWidgets-2.8.8/include/wx/log.h:543: error: expected initializer before ‘ATTRIBUTE_PRINTF_1’
      /apps/build/wxWidgets-2.8.8/include/wx/log.h:544: error: expected initializer before ‘ATTRIBUTE_PRINTF_1’
      /apps/build/wxWidgets-2.8.8/include/wx/log.h:545: error: expected initializer before ‘ATTRIBUTE_PRINTF_1’
      /apps/build/wxWidgets-2.8.8/include/wx/log.h:546: error: expected initializer before ‘ATTRIBUTE_PRINTF_1’
      /apps/build/wxWidgets-2.8.8/include/wx/log.h:547: error: expected initializer before ‘ATTRIBUTE_PRINTF_1’
      /apps/build/wxWidgets-2.8.8/include/wx/log.h:548: error: expected initializer before ‘ATTRIBUTE_PRINTF_1’
      /apps/build/wxWidgets-2.8.8/include/wx/log.h:552: error: expected initializer before ‘ATTRIBUTE_PRINTF_1’
      /apps/build/wxWidgets-2.8.8/include/wx/log.h:558: error: expected initializer before ‘ATTRIBUTE_PRINTF_2’
      /apps/build/wxWidgets-2.8.8/include/wx/log.h:563: error: expected initializer before ‘ATTRIBUTE_PRINTF_1’
      /apps/build/wxWidgets-2.8.8/include/wx/log.h:567: error: expected initializer before ‘ATTRIBUTE_PRINTF_2’
      make[1]: *** [wraplibxml.o] Error 1
      make[1]: Leaving directory `/apps/build/xmlcopyeditor-1.2.0/src'
      make: *** [all-recursive] Error 1
      DTC0800201AB801:/apps/build/xmlcopyeditor-1.2.0 #                           

       
    • Josef Feit

      Josef Feit - 2008-09-21

      It seems I am getting similar (or the same) problem on OpenSuse 11, 64bit version, xmlcopyeditor 1.2.0.2:
      I have compiled from tar.gz and have (hopefuly) all required packages installed.
      ./configure did not complatin (but there seemed to be some issues in the .log file)

      make compilation:
      ...(OK compilation), but:

      g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xmlcopyeditor\" -DVERSION=\"1.2.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I/usr/include/libxml2   -Wall -g -fexceptions -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__  -Wall -g -fexceptions -Wall -g -fexceptions -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -MT wraplibxml.o -MD -MP -MF .deps/wraplibxml.Tpo -c -o wraplibxml.o wraplibxml.cpp
      In file included from /usr/include/wx-2.8/wx/debug.h:22,
                       from /usr/include/wx-2.8/wx/defs.h:521,
                       from /usr/include/wx-2.8/wx/wx.h:15,
                       from wraplibxml.cpp:23:
      /usr/include/wx-2.8/wx/wxchar.h:1000: error: expected initializer before ‘ATTRIBUTE_PRINTF_3’
      /usr/include/wx-2.8/wx/wxchar.h:1040: error: expected initializer before ‘ATTRIBUTE_PRINTF_1’
      /usr/include/wx-2.8/wx/wxchar.h:1041: error: expected initializer before ‘ATTRIBUTE_PRINTF_2’
      /usr/include/wx-2.8/wx/wxchar.h:1042: error: expected initializer before ‘ATTRIBUTE_PRINTF_2’
      /usr/include/wx-2.8/wx/wxchar.h:1044: error: expected initializer before ‘ATTRIBUTE_PRINTF_1’
      /usr/include/wx-2.8/wx/wxchar.h:1045: error: expected initializer before ‘ATTRIBUTE_PRINTF_2’
      /usr/include/wx-2.8/wx/wxchar.h:1046: error: expected initializer before ‘ATTRIBUTE_PRINTF_2’
      /usr/include/wx-2.8/wx/wxchar.h:1059: error: expected initializer before ‘ATTRIBUTE_PRINTF_3’
      In file included from /usr/include/wx-2.8/wx/memory.h:16,
                       from /usr/include/wx-2.8/wx/object.h:20,
                       from /usr/include/wx-2.8/wx/wx.h:16,
                       from wraplibxml.cpp:23:
      /usr/include/wx-2.8/wx/string.h:1203: error: expected ‘;’ before ‘ATTRIBUTE_PRINTF_2’
      /usr/include/wx-2.8/wx/string.h:1208: error: expected ‘;’ before ‘ATTRIBUTE_PRINTF_1’
      /usr/include/wx-2.8/wx/string.h:1240: error: expected ‘;’ before ‘ATTRIBUTE_PRINTF_2’
      /usr/include/wx-2.8/wx/string.h: In member function ‘wxString& wxString::operator<<(int)’:
      /usr/include/wx-2.8/wx/string.h:1061: error: ‘Format’ was not declared in this scope
      /usr/include/wx-2.8/wx/string.h: In member function ‘wxString& wxString::operator<<(unsigned int)’:
      /usr/include/wx-2.8/wx/string.h:1064: error: ‘Format’ was not declared in this scope
      /usr/include/wx-2.8/wx/string.h: In member function ‘wxString& wxString::operator<<(long int)’:
      /usr/include/wx-2.8/wx/string.h:1067: error: ‘Format’ was not declared in this scope
      /usr/include/wx-2.8/wx/string.h: In member function ‘wxString& wxString::operator<<(long unsigned int)’:
      /usr/include/wx-2.8/wx/string.h:1070: error: ‘Format’ was not declared in this scope
      /usr/include/wx-2.8/wx/string.h: In member function ‘wxString& wxString::operator<<(long long int)’:
      /usr/include/wx-2.8/wx/string.h:1076: error: ‘Format’ was not declared in this scope
      /usr/include/wx-2.8/wx/string.h: In member function ‘wxString& wxString::operator<<(long long unsigned int)’:
      /usr/include/wx-2.8/wx/string.h:1082: error: ‘Format’ was not declared in this scope
      /usr/include/wx-2.8/wx/string.h: In member function ‘wxString& wxString::operator<<(float)’:
      /usr/include/wx-2.8/wx/string.h:1087: error: ‘Format’ was not declared in this scope
      /usr/include/wx-2.8/wx/string.h: In member function ‘wxString& wxString::operator<<(double)’:
      /usr/include/wx-2.8/wx/string.h:1090: error: ‘Format’ was not declared in this scope
      In file included from /usr/include/wx-2.8/wx/memory.h:17,
                       from /usr/include/wx-2.8/wx/object.h:20,
                       from /usr/include/wx-2.8/wx/wx.h:16,
                       from wraplibxml.cpp:23:
      /usr/include/wx-2.8/wx/msgout.h: At global scope:
      /usr/include/wx-2.8/wx/msgout.h:33: error: expected ‘;’ before ‘ATTRIBUTE_PRINTF_2’
      /usr/include/wx-2.8/wx/msgout.h:57: error: expected ‘;’ before ‘ATTRIBUTE_PRINTF_2’
      /usr/include/wx-2.8/wx/msgout.h:69: error: expected ‘;’ before ‘ATTRIBUTE_PRINTF_2’
      /usr/include/wx-2.8/wx/msgout.h:83: error: expected ‘;’ before ‘ATTRIBUTE_PRINTF_2’
      /usr/include/wx-2.8/wx/msgout.h:97: error: expected ‘;’ before ‘ATTRIBUTE_PRINTF_2’
      /usr/include/wx-2.8/wx/msgout.h:109: error: expected ‘;’ before ‘ATTRIBUTE_PRINTF_2’
      In file included from /usr/include/wx-2.8/wx/wx.h:24,
                       from wraplibxml.cpp:23:
      /usr/include/wx-2.8/wx/log.h:540: error: expected initializer before ‘ATTRIBUTE_PRINTF_2’
      /usr/include/wx-2.8/wx/log.h:543: error: expected initializer before ‘ATTRIBUTE_PRINTF_1’
      /usr/include/wx-2.8/wx/log.h:544: error: expected initializer before ‘ATTRIBUTE_PRINTF_1’
      /usr/include/wx-2.8/wx/log.h:545: error: expected initializer before ‘ATTRIBUTE_PRINTF_1’
      /usr/include/wx-2.8/wx/log.h:546: error: expected initializer before ‘ATTRIBUTE_PRINTF_1’
      /usr/include/wx-2.8/wx/log.h:547: error: expected initializer before ‘ATTRIBUTE_PRINTF_1’
      /usr/include/wx-2.8/wx/log.h:548: error: expected initializer before ‘ATTRIBUTE_PRINTF_1’
      /usr/include/wx-2.8/wx/log.h:552: error: expected initializer before ‘ATTRIBUTE_PRINTF_1’
      /usr/include/wx-2.8/wx/log.h:558: error: expected initializer before ‘ATTRIBUTE_PRINTF_2’
      /usr/include/wx-2.8/wx/log.h:563: error: expected initializer before ‘ATTRIBUTE_PRINTF_1’
      /usr/include/wx-2.8/wx/log.h:567: error: expected initializer before ‘ATTRIBUTE_PRINTF_2’
      make[1]: *** [wraplibxml.o] Error 1
      make[1]: Leaving directory `/home/jfeit/download/xmlcopyeditor/xmlcopyeditor-1.2.0.2/src'
      make: *** [all-recursive] Error 1

       
    • Robert Fekete

      Robert Fekete - 2008-10-01

      I am having similar problems with 1.2.0.2 on Ubuntu 8.04 (32 bit):

      Making all in src
      make[1]: Entering directory `/tmp/xmlcopyeditor-1.2.0.2/src'
      g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xmlcopyeditor\" -DVERSION=\"1.2.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I/usr/include/libxml2   -Wall -g -fexceptions -I/usr/lib/wx/include/base-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DwxUSE_GUI=0  -Wall -g -fexceptions -Wall -g -fexceptions -I/usr/lib/wx/include/base-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DwxUSE_GUI=0 -MT xmlcopyeditor.o -MD -MP -MF .deps/xmlcopyeditor.Tpo -c -o xmlcopyeditor.o xmlcopyeditor.cpp
      In file included from xmlcopyeditor.h:30,
                       from xmlcopyeditor.cpp:24:
      /usr/include/wx-2.8/wx/imagpng.h:34: error: expected class-name before ‘{’ token
      /usr/include/wx-2.8/wx/imagpng.h:45: error: ‘wxImage’ has not been declared
      /usr/include/wx-2.8/wx/imagpng.h:46: error: ‘wxImage’ has not been declared
      /usr/include/wx-2.8/wx/imagpng.h: In constructor ‘wxPNGHandler::wxPNGHandler()’:
      /usr/include/wx-2.8/wx/imagpng.h:38: error: ‘m_name’ was not declared in this scope
      /usr/include/wx-2.8/wx/imagpng.h:39: error: ‘m_extension’ was not declared in this scope
      /usr/include/wx-2.8/wx/imagpng.h:40: error: ‘m_type’ was not declared in this scope
      /usr/include/wx-2.8/wx/imagpng.h:40: error: ‘wxBITMAP_TYPE_PNG’ was not declared in this scope
      /usr/include/wx-2.8/wx/imagpng.h:41: error: ‘m_mime’ was not declared in this scope
      In file included from xmlctrl.h:26,
                       from xmldoc.h:26,
                       from xmlcopyeditor.h:51,
                       from xmlcopyeditor.cpp:24:
      /usr/include/wx-2.8/wx/stc/stc.h: At global scope:
      /usr/include/wx-2.8/wx/stc/stc.h:1810: error: expected class-name before ‘{’ token
      /usr/include/wx-2.8/wx/stc/stc.h:1825: error: expected ‘,’ or ‘...’ before ‘&’ token
      /usr/include/wx-2.8/wx/stc/stc.h:1827: error: ISO C++ forbids declaration of ‘wxPoint’ with no type
      /usr/include/wx-2.8/wx/stc/stc.h:1834: error: expected ‘,’ or ‘...’ before ‘&’ token
      /usr/include/wx-2.8/wx/stc/stc.h:1836: error: ISO C++ forbids declaration of ‘wxPoint’ with no type
      /usr/include/wx-2.8/wx/stc/stc.h:1912: error: ‘wxPoint’ has not been declared
      /usr/include/wx-2.8/wx/stc/stc.h:1975: error: expected ‘,’ or ‘...’ before ‘&’ token
      /usr/include/wx-2.8/wx/stc/stc.h:1976: error: ISO C++ forbids declaration of ‘wxColour’ with no type
      /usr/include/wx-2.8/wx/stc/stc.h:1979: error: expected ‘,’ or ‘...’ before ‘&’ token
      /usr/include/wx-2.8/wx/stc/stc.h:1979: error: ISO C++ forbids declaration of ‘wxColour’ with no type
      /usr/include/wx-2.8/wx/stc/stc.h:1982: error: expected ‘,’ or ‘...’ before ‘&’ token
      /usr/include/wx-2.8/wx/stc/stc.h:1982: error: ISO C++ forbids declaration of ‘wxColour’ with no type
      /usr/include/wx-2.8/wx/stc/stc.h:2003: error: expected ‘,’ or ‘...’ before ‘&’ token
      /usr/include/wx-2.8/wx/stc/stc.h:2003: error: ISO C++ forbids declaration of ‘wxBitmap’ with no type
      /usr/include/wx-2.8/wx/stc/stc.h:2039: error: expected ‘,’ or ‘...’ before ‘&’ token
      /usr/include/wx-2.8/wx/stc/stc.h:2039: error: ISO C++ forbids declaration of ‘wxColour’ with no type
      /usr/include/wx-2.8/wx/stc/stc.h:2042: error: expected ‘,’ or ‘...’ before ‘&’ token
      /usr/include/wx-2.8/wx/stc/stc.h:2042: error: ISO C++ forbids declaration of ‘wxColour’ with no type
      /usr/include/wx-2.8/wx/stc/stc.h:2072: error: expected ‘,’ or ‘...’ before ‘&’ token
      /usr/include/wx-2.8/wx/stc/stc.h:2072: error: ISO C++ forbids declaration of ‘wxColour’ with no type
      /usr/include/wx-2.8/wx/stc/stc.h:2075: error: expected ‘,’ or ‘...’ before ‘&’ token
      /usr/include/wx-2.8/wx/stc/stc.h:2075: error: ISO C++ forbids declaration of ‘wxColour’ with no type
      /usr/include/wx-2.8/wx/stc/stc.h:2084: error: expected ‘,’ or ‘...’ before ‘&’ token
      /usr/include/wx-2.8/wx/stc/stc.h:2084: error: ISO C++ forbids declaration of ‘wxColour’ with no type
      /usr/include/wx-2.8/wx/stc/stc.h:2125: error: expected ‘,’ or ‘...’ before ‘&’ token
      /usr/include/wx-2.8/wx/stc/stc.h:2125: error: ISO C++ forbids declaration of ‘wxColour’ with no type
      /usr/include/wx-2.8/wx/stc/stc.h:2128: error: ‘wxColour’ does not name a type
      /usr/include/wx-2.8/wx/stc/stc.h:2131: error: expected ‘,’ or ‘...’ before ‘&’ token
      /usr/include/wx-2.8/wx/stc/stc.h:2131: error: ISO C++ forbids declaration of ‘wxColour’ with no type
      /usr/include/wx-2.8/wx/stc/stc.h:2134: error: expected ‘,’ or ‘...’ before ‘&’ token
      /usr/include/wx-2.8/wx/stc/stc.h:2134: error: ISO C++ forbids declaration of ‘wxColour’ with no type
      /usr/include/wx-2.8/wx/stc/stc.h:2160: error: ‘wxColour’ does not name a type
      /usr/include/wx-2.8/wx/stc/stc.h:2163: error: expected ‘,’ or ‘...’ before ‘&’ token
      /usr/include/wx-2.8/wx/stc/stc.h:2163: error: ISO C++ forbids declaration of ‘wxColour’ with no type
      /usr/include/wx-2.8/wx/stc/stc.h:2240: error: expected ‘,’ or ‘...’ before ‘&’ token
      /usr/include/wx-2.8/wx/stc/stc.h:2240: error: ISO C++ forbids declaration of ‘wxBitmap’ with no type
      /usr/include/wx-2.8/wx/stc/stc.h:2317: error: ‘wxColour’ does not name a type
      /usr/include/wx-2.8/wx/stc/stc.h:2356: error: ‘wxDC’ has not been declared
      /usr/include/wx-2.8/wx/stc/stc.h:2357: error: ‘wxDC’ has not been declared
      /usr/include/wx-2.8/wx/stc/stc.h:2358: error: ‘wxRect’ has not been declared
      /usr/include/wx-2.8/wx/stc/stc.h:2359: error: ‘wxRect’ has not been declared
      /usr/include/wx-2.8/wx/stc/stc.h:2514: error: expected ‘,’ or ‘...’ before ‘&’ token
      /usr/include/wx-2.8/wx/stc/stc.h:2514: error: ISO C++ forbids declaration of ‘wxColour’ with no type
      /usr/include/wx-2.8/wx/stc/stc.h:2517: error: expected ‘,’ or ‘...’ before ‘&’ token
      /usr/include/wx-2.8/wx/stc/stc.h:2517: error: ISO C++ forbids declaration of ‘wxColour’ with no type
      /usr/include/wx-2.8/wx/stc/stc.h:2520: error: expected ‘,’ or ‘...’ before ‘&’ token
      /usr/include/wx-2.8/wx/stc/stc.h:2520: error: ISO C++ forbids declaration of ‘wxColour’ with no type
      /usr/include/wx-2.8/wx/stc/stc.h:2680: error: expected ‘,’ or ‘...’ before ‘&’ token
      /usr/include/wx-2.8/wx/stc/stc.h:2680: error: ISO C++ forbids declaration of ‘wxColour’ with no type
      /usr/include/wx-2.8/wx/stc/stc.h:2681: error: expected ‘,’ or ‘...’ before ‘&’ token
      /usr/include/wx-2.8/wx/stc/stc.h:2681: error: ISO C++ forbids declaration of ‘wxColour’ with no type
      /usr/include/wx-2.8/wx/stc/stc.h:2898: error: ‘wxColour’ does not name a type
      /usr/include/wx-2.8/wx/stc/stc.h:2901: error: expected ‘,’ or ‘...’ before ‘&’ token
      /usr/include/wx-2.8/wx/stc/stc.h:2901: error: ISO C++ forbids declaration of ‘wxColour’ with no type
      /usr/include/wx-2.8/wx/stc/stc.h:3021: error: expected ‘,’ or ‘...’ before ‘&’ token
      /usr/include/wx-2.8/wx/stc/stc.h:3021: error: ISO C++ forbids declaration of ‘wxColour’ with no type
      /usr/include/wx-2.8/wx/stc/stc.h:3024: error: expected ‘,’ or ‘...’ before ‘&’ token
      /usr/include/wx-2.8/wx/stc/stc.h:3024: error: ISO C++ forbids declaration of ‘wxColour’ with no type
      /usr/include/wx-2.8/wx/stc/stc.h:3223: error: ‘wxFont’ has not been declared
      /usr/include/wx-2.8/wx/stc/stc.h:3259: error: ‘wxPoint’ does not name a type
      /usr/include/wx-2.8/wx/stc/stc.h:3275: error: ‘wxScrollBar’ has not been declared
      /usr/include/wx-2.8/wx/stc/stc.h:3279: error: ‘wxScrollBar’ has not been declared
      /usr/include/wx-2.8/wx/stc/stc.h:3356: error: ‘wxPaintEvent’ has not been declared
      /usr/include/wx-2.8/wx/stc/stc.h:3357: error: ‘wxScrollWinEvent’ has not been declared
      /usr/include/wx-2.8/wx/stc/stc.h:3358: error: ‘wxScrollEvent’ has not been declared
      /usr/include/wx-2.8/wx/stc/stc.h:3359: error: ‘wxSizeEvent’ has not been declared
      /usr/include/wx-2.8/wx/stc/stc.h:3360: error: ‘wxMouseEvent’ has not been declared
      /usr/include/wx-2.8/wx/stc/stc.h:3361: error: ‘wxMouseEvent’ has not been declared
      /usr/include/wx-2.8/wx/stc/stc.h:3362: error: ‘wxMouseEvent’ has not been declared
      /usr/include/wx-2.8/wx/stc/stc.h:3363: error: ‘wxMouseEvent’ has not been declared
      /usr/include/wx-2.8/wx/stc/stc.h:3364: error: ‘wxMouseEvent’ has not been declared
      /usr/include/wx-2.8/wx/stc/stc.h:3365: error: ‘wxContextMenuEvent’ has not been declared
      /usr/include/wx-2.8/wx/stc/stc.h:3366: error: ‘wxMouseEvent’ has not been declared
      /usr/include/wx-2.8/wx/stc/stc.h:3367: error: ‘wxKeyEvent’ has not been declared
      /usr/include/wx-2.8/wx/stc/stc.h:3368: error: ‘wxKeyEvent’ has not been declared
      /usr/include/wx-2.8/wx/stc/stc.h:3369: error: ‘wxFocusEvent’ has not been declared
      /usr/include/wx-2.8/wx/stc/stc.h:3370: error: ‘wxFocusEvent’ has not been declared
      /usr/include/wx-2.8/wx/stc/stc.h:3371: error: ‘wxSysColourChangedEvent’ has not been declared
      /usr/include/wx-2.8/wx/stc/stc.h:3372: error: ‘wxEraseEvent’ has not been declared
      /usr/include/wx-2.8/wx/stc/stc.h:3373: error: ‘wxCommandEvent’ has not been declared
      /usr/include/wx-2.8/wx/stc/stc.h:3374: error: ‘wxCommandEvent’ has not been declared
      /usr/include/wx-2.8/wx/stc/stc.h:3375: error: ‘wxIdleEvent’ has not been declared
      /usr/include/wx-2.8/wx/stc/stc.h:3377: error: ‘wxSize’ does not name a type
      /usr/include/wx-2.8/wx/stc/stc.h:3391: error: ISO C++ forbids declaration of ‘wxScrollBar’ with no type
      /usr/include/wx-2.8/wx/stc/stc.h:3391: error: expected ‘;’ before ‘*’ token
      /usr/include/wx-2.8/wx/stc/stc.h:3392: error: ISO C++ forbids declaration of ‘wxScrollBar’ with no type
      /usr/include/wx-2.8/wx/stc/stc.h:3392: error: expected ‘;’ before ‘*’ token
      /usr/include/wx-2.8/wx/stc/stc.h:1827: error: default argument missing for parameter 3 of ‘wxStyledTextCtrl::wxStyledTextCtrl(wxWindow*, wxWindowID, int)’
      /usr/include/wx-2.8/wx/stc/stc.h:1836: error: default argument missing for parameter 3 of ‘bool wxStyledTextCtrl::Create(wxWindow*, wxWindowID, int)’
      /usr/include/wx-2.8/wx/stc/stc.h:3403: error: expected class-name before ‘{’ token
      /usr/include/wx-2.8/wx/stc/stc.h: In member function ‘virtual wxEvent* wxStyledTextEvent::Clone() const’:
      /usr/include/wx-2.8/wx/stc/stc.h:3461: error: cannot convert ‘wxStyledTextEvent*’ to ‘wxEvent*’ in return
      In file included from xmldoc.h:26,
                       from xmlcopyeditor.h:51,
                       from xmlcopyeditor.cpp:24:
      xmlctrl.h: At global scope:
      xmlctrl.h:108: error: expected ‘,’ or ‘...’ before ‘&’ token
      xmlctrl.h:110: error: ISO C++ forbids declaration of ‘wxPoint’ with no type
      xmlctrl.h:165: error: ‘wxColour’ does not name a type
      xmlctrl.h:183: error: ‘wxKeyEvent’ has not been declared
      xmlctrl.h:184: error: ‘wxKeyEvent’ has not been declared
      xmlctrl.h:185: error: ‘wxKeyEvent’ has not been declared
      xmlctrl.h:186: error: ‘wxKeyEvent’ has not been declared
      xmlctrl.h:187: error: ‘wxKeyEvent’ has not been declared
      xmlctrl.h:188: error: ‘wxKeyEvent’ has not been declared
      xmlctrl.h:189: error: ‘wxKeyEvent’ has not been declared
      xmlctrl.h:190: error: ‘wxKeyEvent’ has not been declared
      xmlctrl.h:192: error: ‘wxKeyEvent’ has not been declared
      xmlctrl.h:193: error: ‘wxIdleEvent’ has not been declared
      xmlctrl.h:194: error: ‘wxKeyEvent’ has not been declared
      xmlctrl.h:195: error: ‘wxMouseEvent’ has not been declared
      xmlctrl.h:196: error: ‘wxMouseEvent’ has not been declared
      xmlctrl.h:197: error: ‘wxMouseEvent’ has not been declared
      xmlctrl.h:198: error: ‘wxMouseEvent’ has not been declared
      xmlctrl.h:110: error: default argument missing for parameter 13 of ‘XmlCtrl::XmlCtrl(wxWindow*, XmlCtrlProperties, bool*, int, int, wxWindowID, const char*, size_t, const std::string&, const std::string&, const std::string&, const std::string&, int)’
      In file included from xmlcopyeditor.h:51,
                       from xmlcopyeditor.cpp:24:
      xmldoc.h:45: error: expected ‘,’ or ‘...’ before ‘&’ token
      xmldoc.h:47: error: ISO C++ forbids declaration of ‘wxPoint’ with no type
      xmldoc.h:47: error: default argument missing for parameter 13 of ‘XmlDoc::XmlDoc(wxWindow*, XmlCtrlProperties, bool*, int, int, wxWindowID, const char*, size_t, const std::string&, const std::string&, const std::string&, const std::string&, int)’
      In file included from xmlcopyeditor.h:52,
                       from xmlcopyeditor.cpp:24:
      myhtmlpane.h:27: error: expected class-name before ‘{’ token
      myhtmlpane.h:32: error: expected ‘,’ or ‘...’ before ‘&’ token
      myhtmlpane.h:33: error: ISO C++ forbids declaration of ‘wxPoint’ with no type
      myhtmlpane.h:42: error: ‘wxMouseEvent’ has not been declared
      myhtmlpane.h:33: error: default argument missing for parameter 3 of ‘MyHtmlPane::MyHtmlPane(wxWindow*, wxWindowID, int)’
      In file included from xmlcopyeditor.cpp:24:
      xmlcopyeditor.h:187: error: ‘wxConfig’ was not declared in this scope
      xmlcopyeditor.h:187: error: template argument 1 is invalid
      xmlcopyeditor.h:202: error: invalid use of incomplete type ‘struct wxFrame’
      /usr/include/wx-2.8/wx/utils.h:50: error: forward declaration of ‘struct wxFrame’
      xmlcopyeditor.h:206: error: ‘wxConfig’ has not been declared
      xmlcopyeditor.h:211: error: ‘wxActivateEvent’ has not been declared
      xmlcopyeditor.h:212: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:213: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:214: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:215: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:216: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:217: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:218: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:219: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:220: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:221: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:222: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:223: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:224: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:225: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:226: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:227: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:228: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:229: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:230: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:231: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:232: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:233: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:234: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:235: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:236: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:237: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:238: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:239: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:240: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:241: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:242: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:243: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:244: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:245: error: ‘wxIconizeEvent’ has not been declared
      xmlcopyeditor.h:246: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:247: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:248: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:249: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:250: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:251: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:252: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:253: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:254: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:255: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:256: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:258: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:259: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:260: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:261: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:262: error: ‘wxFindDialogEvent’ has not been declared
      xmlcopyeditor.h:263: error: ‘wxFindDialogEvent’ has not been declared
      xmlcopyeditor.h:264: error: ‘wxFindDialogEvent’ has not been declared
      xmlcopyeditor.h:265: error: ‘wxCloseEvent’ has not been declared
      xmlcopyeditor.h:266: error: ‘wxIdleEvent’ has not been declared
      xmlcopyeditor.h:267: error: ‘wxUpdateUIEvent’ has not been declared
      xmlcopyeditor.h:268: error: ‘wxUpdateUIEvent’ has not been declared
      xmlcopyeditor.h:269: error: ‘wxUpdateUIEvent’ has not been declared
      xmlcopyeditor.h:270: error: ‘wxUpdateUIEvent’ has not been declared
      xmlcopyeditor.h:271: error: ‘wxUpdateUIEvent’ has not been declared
      xmlcopyeditor.h:272: error: ‘wxUpdateUIEvent’ has not been declared
      xmlcopyeditor.h:273: error: ‘wxUpdateUIEvent’ has not been declared
      xmlcopyeditor.h:274: error: ‘wxUpdateUIEvent’ has not been declared
      xmlcopyeditor.h:275: error: ‘wxUpdateUIEvent’ has not been declared
      xmlcopyeditor.h:276: error: ‘wxUpdateUIEvent’ has not been declared
      xmlcopyeditor.h:277: error: ‘wxUpdateUIEvent’ has not been declared
      xmlcopyeditor.h:278: error: ‘wxUpdateUIEvent’ has not been declared
      xmlcopyeditor.h:279: error: ‘wxUpdateUIEvent’ has not been declared
      xmlcopyeditor.h:280: error: ‘wxUpdateUIEvent’ has not been declared
      xmlcopyeditor.h:281: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:282: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:283: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:284: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:285: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:286: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:287: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:288: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:289: error: ‘wxKeyEvent’ has not been declared
      xmlcopyeditor.h:290: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:291: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:292: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:293: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:294: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:295: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:297: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:298: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:299: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:300: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:301: error: ‘wxCommandEvent’ has not been declared
      xmlcopyeditor.h:341: error: ‘wxAuiManager’ does not name a type
      xmlcopyeditor.h:342: error: ISO C++ forbids declaration of ‘wxConfig’ with no type
      xmlcopyeditor.h:342: error: expected ‘;’ before ‘*’ token
      xmlcopyeditor.h:347: error: ‘wxHtmlEasyPrinting’ was not declared in this scope
      xmlcopyeditor.h:347: error: template argument 1 is invalid
      xmlcopyeditor.h:348: error: ‘wxFindReplaceDialog’ was not declared in this scope
      xmlcopyeditor.h:348: error: template argument 1 is invalid
      xmlcopyeditor.h:349: error: ‘wxHtmlHelpController’ was not declared in this scope
      xmlcopyeditor.h:349: error: template argument 1 is invalid
      xmlcopyeditor.h:351: error: ISO C++ forbids declaration of ‘wxBoxSizer’ with no type
      xmlcopyeditor.h:351: error: expected ‘;’ before ‘*’ token
      xmlcopyeditor.h:352: error: ISO C++ forbids declaration of ‘wxMenuBar’ with no type
      xmlcopyeditor.h:352: error: expected ‘;’ before ‘*’ token
      xmlcopyeditor.h:353: error: ISO C++ forbids declaration of ‘wxToolBar’ with no type
      xmlcopyeditor.h:353: error: expected ‘;’ before ‘*’ token
      xmlcopyeditor.h:363: error: ISO C++ forbids declaration of ‘wxMenu’ with no type
      xmlcopyeditor.h:363: error: expected ‘;’ before ‘*’ token
      xmlcopyeditor.h:364: error: ‘wxMenu’ was not declared in this scope
      xmlcopyeditor.h:364: error: template argument 1 is invalid
      xmlcopyeditor.h:364: error: template argument 2 is invalid
      xmlcopyeditor.h:385: error: ‘wxPoint’ does not name a type
      xmlcopyeditor.h:386: error: ‘wxSize’ does not name a type
      xmlcopyeditor.h:439: error: ‘wxBitmap’ does not name a type
      xmlcopyeditor.h:468: error: ‘wxFileHistory’ does not name a type
      xmlcopyeditor.h:469: error: ‘wxFindReplaceData’ does not name a type
      xmlcopyeditor.h:487: error: ‘wxToolBar’ has not been declared
      xmlcopyeditor.h:509: error: ISO C++ forbids declaration of ‘wxMenuBar’ with no type
      xmlcopyeditor.h:509: error: expected ‘;’ before ‘*’ token
      xmlcopyeditor.h:510: error: ISO C++ forbids declaration of ‘wxToolBar’ with no type
      xmlcopyeditor.h:510: error: expected ‘;’ before ‘*’ token
      In file included from xmlcopyeditor.cpp:34:
      styledialog.h:60: error: ISO C++ forbids declaration of ‘wxListCtrl’ with no type
      styledialog.h:60: error: expected ‘;’ before ‘*’ token
      styledialog.h:64: error: expected class-name before ‘{’ token
      styledialog.h:68: error: ‘wxIcon’ has not been declared
      styledialog.h:78: error: ‘wxPoint’ has not been declared
      styledialog.h:79: error: ‘wxSize’ has not been declared
      styledialog.h:82: error: ‘wxListEvent’ has not been declared
      styledialog.h:83: error: ‘wxListEvent’ has not been declared
      styledialog.h:84: error: ‘wxListEvent’ has not been declared
      styledialog.h:85: error: ‘wxCommandEvent’ has not been declared
      styledialog.h:86: error: ‘wxCommandEvent’ has not been declared
      styledialog.h:87: error: ‘wxCommandEvent’ has not been declared
      styledialog.h:88: error: ‘wxCommandEvent’ has not been declared
      styledialog.h:89: error: ‘wxCommandEvent’ has not been declared
      styledialog.h:90: error: ‘wxCommandEvent’ has not been declared
      styledialog.h:91: error: ‘wxCommandEvent’ has not been declared
      styledialog.h:92: error: ‘wxCommandEvent’ has not been declared
      styledialog.h:93: error: ‘wxCommandEvent’ has not been declared
      styledialog.h:94: error: ‘wxCommandEvent’ has not been declared
      styledialog.h:95: error: ‘wxCommandEvent’ has not been declared
      styledialog.h:96: error: ‘wxCommandEvent’ has not been declared
      styledialog.h:97: error: ‘wxCommandEvent’ has not been declared
      styledialog.h:98: error: ‘wxUpdateUIEvent’ has not been declared
      styledialog.h:109: error: ‘wxPoint’ does not name a type
      styledialog.h:110: error: ‘wxSize’ does not name a type
      styledialog.h:113: error: ‘wxPoint’ does not name a type
      styledialog.h:114: error: ‘wxSize’ does not name a type
      styledialog.h:115: error: ISO C++ forbids declaration of ‘wxComboBox’ with no type
      styledialog.h:115: error: expected ‘;’ before ‘*’ token
      styledialog.h:116: error: ISO C++ forbids declaration of ‘wxListCtrl’ with no type
      styledialog.h:116: error: expected ‘;’ before ‘*’ token
      styledialog.h:117: error: ISO C++ forbids declaration of ‘wxStatusBar’ with no type
      styledialog.h:117: error: expected ‘;’ before ‘*’ token
      styledialog.h:140: error: ‘wxListCtrl’ has not been declared
      styledialog.h:78: error: ‘wxDefaultPosition’ was not declared in this scope
      styledialog.h:79: error: ‘wxSize’ was not declared in this scope
      In file included from xmlcopyeditor.cpp:35:
      mypropertysheet.h:50: error: expected class-name before ‘{’ token
      mypropertysheet.h:68: error: expected ‘,’ or ‘...’ before ‘&’ token
      mypropertysheet.h:70: error: ISO C++ forbids declaration of ‘wxPoint’ with no type
      mypropertysheet.h:72: error: ‘wxCommandEvent’ has not been declared
      mypropertysheet.h:73: error: ‘wxCommandEvent’ has not been declared
      mypropertysheet.h:74: error: ‘wxCommandEvent’ has not been declared
      mypropertysheet.h:89: error: ISO C++ forbids declaration of ‘wxCheckBox’ with no type
      mypropertysheet.h:89: error: expected ‘;’ before ‘*’ token
      mypropertysheet.h:109: error: ISO C++ forbids declaration of ‘wxChoice’ with no type
      mypropertysheet.h:109: error: expected ‘;’ before ‘*’ token
      mypropertysheet.h:110: error: ISO C++ forbids declaration of ‘wxTextCtrl’ with no type
      mypropertysheet.h:110: error: expected ‘;’ before ‘*’ token
      mypropertysheet.h:70: error: default argument missing for parameter 16 of ‘MyPropertySheet::MyPropertySheet(wxWindow*, XmlCtrlProperties&, wxString&, wxString&, bool, bool, bool, bool, bool, bool, bool, bool, int, wxWindowID, wxString, int)’
      In file included from xmlcopyeditor.cpp:37:
      globalreplacedialog.h:27: error: expected class-name before ‘{’ token
      globalreplacedialog.h:37: error: ‘wxCommandEvent’ has not been declared
      globalreplacedialog.h:38: error: ‘wxHelpEvent’ has not been declared
      globalreplacedialog.h:39: error: ‘wxUpdateUIEvent’ has not been declared
      globalreplacedialog.h:55: error: ISO C++ forbids declaration of ‘wxTextCtrl’ with no type
      globalreplacedialog.h:55: error: expected ‘;’ before ‘*’ token
      globalreplacedialog.h:56: error: ISO C++ forbids declaration of ‘wxStaticText’ with no type
      globalreplacedialog.h:56: error: expected ‘;’ before ‘*’ token
      globalreplacedialog.h:57: error: ISO C++ forbids declaration of ‘wxCheckBox’ with no type
      globalreplacedialog.h:57: error: expected ‘;’ before ‘*’ token
      In file included from xmlcopyeditor.cpp:39:
      associatedialog.h:27: error: expected class-name before ‘{’ token
      associatedialog.h:40: error: ‘wxCommandEvent’ has not been declared
      associatedialog.h:41: error: ‘wxCommandEvent’ has not been declared
      associatedialog.h:42: error: ‘wxHelpEvent’ has not been declared
      associatedialog.h:43: error: ‘wxUpdateUIEvent’ has not been declared
      associatedialog.h:53: error: ISO C++ forbids declaration of ‘wxTextCtrl’ with no type
      associatedialog.h:53: error: expected ‘;’ before ‘*’ token
      associatedialog.h:54: error: ISO C++ forbids declaration of ‘wxButton’ with no type
      associatedialog.h:54: error: expected ‘;’ before ‘*’ token
      associatedialog.h:55: error: ISO C++ forbids declaration of ‘wxStaticText’ with no type
      associatedialog.h:55: error: expected ‘;’ before ‘*’ token
      In file included from xmlcopyeditor.cpp:43:
      aboutdialog.h:27: error: expected class-name before ‘{’ token
      aboutdialog.h:34: error: ‘wxPoint’ has not been declared
      aboutdialog.h:36: error: ‘wxCommandEvent’ has not been declared
      aboutdialog.h:37: error: ‘wxPoint’ does not name a type
      aboutdialog.h:39: error: ‘wxPoint’ does not name a type
      aboutdialog.h:40: error: ISO C++ forbids declaration of ‘wxHtmlWindow’ with no type
      aboutdialog.h:40: error: expected ‘;’ before ‘*’ token
      aboutdialog.h:41: error: ISO C++ forbids declaration of ‘wxButton’ with no type
      aboutdialog.h:41: error: expected ‘;’ before ‘*’ token
      In file included from xmlcopyeditor.cpp:45:
      locationpanel.h:30: error: expected class-name before ‘{’ token
      locationpanel.h:40: error: ISO C++ forbids declaration of ‘wxBoxSizer’ with no type
      locationpanel.h:40: error: expected ‘;’ before ‘*’ token
      locationpanel.h:41: error: ISO C++ forbids declaration of ‘wxTextCtrl’ with no type
      locationpanel.h:41: error: expected ‘;’ before ‘*’ token
      In file included from xmlcopyeditor.cpp:46:
      insertpanel.h:35: error: expected class-name before ‘{’ token
      insertpanel.h:45: error: ‘wxCommandEvent’ has not been declared
      insertpanel.h:46: error: ‘wxCommandEvent’ has not been declared
      insertpanel.h:47: error: ‘wxCommandEvent’ has not been declared
      insertpanel.h:49: error: ‘wxSizeEvent’ has not been declared
      insertpanel.h:54: error: ISO C++ forbids declaration of ‘wxBoxSizer’ with no type
      insertpanel.h:54: error: expected ‘;’ before ‘*’ token
      insertpanel.h:55: error: ISO C++ forbids declaration of ‘wxTextCtrl’ with no type
      insertpanel.h:55: error: expected ‘;’ before ‘*’ token
      insertpanel.h:56: error: ISO C++ forbids declaration of ‘wxListBox’ with no type
      insertpanel.h:56: error: expected ‘;’ before ‘*’ token
      In file included from xmlcopyeditor.cpp:48:
      mynotebook.h:33: error: expected class-name before ‘{’ token
      mynotebook.h:38: error: expected ‘,’ or ‘...’ before ‘&’ token
      mynotebook.h:40: error: ISO C++ forbids declaration of ‘wxPoint’ with no type
      mynotebook.h:41: error: ‘wxMouseEvent’ has not been declared
      mynotebook.h:42: error: ‘wxMouseEvent’ has not been declared
      mynotebook.h:43: error: ‘wxMouseEvent’ has not been declared
      mynotebook.h:44: error: ‘wxCommandEvent’ has not been declared
      mynotebook.h:45: error: ‘wxCommandEvent’ has not been declared
      In file included from xmlcopyeditor.cpp:50:
      commandpanel.h:43: error: expected class-name before ‘{’ token
      commandpanel.h:53: error: ‘wxCommandEvent’ has not been declared
      commandpanel.h:54: error: ‘wxCommandEvent’ has not been declared
      commandpanel.h:55: error: ‘wxIdleEvent’ has not been declared
      commandpanel.h:62: error: ISO C++ forbids declaration of ‘wxTextCtrl’ with no type
      commandpanel.h:62: error: expected ‘;’ before ‘*’ token
      commandpanel.h:63: error: ISO C++ forbids declaration of ‘wxButton’ with no type
      commandpanel.h:63: error: expected ‘;’ before ‘*’ token
      commandpanel.h:64: error: ISO C++ forbids declaration of ‘wxCheckBox’ with no type
      commandpanel.h:64: error: expected ‘;’ before ‘*’ token
      commandpanel.h:65: error: ISO C++ forbids declaration of ‘wxRadioButton’ with no type
      commandpanel.h:65: error: expected ‘;’ before ‘*’ token
      commandpanel.h:66: error: ISO C++ forbids declaration of ‘wxBoxSizer’ with no type
      commandpanel.h:66: error: expected ‘;’ before ‘*’ token
      In file included from /usr/include/wx-2.8/wx/window.h:23,
                       from /usr/include/wx-2.8/wx/toplevel.h:21,
                       from /usr/include/wx-2.8/wx/dialog.h:17,
                       from /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h:19,
                       from xmlcopyeditor.cpp:53:
      /usr/include/wx-2.8/wx/cursor.h: In constructor ‘wxBusyCursorSuspender::wxBusyCursorSuspender()’:
      /usr/include/wx-2.8/wx/cursor.h:65: error: ‘wxIsBusy’ was not declared in this scope
      /usr/include/wx-2.8/wx/cursor.h:67: error: ‘wxBusyCursor’ has not been declared
      /usr/include/wx-2.8/wx/cursor.h:67: error: ‘wxSetCursor’ was not declared in this scope
      /usr/include/wx-2.8/wx/cursor.h: In destructor ‘wxBusyCursorSuspender::~wxBusyCursorSuspender()’:
      /usr/include/wx-2.8/wx/cursor.h:72: error: ‘wxIsBusy’ was not declared in this scope
      /usr/include/wx-2.8/wx/cursor.h:74: error: ‘wxBusyCursor’ has not been declared
      /usr/include/wx-2.8/wx/cursor.h:74: error: ‘wxSetCursor’ was not declared in this scope
      In file included from /usr/include/wx-2.8/wx/window.h:26,
                       from /usr/include/wx-2.8/wx/toplevel.h:21,
                       from /usr/include/wx-2.8/wx/dialog.h:17,
                       from /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h:19,
                       from xmlcopyeditor.cpp:53:
      /usr/include/wx-2.8/wx/region.h: In member function ‘bool wxRegionBase::Intersect(const wxRect&)’:
      /usr/include/wx-2.8/wx/region.h:251: error: invalid use of incomplete type ‘struct wxRegion’
      /usr/include/wx-2.8/wx/gdicmn.h:38: error: forward declaration of ‘struct wxRegion’
      /usr/include/wx-2.8/wx/region.h: In member function ‘bool wxRegionBase::Subtract(const wxRect&)’:
      /usr/include/wx-2.8/wx/region.h:256: error: invalid use of incomplete type ‘struct wxRegion’
      /usr/include/wx-2.8/wx/gdicmn.h:38: error: forward declaration of ‘struct wxRegion’
      /usr/include/wx-2.8/wx/region.h: In member function ‘bool wxRegionBase::Xor(const wxRect&)’:
      /usr/include/wx-2.8/wx/region.h:261: error: invalid use of incomplete type ‘struct wxRegion’
      /usr/include/wx-2.8/wx/gdicmn.h:38: error: forward declaration of ‘struct wxRegion’
      In file included from /usr/include/wx-2.8/wx/toplevel.h:21,
                       from /usr/include/wx-2.8/wx/dialog.h:17,
                       from /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h:19,
                       from xmlcopyeditor.cpp:53:
      /usr/include/wx-2.8/wx/window.h: At global scope:
      /usr/include/wx-2.8/wx/window.h:82: error: field ‘font’ has incomplete type
      /usr/include/wx-2.8/wx/window.h:85: error: field ‘colFg’ has incomplete type
      /usr/include/wx-2.8/wx/window.h:89: error: field ‘colBg’ has incomplete type
      /usr/include/wx-2.8/wx/window.h:914: error: ‘wxUpdateUIEvent’ has not been declared
      /usr/include/wx-2.8/wx/window.h:1095: error: ‘wxSysColourChangedEvent’ has not been declared
      /usr/include/wx-2.8/wx/window.h:1096: error: ‘wxInitDialogEvent’ has not been declared
      /usr/include/wx-2.8/wx/window.h:1097: error: ‘wxMouseEvent’ has not been declared
      /usr/include/wx-2.8/wx/window.h:1112: error: ‘WXWidget’ does not name a type
      /usr/include/wx-2.8/wx/window.h:1114: error: ‘WXWidget’ has not been declared
      /usr/include/wx-2.8/wx/window.h:1209: error: field ‘m_cursor’ has incomplete type
      /usr/include/wx-2.8/wx/window.h:1210: error: field ‘m_font’ has incomplete type
      /usr/include/wx-2.8/wx/window.h:1211: error: field ‘m_backgroundColour’ has incomplete type
      /usr/include/wx-2.8/wx/window.h:1212: error: field ‘m_foregroundColour’ has incomplete type
      /usr/include/wx-2.8/wx/window.h:1219: error: field ‘m_updateRegion’ has incomplete type
      /usr/include/wx-2.8/wx/window.h:556: error: incomplete type ‘wxNavigationKeyEvent’ used in nested name specifier
      /usr/include/wx-2.8/wx/window.h: In member function ‘const wxRegion& wxWindowBase::GetUpdateRegion() const’:
      /usr/include/wx-2.8/wx/window.h:755: error: ‘m_updateRegion’ was not declared in this scope
      /usr/include/wx-2.8/wx/window.h: In member function ‘wxRegion& wxWindowBase::GetUpdateRegion()’:
      /usr/include/wx-2.8/wx/window.h:756: error: ‘m_updateRegion’ was not declared in this scope
      /usr/include/wx-2.8/wx/window.h: In member function ‘const wxCursor& wxWindowBase::GetCursor() const’:
      /usr/include/wx-2.8/wx/window.h:844: error: ‘m_cursor’ was not declared in this scope
      /usr/include/wx-2.8/wx/window.h: In member function ‘wxWindow* wxWindowBase::GetGrandParent() const’:
      /usr/include/wx-2.8/wx/window.h:1526: error: invalid use of incomplete type ‘struct wxWindow’
      /usr/include/wx-2.8/wx/utils.h:51: error: forward declaration of ‘struct wxWindow’
      In file included from /usr/include/wx-2.8/wx/dialog.h:17,
                       from /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h:19,
                       from xmlcopyeditor.cpp:53:
      /usr/include/wx-2.8/wx/toplevel.h: At global scope:
      /usr/include/wx-2.8/wx/toplevel.h:119: error: invalid use of incomplete type ‘struct wxWindow’
      /usr/include/wx-2.8/wx/utils.h:51: error: forward declaration of ‘struct wxWindow’
      /usr/include/wx-2.8/wx/toplevel.h:238: error: ‘wxCloseEvent’ has not been declared
      /usr/include/wx-2.8/wx/toplevel.h:239: error: ‘wxSizeEvent’ has not been declared
      /usr/include/wx-2.8/wx/toplevel.h:246: error: ‘wxActivateEvent’ has not been declared
      /usr/include/wx-2.8/wx/toplevel.h:249: error: ‘wxUpdateUIEvent’ has not been declared
      /usr/include/wx-2.8/wx/toplevel.h: In member function ‘virtual bool wxTopLevelWindowBase::IsActive()’:
      /usr/include/wx-2.8/wx/toplevel.h:183: error: ‘FindFocus’ was not declared in this scope
      /usr/include/wx-2.8/wx/toplevel.h: In member function ‘virtual bool wxTopLevelWindowBase::IsVisible() const’:
      /usr/include/wx-2.8/wx/toplevel.h:235: error: ‘IsShown’ was not declared in this scope
      /usr/include/wx-2.8/wx/toplevel.h: In member function ‘virtual void wxTopLevelWindowBase::DoGetScreenPosition(int*, int*) const’:
      /usr/include/wx-2.8/wx/toplevel.h:273: error: ‘DoGetPosition’ was not declared in this scope
      In file included from /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h:19,
                       from xmlcopyeditor.cpp:53:
      /usr/include/wx-2.8/wx/dialog.h: At global scope:
      /usr/include/wx-2.8/wx/dialog.h:33: error: expected class-name before ‘{’ token
      /usr/include/wx-2.8/wx/dialog.h:101: error: expected ‘,’ or ‘...’ before ‘&’ token
      /usr/include/wx-2.8/wx/dialog.h:101: error: ISO C++ forbids declaration of ‘wxKeyEvent’ with no type
      /usr/include/wx-2.8/wx/dialog.h:126: error: ‘wxKeyEvent’ has not been declared
      /usr/include/wx-2.8/wx/dialog.h:129: error: ‘wxCloseEvent’ has not been declared
      /usr/include/wx-2.8/wx/dialog.h:132: error: ‘wxCommandEvent’ has not been declared
      /usr/include/wx-2.8/wx/dialog.h:135: error: ‘wxSysColourChangedEvent’ has not been declared
      /usr/include/wx-2.8/wx/dialog.h:140: error: ‘wxChildFocusEvent’ has not been declared
      In file included from /usr/include/wx-2.8/wx/panel.h:15,
                       from /usr/include/wx-2.8/wx/vscroll.h:15,
                       from /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h:20,
                       from xmlcopyeditor.cpp:53:
      /usr/include/wx-2.8/wx/generic/panelg.h:31: error: invalid use of incomplete type ‘struct wxWindow’
      /usr/include/wx-2.8/wx/utils.h:51: error: forward declaration of ‘struct wxWindow’
      /usr/include/wx-2.8/wx/generic/panelg.h:74: error: ‘wxSizeEvent’ has not been declared
      /usr/include/wx-2.8/wx/generic/panelg.h:83: error: ‘wxChildFocusEvent’ has not been declared
      In file included from /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h:20,
                       from xmlcopyeditor.cpp:53:
      /usr/include/wx-2.8/wx/vscroll.h:174: error: ‘wxSizeEvent’ has not been declared
      /usr/include/wx-2.8/wx/vscroll.h:175: error: ‘wxScrollWinEvent’ has not been declared
      In file included from xmlcopyeditor.cpp:53:
      /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h:55: error: expected class-name before ‘{’ token
      /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h:79: error: ‘wxCommandEvent’ has not been declared
      /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h:108: error: ‘wxCommandEvent’ has not been declared
      /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h:112: error: ‘wxCommandEvent’ has not been declared
      /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h:117: error: ‘wxCommandEvent’ has not been declared
      /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h:154: error: ISO C++ forbids declaration of ‘wxComboBox’ with no type
      /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h:154: error: expected ‘;’ before ‘*’ token
      /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h:156: error: ISO C++ forbids declaration of ‘wxComboBox’ with no type
      /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h:156: error: expected ‘;’ before ‘*’ token
      /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h:159: error: ISO C++ forbids declaration of ‘wxStaticText’ with no type
      /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h:159: error: expected ‘;’ before ‘*’ token
      /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h:160: error: ISO C++ forbids declaration of ‘wxTextCtrl’ with no type
      /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h:160: error: expected ‘;’ before ‘*’ token
      /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h:162: error: ISO C++ forbids declaration of ‘wxComboBox’ with no type
      /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h:162: error: expected ‘;’ before ‘*’ token
      /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h:286: error: ‘wxSizeEvent’ has not been declared
      /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h:297: error: ‘wxPaintEvent’ has not been declared
      /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h:298: error: ‘wxKeyEvent’ has not been declared
      /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h:299: error: ‘wxMouseEvent’ has not been declared
      /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h:300: error: ‘wxMouseEvent’ has not been declared
      /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h:343: error: field ‘m_colBgSel’ has incomplete type
      /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h: In member function ‘const wxColour& wxSymbolListCtrl::GetSelectionBackground() const’:
      /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h:246: error: ‘m_colBgSel’ was not declared in this scope
      /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h: In member function ‘virtual wxVisualAttributes wxSymbolListCtrl::GetDefaultAttributes() const’:
      /usr/include/wx-2.8/wx/richtext/richtextsymboldlg.h:275: error: ‘GetWindowVariant’ was not declared in this scope
      In file included from xmlcopyeditor.cpp:62:
      findreplacepanel.h: At global scope:
      findreplacepanel.h:48: error: ‘wxCommandEvent’ has not been declared
      findreplacepanel.h:49: error: ‘wxCommandEvent’ has not been declared
      findreplacepanel.h:50: error: ‘wxCommandEvent’ has not been declared
      findreplacepanel.h:61: error: ISO C++ forbids declaration of ‘wxTextCtrl’ with no type
      findreplacepanel.h:61: error: expected ‘;’ before ‘*’ token
      findreplacepanel.h:62: error: ISO C++ forbids declaration of ‘wxStaticText’ with no type
      findreplacepanel.h:62: error: expected ‘;’ before ‘*’ token
      findreplacepanel.h:63: error: ISO C++ forbids declaration of ‘wxButton’ with no type
      findreplacepanel.h:63: error: expected ‘;’ before ‘*’ token
      findreplacepanel.h:64: error: ISO C++ forbids declaration of ‘wxCheckBox’ with no type
      findreplacepanel.h:64: error: expected ‘;’ before ‘*’ token
      findreplacepanel.h:66: error: ISO C++ forbids declaration of ‘wxBoxSizer’ with no type
      findreplacepanel.h:66: error: expected ‘;’ before ‘*’ token
      findreplacepanel.h:72: error: ‘wxIdleEvent’ has not been declared
      xmlcopyeditor.cpp:70: error: incomplete type ‘wxFrame’ used in nested name specifier
      xmlcopyeditor.cpp:71: error: ‘wxActivateEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:72: error: ‘wxCloseEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:73: error: ‘wxKeyEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:74: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:75: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:76: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:77: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:78: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:79: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:80: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:81: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:82: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:83: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:84: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:85: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:86: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:87: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:88: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:89: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:90: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:91: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:92: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:93: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:94: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:95: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:96: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:97: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:98: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:99: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp💯 error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:101: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:102: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:103: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:104: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:105: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:106: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:107: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:108: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:109: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:110: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:111: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:112: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:113: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:114: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:115: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:116: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:117: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:118: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:119: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:120: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:121: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:122: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:123: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:124: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:125: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:126: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:127: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:128: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:129: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:130: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:131: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:132: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:133: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:134: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:135: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:136: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:137: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:138: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:139: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:141: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:146: error: ‘wxCommandEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:151: error: ‘wxUpdateUIEventHandler’ was not declared in this scope
      xmlcopyeditor.cpp:152: error: ‘EVT_FIND’ was not declared in this scope
      xmlcopyeditor.cpp:153: error: expected `}' before ‘EVT_FIND_NEXT’
      xmlcopyeditor.cpp:153: error: expected ‘,’ or ‘;’ before ‘EVT_FIND_NEXT’
      xmlcopyeditor.cpp:180: error: expected declaration before ‘}’ token
      xpm/appicon.xpm:2: warning: ‘appicon_xpm’ defined but not used
      make[1]: *** [xmlcopyeditor.o] Error 1
      make[1]: Leaving directory `/tmp/xmlcopyeditor-1.2.0.2/src'
      make: *** [all-recursive] Error 1

       
      • gnschmidt

        gnschmidt - 2008-10-01

        Hi Robert,

        Ubuntu 8.04 32 bit is my primary development environment, so the tarball definitely compiles without errors when all required libraries are present.

        I suspect I need to tighten up configure and/or the makefiles so the relevant libraries are required.

        Have you tried installing the getdeb *.deb archive? That's up-to-date and compiled from the tarball.

        Would you mind posting the output of wx-config on your system?

        Best,
        Gerald

         
        • S_Vassallo

          S_Vassallo - 2008-10-28

          Same here with ubuntu intrepid

          wx-config --version
          2.8.8

          wx-config --libs
          -pthread -Wl,-Bsymbolic-functions  -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8

          Hope this help

          --
          Salvatore

           
    • gnschmidt

      gnschmidt - 2008-10-28

      Thanks Salvatore - I need to investigate this when I upgrade to Intrepid later this week.

      Is the getdeb binary not working on your computer? I've been meaning to mirror it on the download page for ages.

      Best,
      Gerald

       
      • S_Vassallo

        S_Vassallo - 2008-10-28

        > Is the getdeb binary not working on your computer?

        I haven't tried yet in intrepid, I'm quite sure it will work almost fine. Almost, because in hardy everything work except the language, even if I chose a different language at the next start I have always english (but I didn't investigate where is the problem)

        Thank you again

        --
        Salvatore

         
    • Kevin James

      Kevin James - 2008-12-09

      Hi all,

      I hit the same problem as Josef Feit (jfeit) mentioned on 2008-09-21 10:36. I'm now trying to use the openSuSE build service to build for different distros, to see if I can nail down what the problem is with openSuSE's build of wx.

      So far I have the build working fine (without changes) on Fedora 9 and Fedora 10, but fails on openSuSE 10.3 and openSuSE 11.0 - i586 or x86_64 doesn't make any difference to the fail/non-fail status. There's a problem with the Ubuntu repositories at the moment, but I'll be testing on 8.04 and 8.10 as well - I expect those to compile fine.

      Basically I have no concrete solution yet, but I wanted to mention the following:

      I built an Ubuntu 8.10 VM to test compile this - and I had a couple of failures. Nothing major, it's just that the Makefile doesn't check for the existence of the libxml, libexpat or libxslt header files. Once I installed these packages the make went fine, I just thought you might want to add those checks to the Makefile for completeness.

      I'll post again when/if I figure out how to get this working on openSuSE.

       
    • gnschmidt

      gnschmidt - 2008-12-09

      Hi Kevin, thanks for your help. I was expecting the configure script to pick up missing libraries. I seem to recall it checks for libxml, libexpat and libxslt... need to confirm that.

      -Gerald

       
    • Kevin James

      Kevin James - 2008-12-10

      Hi all,

      I hit the same problem as Josef Feit (jfeit) mentioned on 2008-09-21 10:36. I'm now trying to use the openSuSE build service to build for different distros, to see if I can nail down what the problem is with openSuSE's build of wx.

      So far I have the build working fine (without changes) on Fedora 9 and Fedora 10, but fails on openSuSE 10.3 and openSuSE 11.0 - i586 or x86_64 doesn't make any difference to the fail/non-fail status. There's a problem with the Ubuntu repositories at the moment, but I'll be testing on 8.04 and 8.10 as well - I expect those to compile fine.

      Basically I have no concrete solution yet, but I wanted to mention the following:

      I built an Ubuntu 8.10 VM to test compile this - and I had a couple of failures. Nothing major, it's just that the Makefile doesn't check for the existence of the libxml, libexpat or libxslt header files. Once I installed these packages the make went fine, I just thought you might want to add those checks to the Makefile for completeness.

      I'll post again when/if I figure out how to get this working on openSuSE.

       
    • Kevin James

      Kevin James - 2008-12-10

      Update:

      It seems to be a problem with the libxml2 on openSuSE. Versions are:

      Ubuntu 8.04 - libxml2 2.6.31
      openSuSE 11.0 - libxml2 2.6.32
      Fedora 10 - libxml2 2.7.2

      In the openSuSE version, and the openSuSE version alone, there is a section at the end of /usr/include/libxml2/libxml/xmlversion.h that differs - in the openSuSE version, ATTRIBUTE_PRINTF is defined here. I think that may be causing the problem.  Diff below (added lines are on openSuSE).

      More investigation needed, but that's what I've found so far.

      Cheers,
      KEv.

      @@ -394,8 +394,12 @@
      #ifndef ATTRIBUTE_UNUSED
      #define ATTRIBUTE_UNUSED __attribute__((unused))
      #endif
      +#ifndef ATTRIBUTE_PRINTF
      +#define ATTRIBUTE_PRINTF(fmt,args) __attribute__((__format__(__printf__,fmt,args)))
      +#endif
      #else
      #define ATTRIBUTE_UNUSED
      +#define ATTRIBUTE_PRINTF
      #endif

       
    • Jan van der Maarel

      Hi all,

      Solution:

      Edit xmlcopyeditor-1.2.0.2/src/wraplibxml.cpp.
      Find:

      #include "wraplibxml.h"
      #include <sstream>
      #include <stdexcept>
      #include <wx/wx.h>

      Change it in:

      #include "wraplibxml.h"
      #include <sstream>
      #include <stdexcept>

      #ifdef ATTRIBUTE_PRINTF
      #undef ATTRIBUTE_PRINTF
      #endif

      #include <wx/wx.h>

      After this xmlcopyeditor will compile.

      Just for the curious:

      The problem is in xmlversion.h and in defs.h.
      ATTRIBUTE_PRINTF is defined in xmlversion.h and later in defs.h.

      This is part of defs.h:

      #ifndef ATTRIBUTE_PRINTF
      #   if defined(__GNUC__) && !wxUSE_UNICODE
      #       define ATTRIBUTE_PRINTF(m, n) __attribute__ ((__format__ (__printf__, m, n)))
      #   else
      #       define ATTRIBUTE_PRINTF(m, n)
      #   endif

      #   define ATTRIBUTE_PRINTF_1 ATTRIBUTE_PRINTF(1, 2)
      #   define ATTRIBUTE_PRINTF_2 ATTRIBUTE_PRINTF(2, 3)
      #   define ATTRIBUTE_PRINTF_3 ATTRIBUTE_PRINTF(3, 4)
      #   define ATTRIBUTE_PRINTF_4 ATTRIBUTE_PRINTF(4, 5)
      #   define ATTRIBUTE_PRINTF_5 ATTRIBUTE_PRINTF(5, 6)
      #endif /* !defined(ATTRIBUTE_PRINTF) */

      So you have to undefine ATTRIBUTE_PRINTF before this part of the code is reached.

      Merry Christmas,

      Jan van der Maarel

       
      • gnschmidt

        gnschmidt - 2008-12-19

        That's fantastic. Thanks Jan!

        Best,
        Gerald

         

Log in to post a comment.