Membres inscrits :668
Membres en ligne : 0
Invités en ligne : 7


|
| Conversation : Problème avec wx-widgets sunstudio et netbeans 6.7 sous opensolaris |
mtdevg (Nouveau membre)
Inscrit le : 19-07-2009
Messages: 3
Snippets: 0
Tutoriels: 0
Hors ligne |
Bonjour, Je tente de développer une petite application et j'ai choisi de travailler sous opensolaris. wxWidgets est disponible dans l'installateur de paquets. Mon problème est qu'une fois installée, je ne peux pas compiler le moindre code d'ouverture d'une fenetre quelconque. J'ai bien passé les liens 'wx-config --cxxflags' et 'wx-config' au compilateur et au linker (le compilateur est sun cc (studio)) sous netbeans. Les erreurs sont les suivante. "You should use wx-config for compilation flags"... Parfois, je n'ai meme aucune erreur, mais la compilation échoue.
J'ai essayé de compiler moi meme la bibliothèque. Je n'ai pas eu de problème. (pourtant elle est compilée lorsque je l'installe avec l'installteur de paquet). J'ai trouvé une succession de commandes à passer au configure: ./configure --with-... Mais il semble que le programme soit incapable de trouver GTK. (pourtant installée). Lorsque j'essaye avec X11 il me dit qu'il ne trouve pas la librairie PANGOX (non disponible sous l'OS en question). Lorsque je passe motif, c'est encore une erreur du meme style. Lorsque je ne passe aucun argument, tout fonctionne... pour la compilation.
Néanmoins rien ne compile dans tout les cas. Si vous voyez d'ou peut venir le problème, Pourriez vous m'aider? (Si vous pouviez également me donnez les étapes complètes d'installations (bien que j'ai déja essayé en me basant sur un livre et d'autres sites internet) ainsi que quelques astuces qui auraient fonctionés pour vous). Merci d'avance.
Dernière modification par mtdevg (19-07-2009 20:00:45)
| |
|
Xaviou (Administrateur)
Lieu: Annecy (74)
Inscrit le : 27-08-2007
Messages: 1191
Snippets: 23
Tutoriels: 6
Site web
Hors ligne |
Salut, et bienvenue sur wxDev.fr
Je viens de jeter un coup d'oeil aux options de compilation de cette application sous Linux (le projet Code::Blocks pour linuc utilise wx-config), et les 'commandes' passées au compilateur et au linker sont les suivantes : - Pour le compilateur : `wx-config --cflags` - Pour le linker : `wx-config --libs`
Attention à le pas oublier d'insérer ces commandes entre deux caractères ` afin qu'elles soient interprétées au moment où elles sont passées au programme correspondant.
@+ Xav'
|
Le nouveau portail wxWidgets francophone : www.wxdev.fr Ben en fait, vous y êtes déjà...
|
mtdevg (Nouveau membre)
Inscrit le : 19-07-2009
Messages: 3
Snippets: 0
Tutoriels: 0
Hors ligne |
Merci pour votre réponse Xaviou. J'avais déjà fait cela auparavant, néanmoins je l'ai refait en console, ce qui a retiré une erreur.
Mais la compilation échoue toujours (sans erreurs). Je pense modifier le make dans les chemins d'accès de l'IDE, passant ainsi le gnu gmake à en parametre. Je ne sais pas encore si cela va fonctioner, si jamais cela ne marchait pas, je ne manquerai pas de vous répondre en précisant les erreurs. Merci encore. ---------- Bonjour, Comme vous vous en doutez je n'ai pas réussi. Je pense qu'il est préférable de vous montrer le message de sortie du compilateur afin d'etre le plus précis possible. Le compilateur sun studio renvoit ceci:
_________________________________________________________________ Running "/usr/sfw/bin/gmake -f Makefile CONF=Debug" in /export/home/max/NetBeansProjects/test4
/usr/sfw/bin/gmake -f nbproject/Makefile-Debug.mk SUBPROJECTS= .build-conf gmake[1]: Entering directory `/export/home/max/NetBeansProjects/test4' /usr/sfw/bin/gmake -f nbproject/Makefile-Debug.mk dist/Debug/SunStudio-Solaris-x86/test4 gmake[2]: Entering directory `/export/home/max/NetBeansProjects/test4' mkdir -p build/Debug/SunStudio-Solaris-x86 CC -xautopar -xvector -xreduction -xloopinfo -xstrconst -xc99 'wx-config --cxxflags' -c -g -s -o build/Debug/SunStudio-Solaris-x86/minimal.o minimal.cpp CC: Warning: Option -xstrconst passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -xc99 passed to ld, if ld is invoked, ignored otherwise CC: -xautopar requires an optimization level >=3 gmake[2]: *** [build/Debug/SunStudio-Solaris-x86/minimal.o] Error 1 gmake[2]: Leaving directory `/export/home/max/NetBeansProjects/test4' gmake[1]: *** [.build-conf] Error 2 gmake[1]: Leaving directory `/export/home/max/NetBeansProjects/test4' gmake: *** [.build-impl] Error 2
Build failed. Exit value 2. __________________________________________________________________
Le compilateur GNU renvoit ceci: __________________________________________________________________ Running "/usr/sfw/bin/gmake -f Makefile CONF=Debug" in /export/home/max/NetBeansProjects/test4
/usr/sfw/bin/gmake -f nbproject/Makefile-Debug.mk SUBPROJECTS= .build-conf gmake[1]: Entering directory `/export/home/max/NetBeansProjects/test4' /usr/sfw/bin/gmake -f nbproject/Makefile-Debug.mk dist/Debug/SunStudio-Solaris-x86/test4 gmake[2]: Entering directory `/export/home/max/NetBeansProjects/test4' mkdir -p build/Debug/SunStudio-Solaris-x86 CC -xautopar -xvector -xreduction -xloopinfo -xstrconst -xc99 'wx-config --cxxflags' -c -g -s -o build/Debug/SunStudio-Solaris-x86/minimal.o minimal.cpp CC: Warning: Option -xstrconst passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -xc99 passed to ld, if ld is invoked, ignored otherwise CC: -xautopar requires an optimization level >=3 gmake[2]: *** [build/Debug/SunStudio-Solaris-x86/minimal.o] Error 1 gmake[2]: Leaving directory `/export/home/max/NetBeansProjects/test4' gmake[1]: *** [.build-conf] Error 2 gmake[1]: Leaving directory `/export/home/max/NetBeansProjects/test4' gmake: *** [.build-impl] Error 2
Build failed. Exit value 2. __________________________________________________________________________
Le compilateur sun studio (avec son make original) renvoit ceci: __________________________________________________________________________ Running "/opt/SunStudioExpress/bin/dmake -f Makefile CONF=Debug" in /export/home/max/NetBeansProjects/test4
dmake: defaulting to parallel mode. See the man page dmake(1) for more information on setting up the .dmakerc file. dpc-s-1 --> 1 job dpc-s-1 --> 2 jobs /opt/SunStudioExpress/bin/dmake -f nbproject/Makefile-Debug.mk SUBPROJECTS= .build-conf /opt/SunStudioExpress/bin/dmake -f nbproject/Makefile-Debug.mk dist/Debug/SunStudioExpress-Solaris-x86/test4 dpc-s-1 --> 1 job mkdir -p build/Debug/SunStudioExpress-Solaris-x86 CC -xautopar -xvector -xreduction -xloopinfo -xstrconst -xc99 -m32 'wx-config --cxxflags' -c -g -s -o build/Debug/SunStudioExpress-Solaris-x86/minimal.o minimal.cpp dpc-s-1 --> Job output mkdir -p build/Debug/SunStudioExpress-Solaris-x86 CC -xautopar -xvector -xreduction -xloopinfo -xstrconst -xc99 -m32 'wx-config --cxxflags' -c -g -s -o build/Debug/SunStudioExpress-Solaris-x86/minimal.o minimal.cpp CC: Warning: Option -xstrconst passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -xc99 passed to ld, if ld is invoked, ignored otherwise CC: -xautopar requires an optimization level >=3 *** Error code 1 dmake: Fatal error: Command failed for target `build/Debug/SunStudioExpress-Solaris-x86/minimal.o' Current working directory /export/home/max/NetBeansProjects/test4 *** Error code 1 dmake: Fatal error: Command failed for target `.build-conf' Current working directory /export/home/max/NetBeansProjects/test4 *** Error code 1 dmake: Fatal error: Command failed for target `.build-impl'
Build failed. Exit value 1. ___________________________________________________________________________
Je ne vois pas d'ou vient le problème, Les 'wx-config --cxxflags' 'wx-config --libs' ont bien été donnés au compilateur dans l'IDE.
J'espère que ces détails pourronts vous aider à voir ou est mon problème. Dans tous les cas merci d'avance pour votre réponse.
Dernière modification par mtdevg (21-07-2009 03:19:16)
| |
|
Xaviou (Administrateur)
Lieu: Annecy (74)
Inscrit le : 27-08-2007
Messages: 1191
Snippets: 23
Tutoriels: 6
Site web
Hors ligne |
Salut.
Peux-tu essayer la compilation en mode Release pour voir si ça n'irait pas mieux à tout hasard ? Il se peut que le compilo cherche à utiliser wxWidgets en mode debug, et que cette version des libs ne soit pas installée.
@+ Xav'
|
Le nouveau portail wxWidgets francophone : www.wxdev.fr Ben en fait, vous y êtes déjà...
|
mtdevg (Nouveau membre)
Inscrit le : 19-07-2009
Messages: 3
Snippets: 0
Tutoriels: 0
Hors ligne |
Bonjour, j'ai essayé ce que tu m'as dit mais ca n'a rien changé. Néanmoins quand je compile avec GNU je n'ai pas les memes erreurs:
Running "/usr/sfw/bin/gmake -f Makefile CONF=Release" in /root/NetBeansProjects/helloworld
/usr/sfw/bin/gmake -f nbproject/Makefile-Release.mk SUBPROJECTS= .build-conf gmake[1]: Entering directory `/root/NetBeansProjects/helloworld' /usr/sfw/bin/gmake -f nbproject/Makefile-Release.mk dist/Release/Unknown-Solaris-x86/helloworld gmake[2]: Entering directory `/root/NetBeansProjects/helloworld' mkdir -p build/Release/Unknown-Solaris-x86 g++ -m64 'wx-config --cxxflags' -c -O2 -Wall -o build/Release/Unknown-Solaris-x86/hworld.o hworld.cpp g++: wx-config --cxxflags: No such file or directory In file included from /usr/include/wx-2.8/wx/wx.h:15, from hworld.cpp:2: /usr/include/wx/defs.h:42:13: #error "No Target! You should use wx-config program for compilation flags!" In file included from /usr/include/wx/event.h:22, from /usr/include/wx-2.8/wx/wx.h:25, from hworld.cpp:2: /usr/include/wx/cursor.h:43: error: expected `;' before '*' token In file included from /usr/include/wx/app.h:13, from /usr/include/wx-2.8/wx/wx.h:26, from hworld.cpp:2: /usr/include/wx/frame.h:29: error: expected class-name before '{' token /usr/include/wx/frame.h:38: error: `wxDEFAULT_FRAME_STYLE' was not declared in this scope /usr/include/wx/frame.h:39: error: `wxFrameNameStr' was not declared in this scope /usr/include/wx/frame.h:51: error: `wxDEFAULT_FRAME_STYLE' was not declared in this scope /usr/include/wx/frame.h:52: error: `wxFrameNameStr' was not declared in this scope /usr/include/wx/frame.h:62: error: `wxStatusLineNameStr' was not declared in this scope /usr/include/wx/frame.h:70: error: `wxToolBarNameStr' was not declared in this scope In file included from /usr/include/wx/generic/icon.h:15, from /usr/include/wx/icon.h:24, from /usr/include/wx/app.h:14, from /usr/include/wx-2.8/wx/wx.h:26, from hworld.cpp:2: /usr/include/wx/bitmap.h:52: error: expected `;' before '*' token /usr/include/wx/bitmap.h:54: error: expected `;' before '*' token /usr/include/wx/bitmap.h:65: error: expected class-name before '{' token /usr/include/wx/bitmap.h:118: error: `GdkPixmap' has not been declared /usr/include/wx/bitmap.h:119: error: `GdkBitmap' has not been declared /usr/include/wx/bitmap.h:121: error: expected `;' before '*' token /usr/include/wx/bitmap.h:122: error: expected `;' before '*' token /usr/include/wx/bitmap.h:157: error: expected class-name before '{' token In file included from /usr/include/wx-2.8/wx/wx.h:26, from hworld.cpp:2: /usr/include/wx/app.h:29: error: expected class-name before '{' token /usr/include/wx/app.h:55: error: `gint' does not name a type /usr/include/wx/app.h:66: error: expected `;' before '*' token In file included from /usr/include/wx-2.8/wx/wx.h:36, from hworld.cpp:2: /usr/include/wx/window.h:29: error: invalid use of undefined type `struct wxWindowBase' /usr/include/wx/event.h:39: error: forward declaration of `struct wxWindowBase' /usr/include/wx/window.h:108: error: `wxDropTarget' has not been declared /usr/include/wx/window.h:116: error: `WXWidget' does not name a type /usr/include/wx/window.h:156: error: `GtkWidget' declared as a `virtual' field /usr/include/wx/window.h:156: error: expected `;' before '*' token /usr/include/wx/window.h:157: error: `GdkWindow' has not been declared /usr/include/wx/window.h:158: error: `GtkWidget' has not been declared /usr/include/wx/window.h:161: error: `GtkTooltips' has not been declared /usr/include/wx/window.h:174: error: `GtkWidget' has not been declared /usr/include/wx/window.h:190: error: expected `;' before '*' token /usr/include/wx/window.h:191: error: expected `;' before '*' token /usr/include/wx/window.h:194: error: expected `;' before '*' token /usr/include/wx/window.h:204: error: field `m_clearRegion' has incomplete type /usr/include/wx/window.h:207: error: expected `;' before '*' token /usr/include/wx/window.h:247: error: `wxToolTip' has not been declared /usr/include/wx/window.h:259: error: expected `;' before '*' token /usr/include/wx/window.h:266: error: `GtkRcStyle' has not been declared In file included from /usr/include/wx/panel.h:15, from /usr/include/wx-2.8/wx/wx.h:38, from hworld.cpp:2: /usr/include/wx/generic/panelg.h:31: error: invalid use of undefined type `struct wxWindow' /usr/include/wx/log.h:75: error: forward declaration of `struct wxWindow' In file included from /usr/include/wx-2.8/wx/wx.h:39, from hworld.cpp:2: /usr/include/wx/toplevel.h:18: error: expected class-name before '{' token /usr/include/wx/toplevel.h:51: error: expected `,' or `...' before '&' token /usr/include/wx/toplevel.h:94: error: expected `;' before '*' token /usr/include/wx/toplevel.h:27: error: `wxDEFAULT_FRAME_STYLE' was not declared in this scope /usr/include/wx/toplevel.h:28: error: `wxFrameNameStr' was not declared in this scope /usr/include/wx/toplevel.h:40: error: `wxDEFAULT_FRAME_STYLE' was not declared in this scope /usr/include/wx/toplevel.h:41: error: `wxFrameNameStr' was not declared in this scope /usr/include/wx/toplevel.h:54: error: `wxFULLSCREEN_ALL' was not declared in this scope /usr/include/wx/toplevel.h:59: error: `wxUSER_ATTENTION_INFO' was not declared in this scope In file included from /usr/include/wx-2.8/wx/wx.h:43, from hworld.cpp:2: /usr/include/wx/region.h:20: error: expected class-name before '{' token /usr/include/wx/region.h:61: error: expected `)' before '*' token /usr/include/wx/region.h:63: error: expected `;' before '*' token /usr/include/wx/region.h:73: error: `wxRegionContain' does not name a type /usr/include/wx/region.h:74: error: `wxRegionContain' does not name a type /usr/include/wx/region.h: In constructor `wxRegion::wxRegion(const wxBitmap&)': /usr/include/wx/region.h:44: error: `Union' undeclared (first use this function) /usr/include/wx/region.h:44: error: (Each undeclared identifier is reported only once for each function it appears in.) /usr/include/wx/region.h: In constructor `wxRegion::wxRegion(const wxBitmap&, const wxColour&, int)': /usr/include/wx/region.h:49: error: `Union' undeclared (first use this function) /usr/include/wx/colour.h: At global scope: In file included from /usr/include/wx-2.8/wx/wx.h:46, from hworld.cpp:2: /usr/include/wx/colour.h:35: error: expected class-name before '{' token /usr/include/wx/colour.h:44: error: expected `;' before "virtual" /usr/include/wx/colour.h:60: error: `GdkColormap' has not been declared /usr/include/wx/colour.h:62: error: expected `;' before '*' token /usr/include/wx/colour.h: In member function `bool wxColour::IsOk() const': /usr/include/wx/colour.h:49: error: `m_refData' undeclared (first use this function) /usr/include/wx/font.h: At global scope: In file included from /usr/include/wx-2.8/wx/wx.h:47, from hworld.cpp:2: /usr/include/wx/font.h:30: error: expected class-name before '{' token /usr/include/wx/font.h:41: error: expected `,' or `...' before '&' token /usr/include/wx/font.h:75: error: `wxNativeFontInfo' declared as a `virtual' field /usr/include/wx/font.h:75: error: expected `;' before '*' token /usr/include/wx/font.h:92: error: expected `;' before '*' token /usr/include/wx/font.h:97: error: expected `,' or `...' before '&' token In file included from /usr/include/wx-2.8/wx/wx.h:48, from hworld.cpp:2: /usr/include/wx/dc.h:39: error: expected class-name before '{' token /usr/include/wx/dc.h:69: error: `GdkWindow' declared as a `virtual' field /usr/include/wx/dc.h:69: error: expected `;' before '*' token /usr/include/wx/dc.h:71: error: expected `;' before "wxCoord" /usr/include/wx/dc.h: In member function `void wxDC::SetColourMap(const wxPalette&)': /usr/include/wx/dc.h:45: error: `SetPalette' undeclared (first use this function) /usr/include/wx/dc.h: In member function `wxCoord wxDC::XDEV2LOG(wxCoord) const': /usr/include/wx/dc.h:73: error: `m_deviceOriginX' undeclared (first use this function) /usr/include/wx/dc.h:73: error: `m_scaleX' undeclared (first use this function) /usr/include/wx/dc.h:73: error: `m_signX' undeclared (first use this function) /usr/include/wx/dc.h:73: error: `m_logicalOriginX' undeclared (first use this function) /usr/include/wx/dc.h: In member function `wxCoord wxDC::XDEV2LOGREL(wxCoord) const': /usr/include/wx/dc.h:77: error: `m_scaleX' undeclared (first use this function) /usr/include/wx/dc.h: In member function `wxCoord wxDC::YDEV2LOG(wxCoord) const': /usr/include/wx/dc.h:81: error: `m_deviceOriginY' undeclared (first use this function) /usr/include/wx/dc.h:81: error: `m_scaleY' undeclared (first use this function) /usr/include/wx/dc.h:81: error: `m_signY' undeclared (first use this function) /usr/include/wx/dc.h:81: error: `m_logicalOriginY' undeclared (first use this function) /usr/include/wx/dc.h: In member function `wxCoord wxDC::YDEV2LOGREL(wxCoord) const': /usr/include/wx/dc.h:85: error: `m_scaleY' undeclared (first use this function) /usr/include/wx/dc.h: In member function `wxCoord wxDC::XLOG2DEV(wxCoord) const': /usr/include/wx/dc.h:89: error: `m_logicalOriginX' undeclared (first use this function) /usr/include/wx/dc.h:89: error: `m_scaleX' undeclared (first use this function) /usr/include/wx/dc.h:89: error: `m_signX' undeclared (first use this function) /usr/include/wx/dc.h:89: error: `m_deviceOriginX' undeclared (first use this function) /usr/include/wx/dc.h: In member function `wxCoord wxDC::XLOG2DEVREL(wxCoord) const': /usr/include/wx/dc.h:93: error: `m_scaleX' undeclared (first use this function) /usr/include/wx/dc.h: In member function `wxCoord wxDC::YLOG2DEV(wxCoord) const': /usr/include/wx/dc.h:97: error: `m_logicalOriginY' undeclared (first use this function) /usr/include/wx/dc.h:97: error: `m_scaleY' undeclared (first use this function) /usr/include/wx/dc.h:97: error: `m_signY' undeclared (first use this function) /usr/include/wx/dc.h:97: error: `m_deviceOriginY' undeclared (first use this function) /usr/include/wx/dc.h: In member function `wxCoord wxDC::YLOG2DEVREL(wxCoord) const': /usr/include/wx/dc.h:101: error: `m_scaleY' undeclared (first use this function) /usr/include/wx/dcclient.h: At global scope: In file included from /usr/include/wx-2.8/wx/wx.h:49, from hworld.cpp:2: /usr/include/wx/dcclient.h:103: error: `GdkWindow' declared as a `virtual' field /usr/include/wx/dcclient.h:103: error: expected `;' before '*' token /usr/include/wx/dcclient.h:108: error: expected `;' before "GdkWindow" /usr/include/wx/dcclient.h:108: error: expected `;' before '*' token /usr/include/wx/dcclient.h:109: error: expected `;' before '*' token /usr/include/wx/dcclient.h:110: error: expected `;' before '*' token /usr/include/wx/dcclient.h:111: error: expected `;' before '*' token /usr/include/wx/dcclient.h:112: error: expected `;' before '*' token /usr/include/wx/dcclient.h:113: error: expected `;' before '*' token /usr/include/wx/dcclient.h:124: error: expected `;' before '*' token /usr/include/wx/dcclient.h:126: error: expected `;' before "private" In file included from /usr/include/wx-2.8/wx/wx.h:50, from hworld.cpp:2: /usr/include/wx/dcmemory.h:27: error: expected class-name before '{' token /usr/include/wx/dcmemory.h: In constructor `wxMemoryDC::wxMemoryDC(wxBitmap&)': /usr/include/wx/dcmemory.h:30: error: `SelectObject' undeclared (first use this function) /usr/include/wx/dcscreen.h: At global scope: In file included from /usr/include/wx-2.8/wx/wx.h:52, from hworld.cpp:2: /usr/include/wx/dcscreen.h:37: error: expected `;' before '*' token In file included from /usr/include/wx/button.h:16, from /usr/include/wx-2.8/wx/wx.h:53, from hworld.cpp:2: /usr/include/wx/control.h:33: error: expected init-declarator before '*' token /usr/include/wx/control.h:33: error: expected `,' or `;' before '*' token /usr/include/wx/control.h:34: error: expected init-declarator before '*' token /usr/include/wx/control.h:34: error: expected `,' or `;' before '*' token /usr/include/wx/control.h:35: error: expected init-declarator before '*' token /usr/include/wx/control.h:35: error: expected `,' or `;' before '*' token /usr/include/wx/control.h:39: error: expected class-name before '{' token /usr/include/wx/control.h:45: error: expected `,' or `...' before '&' token /usr/include/wx/control.h:54: error: expected `,' or `...' before '&' token /usr/include/wx/control.h:60: error: `wxVisualAttributes' does not name a type /usr/include/wx/control.h:76: error: `wxVisualAttributes' does not name a type /usr/include/wx/control.h:80: error: `wxVisualAttributes' does not name a type /usr/include/wx/control.h:84: error: `wxVisualAttributes' does not name a type /usr/include/wx/control.h:89: error: `wxVisualAttributes' does not name a type /usr/include/wx/control.h: In constructor `wxControl::wxControl(wxWindow*, wxWindowID, const wxPoint&, const wxSize&, long int, int)': /usr/include/wx/control.h:48: error: `validator' undeclared (first use this function) /usr/include/wx/control.h:48: error: `name' undeclared (first use this function) /usr/include/wx/button.h: At global scope: In file included from /usr/include/wx-2.8/wx/wx.h:53, from hworld.cpp:2: /usr/include/wx/button.h:35: error: expected class-name before '{' token /usr/include/wx/button.h:42: error: expected `,' or `...' before '&' token /usr/include/wx/button.h:54: error: expected `,' or `...' before '&' token /usr/include/wx/button.h:64: error: `GtkRcStyle' has not been declared /usr/include/wx/button.h:65: error: `GdkWindow' has not been declared /usr/include/wx/button.h:71: error: `wxVisualAttributes' does not name a type /usr/include/wx/button.h: In constructor `wxButton::wxButton(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int, int)': /usr/include/wx/button.h:45: error: `validator' undeclared (first use this function) /usr/include/wx/button.h:45: error: `name' undeclared (first use this function) /usr/include/wx/menuitem.h: At global scope: In file included from /usr/include/wx-2.8/wx/wx.h:54, from hworld.cpp:2: /usr/include/wx/menuitem.h:20: error: expected class-name before '{' token /usr/include/wx/menuitem.h:43: error: `GtkWidget' has not been declared /usr/include/wx/menuitem.h:44: error: expected `;' before '*' token /usr/include/wx/menuitem.h:45: error: expected `;' before "GtkWidget" /usr/include/wx/menuitem.h:45: error: expected `;' before '*' token /usr/include/wx/menuitem.h:46: error: expected `;' before "void" /usr/include/wx/menuitem.h:46: error: `GtkWidget' has not been declared /usr/include/wx/menuitem.h:70: error: expected `;' before '*' token /usr/include/wx/menuitem.h:71: error: expected `;' before '*' token /usr/include/wx/menuitem.h: In member function `void wxMenuItem::SetMenuItem(int*)': /usr/include/wx/menuitem.h:43: error: `m_menuItem' undeclared (first use this function) /usr/include/wx/menuitem.h: In member function `void wxMenuItem::SetLabelWidget(int*)': /usr/include/wx/menuitem.h:46: error: `m_labelWidget' undeclared (first use this function) /usr/include/wx/menu.h: At global scope: In file included from /usr/include/wx-2.8/wx/wx.h:55, from hworld.cpp:2: /usr/include/wx/menu.h:18: error: expected class-name before '{' token /usr/include/wx/menu.h:47: error: expected `;' before '*' token /usr/include/wx/menu.h:48: error: expected `;' before '*' token /usr/include/wx/menu.h:70: error: expected class-name before '{' token /usr/include/wx/menu.h:88: error: `GtkWidget' has not been declared /usr/include/wx/menu.h:91: error: expected `;' before '*' token /usr/include/wx/menu.h:92: error: expected `;' before '*' token /usr/include/wx/menu.h:93: error: expected `;' before '*' token /usr/include/wx/menu.h:102: error: expected `;' before '*' token /usr/include/wx/menu.h: In constructor `wxMenu::wxMenu(const wxString&, long int)': /usr/include/wx/menu.h:74: error: class `wxMenu' does not have any field named `wxMenuBase' /usr/include/wx/menu.h: In constructor `wxMenu::wxMenu(long int)': /usr/include/wx/menu.h:76: error: class `wxMenu' does not have any field named `wxMenuBase' /usr/include/wx/pen.h: At global scope: In file included from /usr/include/wx-2.8/wx/wx.h:56, from hworld.cpp:2: /usr/include/wx/pen.h:28: error: `gchar' does not name a type In file included from /usr/include/wx-2.8/wx/wx.h:57, from hworld.cpp:2: /usr/include/wx/brush.h:31: error: expected class-name before '{' token /usr/include/wx/brush.h: In member function `bool wxBrush::IsOk() const': /usr/include/wx/brush.h:40: error: `m_refData' undeclared (first use this function) /usr/include/wx/dialog.h: At global scope: In file included from /usr/include/wx-2.8/wx/wx.h:61, from hworld.cpp:2: /usr/include/wx/dialog.h:33: error: expected class-name before '{' token /usr/include/wx/dialog.h:40: error: `wxDEFAULT_DIALOG_STYLE' was not declared in this scope /usr/include/wx/dialog.h:46: error: `wxDEFAULT_DIALOG_STYLE' was not declared in this scope In file included from /usr/include/wx-2.8/wx/wx.h:62, from hworld.cpp:2: /usr/include/wx/timer.h:18: error: expected class-name before '{' token /usr/include/wx/timer.h: In constructor `wxTimer::wxTimer(wxEvtHandler*, int)': /usr/include/wx/timer.h:21: error: class `wxTimer' does not have any field named `wxTimerBase' /usr/include/wx/msgdlg.h: At global scope: In file included from /usr/include/wx-2.8/wx/wx.h:64, from hworld.cpp:2: /usr/include/wx/msgdlg.h:24: error: expected class-name before '{' token In file included from /usr/include/wx-2.8/wx/wx.h:66, from hworld.cpp:2: /usr/include/wx/dataobj.h:18: error: expected class-name before '{' token /usr/include/wx/dataobj.h:23: error: expected `,' or `...' before '&' token In file included from /usr/include/wx-2.8/wx/wx.h:69, from hworld.cpp:2: /usr/include/wx/ctrlsub.h: In member function `void wxControlWithItems::SetClientData(void*)': /usr/include/wx/ctrlsub.h:185: error: cannot call member function `void wxEvtHandler::SetClientData(void*)' without object /usr/include/wx/ctrlsub.h: In member function `void* wxControlWithItems::GetClientData() const': /usr/include/wx/ctrlsub.h:185: error: cannot call member function `void* wxEvtHandler::GetClientData() const' without object /usr/include/wx/ctrlsub.h: In member function `void wxControlWithItems::SetClientObject(wxClientData*)': /usr/include/wx/ctrlsub.h:185: error: cannot call member function `void wxEvtHandler::SetClientObject(wxClientData*)' without object /usr/include/wx/ctrlsub.h: In member function `wxClientData* wxControlWithItems::GetClientObject() const': /usr/include/wx/ctrlsub.h:185: error: cannot call member function `wxClientData* wxEvtHandler::GetClientObject() const' without object /usr/include/wx/bmpbuttn.h: At global scope: In file included from /usr/include/wx-2.8/wx/wx.h:70, from hworld.cpp:2: /usr/include/wx/bmpbuttn.h:19: error: expected class-name before '{' token /usr/include/wx/bmpbuttn.h:29: error: expected `,' or `...' before '&' token /usr/include/wx/bmpbuttn.h:43: error: expected `,' or `...' before '&' token /usr/include/wx/bmpbuttn.h:59: error: `GtkRcStyle' has not been declared /usr/include/wx/bmpbuttn.h:28: error: `wxBU_AUTODRAW' was not declared in this scope /usr/include/wx/bmpbuttn.h:42: error: `wxBU_AUTODRAW' was not declared in this scope /usr/include/wx/bmpbuttn.h: In constructor `wxBitmapButton::wxBitmapButton(wxWindow*, wxWindowID, const wxBitmap&, const wxPoint&, const wxSize&, long int, int)': /usr/include/wx/bmpbuttn.h:34: error: `validator' undeclared (first use this function) /usr/include/wx/bmpbuttn.h:34: error: `name' undeclared (first use this function) /usr/include/wx/bmpbuttn.h: In member function `virtual void wxBitmapButton::SetLabel(const wxBitmap&)': /usr/include/wx/bmpbuttn.h:47: error: `SetBitmapLabel' undeclared (first use this function) /usr/include/wx/checkbox.h: At global scope: In file included from /usr/include/wx-2.8/wx/wx.h:71, from hworld.cpp:2: /usr/include/wx/checkbox.h:18: error: expected class-name before '{' token /usr/include/wx/checkbox.h:24: error: expected `,' or `...' before '&' token /usr/include/wx/checkbox.h:35: error: expected `,' or `...' before '&' token /usr/include/wx/checkbox.h:44: error: `wxVisualAttributes' does not name a type /usr/include/wx/checkbox.h:50: error: `GtkRcStyle' has not been declared /usr/include/wx/checkbox.h:51: error: `GdkWindow' has not been declared /usr/include/wx/checkbox.h:54: error: expected `;' before '*' token /usr/include/wx/checkbox.h:55: error: expected `;' before '*' token /usr/include/wx/checkbox.h: In constructor `wxCheckBox::wxCheckBox(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int, int)': /usr/include/wx/checkbox.h:27: error: `validator' undeclared (first use this function) /usr/include/wx/checkbox.h:27: error: `name' undeclared (first use this function) /usr/include/wx/checklst.h: At global scope: In file included from /usr/include/wx-2.8/wx/wx.h:72, from hworld.cpp:2: /usr/include/wx/checklst.h:32: error: expected class-name before '{' token /usr/include/wx/checklst.h:41: error: expected `,' or `...' before '&' token /usr/include/wx/checklst.h:48: error: expected `,' or `...' before '&' token In file included from /usr/include/wx-2.8/wx/wx.h:73, from hworld.cpp:2: /usr/include/wx/choice.h:21: error: expected class-name before '{' token /usr/include/wx/choice.h:29: error: expected `,' or `...' before '&' token /usr/include/wx/choice.h:41: error: expected `,' or `...' before '&' token /usr/include/wx/choice.h:54: error: expected `,' or `...' before '&' token /usr/include/wx/choice.h:61: error: expected `,' or `...' before '&' token /usr/include/wx/choice.h:76: error: `wxVisualAttributes' does not name a type /usr/include/wx/choice.h:82: error: `GtkRcStyle' has not been declared /usr/include/wx/choice.h:93: error: `GdkWindow' has not been declared /usr/include/wx/choice.h:97: error: `GtkWidget' has not been declared /usr/include/wx/choice.h: In constructor `wxChoice::wxChoice(wxWindow*, wxWindowID, const wxPoint&, const wxSize&, int, const wxString*, long int, int)': /usr/include/wx/choice.h:34: error: `validator' undeclared (first use this function) /usr/include/wx/choice.h:34: error: `name' undeclared (first use this function) /usr/include/wx/choice.h: In constructor `wxChoice::wxChoice(wxWindow*, wxWindowID, const wxPoint&, const wxSize&, const wxArrayString&, long int, int)': /usr/include/wx/choice.h:46: error: `validator' undeclared (first use this function) /usr/include/wx/choice.h:46: error: `name' undeclared (first use this function) /usr/include/wx/scrolbar.h: At global scope: In file included from /usr/include/wx-2.8/wx/wx.h:74, from hworld.cpp:2: /usr/include/wx/scrolbar.h:26: error: expected class-name before '{' token /usr/include/wx/scrolbar.h:34: error: expected `,' or `...' before '&' token /usr/include/wx/scrolbar.h:43: error: expected `,' or `...' before '&' token /usr/include/wx/scrolbar.h:66: error: `wxVisualAttributes' does not name a type /usr/include/wx/scrolbar.h:72: error: `GdkWindow' has not been declared /usr/include/wx/scrolbar.h:74: error: expected `;' before '*' token /usr/include/wx/scrolbar.h: In constructor `wxScrollBar::wxScrollBar()': /usr/include/wx/scrolbar.h:29: error: `m_adjust' undeclared (first use this function) /usr/include/wx/scrolbar.h:29: error: `GtkAdjustment' undeclared (first use this function) /usr/include/wx/scrolbar.h:29: error: expected primary-expression before ')' token /usr/include/wx/scrolbar.h:29: error: expected `;' before numeric constant /usr/include/wx/scrolbar.h: In constructor `wxScrollBar::wxScrollBar(wxWindow*, wxWindowID, const wxPoint&, const wxSize&, long int, int)': /usr/include/wx/scrolbar.h:37: error: `validator' undeclared (first use this function) /usr/include/wx/scrolbar.h:37: error: `name' undeclared (first use this function) /usr/include/wx/stattext.h: At global scope: In file included from /usr/include/wx-2.8/wx/wx.h:75, from hworld.cpp:2: /usr/include/wx/stattext.h:58: error: `wxVisualAttributes' does not name a type /usr/include/wx/stattext.h:42: error: `wxStaticTextNameStr' was not declared in this scope /usr/include/wx/stattext.h:50: error: `wxStaticTextNameStr' was not declared in this scope In file included from /usr/include/wx-2.8/wx/wx.h:76, from hworld.cpp:2: /usr/include/wx/statbmp.h:20: error: expected class-name before '{' token /usr/include/wx/statbmp.h:50: error: `wxVisualAttributes' does not name a type /usr/include/wx/statbmp.h:29: error: `wxStaticBitmapNameStr' was not declared in this scope /usr/include/wx/statbmp.h:36: error: `wxStaticBitmapNameStr' was not declared in this scope In file included from /usr/include/wx-2.8/wx/wx.h:77, from hworld.cpp:2: /usr/include/wx/statbox.h:18: error: expected class-name before '{' token /usr/include/wx/statbox.h:38: error: `wxVisualAttributes' does not name a type /usr/include/wx/statbox.h:46: error: `GtkRcStyle' has not been declared /usr/include/wx/statbox.h:27: error: `wxStaticBoxNameStr' was not declared in this scope /usr/include/wx/statbox.h:34: error: `wxStaticBoxNameStr' was not declared in this scope In file included from /usr/include/wx-2.8/wx/wx.h:78, from hworld.cpp:2: /usr/include/wx/listbox.h:22: error: expected class-name before '{' token /usr/include/wx/listbox.h:31: error: expected `,' or `...' before '&' token /usr/include/wx/listbox.h:44: error: expected `,' or `...' before '&' token /usr/include/wx/listbox.h:59: error: expected `,' or `...' before '&' token /usr/include/wx/listbox.h:66: error: expected `,' or `...' before '&' token /usr/include/wx/listbox.h:94: error: `wxVisualAttributes' does not name a type /usr/include/wx/listbox.h:100: error: `GtkWidget' has not been declared /usr/include/wx/listbox.h:101: error: expected `;' before '*' token /usr/include/wx/listbox.h:102: error: `GdkWindow' has not been declared /usr/include/wx/listbox.h:103: error: `GtkRcStyle' has not been declared /usr/include/wx/listbox.h:107: error: `GtkTooltips' has not been declared /usr/include/wx/listbox.h:110: error: expected `;' before '*' token /usr/include/wx/listbox.h:120: error: `GtkWidget' has not been declared /usr/include/wx/listbox.h: In constructor `wxListBox::wxListBox(wxWindow*, wxWindowID, const wxPoint&, const wxSize&, int, const wxString*, long int, int)': /usr/include/wx/listbox.h:37: error: `validator' undeclared (first use this function) /usr/include/wx/listbox.h:37: error: `name' undeclared (first use this function) /usr/include/wx/listbox.h: In constructor `wxListBox::wxListBox(wxWindow*, wxWindowID, const wxPoint&, const wxSize&, const wxArrayString&, long int, int)': /usr/include/wx/listbox.h:50: error: `validator' undeclared (first use this function) /usr/include/wx/listbox.h:50: error: `name' undeclared (first use this function) /usr/include/wx/radiobox.h: At global scope: In file included from /usr/include/wx-2.8/wx/wx.h:79, from hworld.cpp:2: /usr/include/wx/radiobox.h:21: error: expected class-name before '{' token /usr/include/wx/radiobox.h:34: error: expected `,' or `...' before '&' token /usr/include/wx/radiobox.h:50: error: expected `,' or `...' before '&' token /usr/include/wx/radiobox.h:67: error: expected `,' or `...' before '&' token /usr/include/wx/radiobox.h:77: error: expected `,' or `...' before '&' token /usr/include/wx/radiobox.h:107: error: `wxVisualAttributes' does not name a type /usr/include/wx/radiobox.h:116: error: `GdkWindow' has not been declared /usr/include/wx/radiobox.h:117: error: `GtkRcStyle' has not been declared /usr/include/wx/radiobox.h:119: error: `GtkTooltips' has not been declared /usr/include/wx/radiobox.h: In constructor `wxRadioBox::wxRadioBox(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, int, const wxString*, int, long int, int)': /usr/include/wx/radiobox.h:39: error: `val' undeclared (first use this function) /usr/include/wx/radiobox.h:39: error: `name' undeclared (first use this function) /usr/include/wx/radiobox.h: In constructor `wxRadioBox::wxRadioBox(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, const wxArrayString&, int, long int, int)': /usr/include/wx/radiobox.h:55: error: `val' undeclared (first use this function) /usr/include/wx/radiobox.h:55: error: `name' undeclared (first use this function) /usr/include/wx/radiobut.h: At global scope: In file included from /usr/include/wx-2.8/wx/wx.h:80, from hworld.cpp:2: /usr/include/wx/radiobut.h:27: error: expected `,' or `...' before '&' token /usr/include/wx/radiobut.h:39: error: expected `,' or `...' before '&' token /usr/include/wx/radiobut.h:47: error: `wxVisualAttributes' does not name a type /usr/include/wx/radiobut.h:54: error: `GtkRcStyle' has not been declared /usr/include/wx/radiobut.h:55: error: `GdkWindow' has not been declared /usr/include/wx/radiobut.h: In constructor `wxRadioButton::wxRadioButton(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int, int)': /usr/include/wx/radiobut.h:30: error: `validator' undeclared (first use this function) /usr/include/wx/radiobut.h:30: error: `name' undeclared (first use this function) /usr/include/wx/textctrl.h: At global scope: In file included from /usr/include/wx-2.8/wx/wx.h:81, from hworld.cpp:2: /usr/include/wx/textctrl.h:19: error: expected class-name before '{' token /usr/include/wx/textctrl.h:28: error: expected `,' or `...' before '&' token /usr/include/wx/textctrl.h:39: error: expected `,' or `...' before '&' token /usr/include/wx/textctrl.h:78: error: expected `,' or `...' before '&' token /usr/include/wx/textctrl.h:104: error: `wxTextPos' does not name a type /usr/include/wx/textctrl.h:131: error: expected `;' before '*' token /usr/include/wx/textctrl.h:132: error: `GdkWindow' has not been declared /usr/include/wx/textctrl.h:133: error: `GtkRcStyle' has not been declared /usr/include/wx/textctrl.h:164: error: `wxVisualAttributes' does not name a type /usr/include/wx/textctrl.h:174: error: expected `;' before '*' token /usr/include/wx/textctrl.h:178: error: `GtkAdjustment' has not been declared /usr/include/wx/textctrl.h:190: error: expected `;' before '*' token /usr/include/wx/textctrl.h:191: error: expected `;' before '*' token In file included from /usr/include/wx-2.8/wx/wx.h:82, from hworld.cpp:2: /usr/include/wx/slider.h:18: error: expected class-name before '{' token /usr/include/wx/slider.h:27: error: expected `,' or `...' before '&' token /usr/include/wx/slider.h:40: error: expected `,' or `...' before '&' token /usr/include/wx/slider.h:59: error: `wxVisualAttributes' does not name a type /usr/include/wx/slider.h:63: error: `GdkWindow' has not been declared /usr/include/wx/slider.h:67: error: expected `;' before '*' token /usr/include/wx/slider.h:26: error: `wxSL_HORIZONTAL' was not declared in this scope /usr/include/wx/slider.h:39: error: `wxSL_HORIZONTAL' was not declared in this scope /usr/include/wx/slider.h: In constructor `wxSlider::wxSlider(wxWindow*, wxWindowID, int, int, int, const wxPoint&, const wxSize&, long int, int)': /usr/include/wx/slider.h:31: error: `validator' undeclared (first use this function) /usr/include/wx/slider.h:31: error: `name' undeclared (first use this function) /usr/include/wx/gauge.h: At global scope: In file included from /usr/include/wx-2.8/wx/wx.h:83, from hworld.cpp:2: /usr/include/wx/gauge.h:38: error: expected class-name before '{' token /usr/include/wx/gauge.h:48: error: expected `,' or `...' before '&' token /usr/include/wx/gauge.h:61: error: expected `,' or `...' before '&' token /usr/include/wx/gauge.h:75: error: `wxVisualAttributes' does not name a type /usr/include/wx/gauge.h:94: error: `wxVisualAttributes' does not name a type /usr/include/wx/gauge.h:47: error: `wxGA_HORIZONTAL' was not declared in this scope /usr/include/wx/gauge.h:60: error: `wxGA_HORIZONTAL' was not declared in this scope /usr/include/wx/gauge.h: In constructor `wxGauge::wxGauge(wxWindow*, wxWindowID, int, const wxPoint&, const wxSize&, long int, int)': /usr/include/wx/gauge.h:53: error: `validator' undeclared (first use this function) /usr/include/wx/gauge.h:53: error: `name' undeclared (first use this function) /usr/include/wx/gauge.h: In member function `bool wxGauge::IsVertical() const': /usr/include/wx/gauge.h:73: error: `wxGA_VERTICAL' undeclared (first use this function) /usr/include/wx/gauge.h:73: error: `HasFlag' undeclared (first use this function) /usr/include/wx/scrolwin.h: At global scope: In file included from /usr/include/wx-2.8/wx/wx.h:84, from hworld.cpp:2: /usr/include/wx/scrolwin.h:20: error: expected class-name before '{' token /usr/include/wx/scrolwin.h:34: error: `GtkAdjustment' has not been declared /usr/include/wx/scrolwin.h:44: error: `GtkAdjustment' has not been declared /usr/include/wx/scrolwin.h: In constructor `wxScrollHelperNative::wxScrollHelperNative(wxWindow*)': /usr/include/wx/scrolwin.h:23: error: class `wxScrollHelperNative' does not have any field named `wxScrollHelper' /usr/include/wx/dirdlg.h: At global scope: In file included from /usr/include/wx-2.8/wx/wx.h:85, from hworld.cpp:2: /usr/include/wx/dirdlg.h:50: error: `wxDEFAULT_DIALOG_STYLE' was not declared in this scope /usr/include/wx/dirdlg.h:50: error: `wxRESIZE_BORDER' was not declared in this scope /usr/include/wx/dirdlg.h:64: error: `wxDEFAULT_DIALOG_STYLE' was not declared in this scope /usr/include/wx/dirdlg.h:64: error: `wxRESIZE_BORDER' was not declared in this scope In file included from /usr/include/wx/gtk/dirdlg.h:13, from /usr/include/wx/dirdlg.h:110, from /usr/include/wx-2.8/wx/wx.h:85, from hworld.cpp:2: /usr/include/wx/generic/dirdlgg.h:48: error: `wxDEFAULT_DIALOG_STYLE' was not declared in this scope /usr/include/wx/generic/dirdlgg.h:48: error: `wxRESIZE_BORDER' was not declared in this scope /usr/include/wx/generic/dirdlgg.h:56: error: `wxDEFAULT_DIALOG_STYLE' was not declared in this scope /usr/include/wx/generic/dirdlgg.h:56: error: `wxRESIZE_BORDER' was not declared in this scope In file included from /usr/include/wx/dirdlg.h:110, from /usr/include/wx-2.8/wx/wx.h:85, from hworld.cpp:2: /usr/include/wx/gtk/dirdlg.h:27: error: `wxDEFAULT_DIALOG_STYLE' was not declared in this scope /usr/include/wx/gtk/dirdlg.h:27: error: `wxRESIZE_BORDER' was not declared in this scope In file included from /usr/include/wx-2.8/wx/wx.h:85, from hworld.cpp:2: /usr/include/wx/dirdlg.h:134: error: `wxDEFAULT_DIALOG_STYLE' was not declared in this scope /usr/include/wx/dirdlg.h:134: error: `wxRESIZE_BORDER' was not declared in this scope In file included from /usr/include/wx/toolbar.h:67, from /usr/include/wx-2.8/wx/wx.h:86, from hworld.cpp:2: /usr/include/wx/tbarbase.h: In constructor `wxToolBarToolBase::wxToolBarToolBase(wxToolBarBase*, wxControl*)': /usr/include/wx/tbarbase.h:98: error: 'class wxControl' has no member named 'GetId' /usr/include/wx/tbarbase.h: In member function `wxObject* wxToolBarToolBase::GetClientData() const': /usr/include/wx/tbarbase.h:159: error: 'class wxControl' has no member named 'GetClientData' /usr/include/wx/tbarbase.h: In member function `void wxToolBarToolBase::SetClientData(wxObject*)': /usr/include/wx/tbarbase.h:185: error: 'class wxControl' has no member named 'SetClientData' /usr/include/wx/tbarbase.h: In member function `bool wxToolBarBase::IsVertical() const': /usr/include/wx/tbarbase.h:423: error: `HasFlag' undeclared (first use this function) /usr/include/wx/gtk/tbargtk.h: At global scope: In file included from /usr/include/wx/toolbar.h:80, from /usr/include/wx-2.8/wx/wx.h:86, from hworld.cpp:2: /usr/include/wx/gtk/tbargtk.h:61: error: `wxVisualAttributes' does not name a type /usr/include/wx/gtk/tbargtk.h:67: error: expected `;' before '*' token /usr/include/wx/gtk/tbargtk.h:80: error: `GdkWindow' declared as a `virtual' field /usr/include/wx/gtk/tbargtk.h:80: error: expected `;' before '*' token In file included from /usr/include/wx-2.8/wx/wx.h:87, from hworld.cpp:2: /usr/include/wx/combobox.h:38: error: expected class-name before '{' token /usr/include/wx/combobox.h:47: error: expected `,' or `...' before '&' token /usr/include/wx/combobox.h:58: error: expected `,' or `...' before '&' token /usr/include/wx/combobox.h:72: error: expected `,' or `...' before '&' token /usr/include/wx/combobox.h:80: error: expected `,' or `...' before '&' token /usr/include/wx/combobox.h:107: error: `wxTextPos' does not name a type /usr/include/wx/combobox.h:152: error: expected `;' before '*' token /usr/include/wx/combobox.h:153: error: `GdkWindow' has not been declared /usr/include/wx/combobox.h:154: error: `GtkRcStyle' has not been declared /usr/include/wx/combobox.h:158: error: `wxVisualAttributes' does not name a type /usr/include/wx/combobox.h: In constructor `wxComboBox::wxComboBox(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, int, const wxString*, long int, int)': /usr/include/wx/combobox.h:50: error: `validator' undeclared (first use this function) /usr/include/wx/combobox.h:50: error: `name' undeclared (first use this function) /usr/include/wx/combobox.h: In constructor `wxComboBox::wxComboBox(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, const wxArrayString&, long int, int)': /usr/include/wx/combobox.h:61: error: `validator' undeclared (first use this function) /usr/include/wx/combobox.h:61: error: `name' undeclared (first use this function) /usr/include/wx/combobox.h: In member function `void wxComboBox::SetClientData(void*)': /usr/include/wx/combobox.h:156: error: cannot call member function `void wxEvtHandler::SetClientData(void*)' without object /usr/include/wx/combobox.h: In member function `void* wxComboBox::GetClientData() const': /usr/include/wx/combobox.h:156: error: cannot call member function `void* wxEvtHandler::GetClientData() const' without object /usr/include/wx/combobox.h: In member function `void wxComboBox::SetClientObject(wxClientData*)': /usr/include/wx/combobox.h:156: error: cannot call member function `void wxEvtHandler::SetClientObject(wxClientData*)' without object /usr/include/wx/combobox.h: In member function `wxClientData* wxComboBox::GetClientObject() const': /usr/include/wx/combobox.h:156: error: cannot call member function `wxClientData* wxEvtHandler::GetClientObject() const' without object /usr/include/wx/combobox.h: In member function `void wxComboBox::SetClientData(unsigned int, void*)': /usr/include/wx/combobox.h:156: error: cannot call member function `void wxItemContainer::SetClientData(unsigned int, void*)' without object /usr/include/wx/combobox.h: In member function `void* wxComboBox::GetClientData(unsigned int) const': /usr/include/wx/combobox.h:156: error: cannot call member function `void* wxItemContainer::GetClientData(unsigned int) const' without object /usr/include/wx/combobox.h: In member function `void wxComboBox::SetClientObject(unsigned int, wxClientData*)': /usr/include/wx/combobox.h:156: error: cannot call member function `void wxItemContainer::SetClientObject(unsigned int, wxClientData*)' without object /usr/include/wx/combobox.h: In member function `wxClientData* wxComboBox::GetClientObject(unsigned int) const': /usr/include/wx/combobox.h:156: error: cannot call member function `wxClientData* wxItemContainer::GetClientObject(unsigned int) const' without object In file included from /usr/include/wx-2.8/wx/wx.h:89, from hworld.cpp:2: /usr/include/wx/sizer.h: In member function `void wxSizerItem::SetMinSize(const wxSize&)': /usr/include/wx/sizer.h:292: error: invalid use of undefined type `struct wxWindow' /usr/include/wx/log.h:75: error: forward declaration of `struct wxWindow' /usr/include/wx/mdi.h: At global scope: In file included from /usr/include/wx-2.8/wx/wx.h:90, from hworld.cpp:2: /usr/include/wx/mdi.h:48: error: `wxDEFAULT_FRAME_STYLE' was not declared in this scope /usr/include/wx/mdi.h:49: error: `wxFrameNameStr' was not declared in this scope /usr/include/wx/mdi.h:62: error: `wxDEFAULT_FRAME_STYLE' was not declared in this scope /usr/include/wx/mdi.h:63: error: `wxFrameNameStr' was not declared in this scope /usr/include/wx/mdi.h:160: error: expected `,' or `...' before '&' token /usr/include/wx/mdi.h:181: error: expected `;' before '*' token /usr/include/wx/mdi.h:108: error: `wxDEFAULT_FRAME_STYLE' was not declared in this scope /usr/include/wx/mdi.h:109: error: `wxFrameNameStr' was not declared in this scope /usr/include/wx/mdi.h:117: error: `wxDEFAULT_FRAME_STYLE' was not declared in this scope /usr/include/wx/mdi.h:118: error: `wxFrameNameStr' was not declared in this scope /usr/include/wx/mdi.h: In member function `virtual void wxMDIChildFrame::SetIcon(const wxIcon&)': /usr/include/wx/mdi.h:159: error: `wxTopLevelWindowBase' has not been declared /usr/include/wx/mdi.h: In member function `virtual void wxMDIChildFrame::SetIcons(int)': /usr/include/wx/mdi.h:161: error: `wxTopLevelWindowBase' has not been declared /usr/include/wx/mdi.h:161: error: `icons' undeclared (first use this function) /usr/include/wx/mdi.h: At global scope: /usr/include/wx/mdi.h:202: error: invalid use of undefined type `struct wxWindow' /usr/include/wx/log.h:75: error: forward declaration of `struct wxWindow' In file included from /usr/include/wx-2.8/wx/wx.h:91, from hworld.cpp:2: /usr/include/wx/statusbr.h:41: error: invalid use of undefined type `struct wxWindow' /usr/include/wx/log.h:75: error: forward declaration of `struct wxWindow' In file included from /usr/include/wx/choicdlg.h:17, from /usr/include/wx-2.8/wx/wx.h:92, from hworld.cpp:2: /usr/include/wx/generic/choicdgg.h:48: error: `wxDEFAULT_DIALOG_STYLE' was not declared in this scope /usr/include/wx/generic/choicdgg.h:48: error: `wxRESIZE_BORDER' was not declared in this scope /usr/include/wx/generic/choicdgg.h:59: error: `wxDEFAULT_DIALOG_STYLE' was not declared in this scope /usr/include/wx/generic/choicdgg.h:59: error: `wxRESIZE_BORDER' was not declared in this scope /usr/include/wx/generic/choicdgg.h:71: error: `wxDEFAULT_DIALOG_STYLE' was not declared in this scope /usr/include/wx/generic/choicdgg.h:71: error: `wxRESIZE_BORDER' was not declared in this scope /usr/include/wx/generic/choicdgg.h:78: error: `wxDEFAULT_DIALOG_STYLE' was not declared in this scope /usr/include/wx/generic/choicdgg.h:78: error: `wxRESIZE_BORDER' was not declared in this scope /usr/include/wx/generic/choicdgg.h:110: error: `wxDEFAULT_DIALOG_STYLE' was not declared in this scope /usr/include/wx/generic/choicdgg.h:110: error: `wxRESIZE_BORDER' was not declared in this scope /usr/include/wx/generic/choicdgg.h:117: error: `wxDEFAULT_DIALOG_STYLE' was not declared in this scope /usr/include/wx/generic/choicdgg.h:117: error: `wxRESIZE_BORDER' was not declared in this scope /usr/include/wx/generic/choicdgg.h:126: error: `wxDEFAULT_DIALOG_STYLE' was not declared in this scope /usr/include/wx/generic/choicdgg.h:126: error: `wxRESIZE_BORDER' was not declared in this scope /usr/include/wx/generic/choicdgg.h:133: error: `wxDEFAULT_DIALOG_STYLE' was not declared in this scope /usr/include/wx/generic/choicdgg.h:133: error: `wxRESIZE_BORDER' was not declared in this scope /usr/include/wx/generic/choicdgg.h: In member function `char* wxSingleChoiceDialog::GetSelectionClientData() const': /usr/include/wx/generic/choicdgg.h:141: error: `m_clientData' undeclared (first use this function) /usr/include/wx/generic/choicdgg.h: At global scope: /usr/include/wx/generic/choicdgg.h:177: error: `wxDEFAULT_DIALOG_STYLE' was not declared in this scope /usr/include/wx/generic/choicdgg.h:177: error: `wxRESIZE_BORDER' was not declared in this scope /usr/include/wx/generic/choicdgg.h:186: error: `wxDEFAULT_DIALOG_STYLE' was not declared in this scope /usr/include/wx/generic/choicdgg.h:186: error: `wxRESIZE_BORDER' was not declared in this scope /usr/include/wx/generic/choicdgg.h:197: error: `wxDEFAULT_DIALOG_STYLE' was not declared in this scope /usr/include/wx/generic/choicdgg.h:197: error: `wxRESIZE_BORDER' was not declared in this scope /usr/include/wx/generic/choicdgg.h:203: error: `wxDEFAULT_DIALOG_STYLE' was not declared in this scope /usr/include/wx/generic/choicdgg.h:203: error: `wxRESIZE_BORDER' was not declared in this scope In file included from /usr/include/wx/generic/textdlgg.h:22, from /usr/include/wx/textdlg.h:15, from /usr/include/wx-2.8/wx/wx.h:93, from hworld.cpp:2: /usr/include/wx/valtext.h: In member function `bool wxTextValidator::CheckValidator() const': /usr/include/wx/valtext.h:103: error: invalid use of undefined type `struct wxWindowBase' /usr/include/wx/event.h:39: error: forward declaration of `struct wxWindowBase' In file included from /usr/include/wx/textdlg.h:15, from /usr/include/wx-2.8/wx/wx.h:93, from hworld.cpp:2: /usr/include/wx/generic/textdlgg.h: In member function `wxTextValidator* wxTextEntryDialog::GetTextValidator()': /usr/include/wx/generic/textdlgg.h:52: error: 'class wxTextCtrl' has no member named 'GetValidator' In file included from /usr/include/wx/listctrl.h:19, from /usr/include/wx/generic/filedlgg.h:15, from /usr/include/wx/filedlg.h:13, from /usr/include/wx-2.8/wx/wx.h:94, from hworld.cpp:2: /usr/include/wx/listbase.h: In member function `bool wxListItemAttr::HasFont() const': /usr/include/wx/listbase.h:187: error: 'const class wxFont' has no member named 'Ok' /usr/include/wx/generic/listctrl.h: At global scope: In file included from /usr/include/wx/listctrl.h:36, from /usr/include/wx/generic/filedlgg.h:15, from /usr/include/wx/filedlg.h:13, from /usr/include/wx-2.8/wx/wx.h:94, from hworld.cpp:2: /usr/include/wx/generic/listctrl.h:161: error: `wxVisualAttributes' does not name a type /usr/include/wx/generic/listctrl.h:166: error: `wxVisualAttributes' does not name a type /usr/include/wx/generic/listctrl.h: In member function `virtual void wxGenericListCtrl::Update()': /usr/include/wx/generic/listctrl.h:140: error: `Update' is not a member of `wxControl' /usr/include/wx/generic/listctrl.h: In member function `bool wxGenericListCtrl::InReportView() const': /usr/include/wx/generic/listctrl.h:143: error: `HasFlag' undeclared (first use this function) /usr/include/wx/generic/listctrl.h: In member function `bool wxGenericListCtrl::IsVirtual() const': /usr/include/wx/generic/listctrl.h:146: error: `HasFlag' undeclared (first use this function) /usr/include/wx/generic/listctrl.h: In member function `bool wxGenericListCtrl::HasHeader() const': /usr/include/wx/generic/listctrl.h:150: error: `HasFlag' undeclared (first use this function) /usr/include/wx/generic/filedlgg.h: At global scope: In file included from /usr/include/wx/filedlg.h:13, from /usr/include/wx-2.8/wx/wx.h:94, from hworld.cpp:2: /usr/include/wx/generic/filedlgg.h:40: error: expected class-name before '{' token /usr/include/wx/generic/filedlgg.h:45: error: `wxFileSelectorPromptStr' was not declared in this scope /usr/include/wx/generic/filedlgg.h:48: error: `wxFileSelectorDefaultWildcardStr' was not declared in this scope /usr/include/wx/generic/filedlgg.h:49: error: `wxFD_DEFAULT_STYLE' was not declared in this scope /usr/include/wx/generic/filedlgg.h:52: error: `wxFileDialogNameStr' was not declared in this scope /usr/include/wx/generic/filedlgg.h:56: error: `wxFileSelectorPromptStr' was not declared in this scope /usr/include/wx/generic/filedlgg.h:59: error: `wxFileSelectorDefaultWildcardStr' was not declared in this scope /usr/include/wx/generic/filedlgg.h:60: error: `wxFD_DEFAULT_STYLE' was not declared in this scope /usr/include/wx/generic/filedlgg.h:63: error: `wxFileDialogNameStr' was not declared in this scope /usr/include/wx/generic/filedlgg.h: In constructor `wxGenericFileDialog::wxGenericFileDialog()': /usr/include/wx/generic/filedlgg.h:42: error: class `wxGenericFileDialog' does not have any field named `wxFileDialogBase' /usr/include/wx/generic/filedlgg.h: In member function `virtual void wxGenericFileDialog::SetMessage(const wxString&)': /usr/include/wx/generic/filedlgg.h:68: error: `SetTitle' undeclared (first use this function) /usr/include/wx/filedlg.h: At global scope: In file included from /usr/include/wx-2.8/wx/wx.h:94, from hworld.cpp:2: /usr/include/wx/filedlg.h:25: error: `wxFileSelectorPromptStr' was not declared in this scope /usr/include/wx/filedlg.h:28: error: `wxFileSelectorDefaultWildcardStr' was not declared in this scope /usr/include/wx/filedlg.h:29: error: `wxFD_DEFAULT_STYLE' was not declared in this scope /usr/include/wx/filedlg.h:32: error: `wxFileDialogNameStr' was not declared in this scope hworld.cpp:13: error: expected constructor, destructor, or type conversion before "class" hworld.cpp:13: error: expected `,' or `;' before "class" hworld.cpp: In member function `virtual bool MyApp::OnInit()': hworld.cpp:30: error: `MyFrame' undeclared (first use this function) hworld.cpp:30: error: `frame' undeclared (first use this function) hworld.cpp:30: error: `MyFrame' has not been declared hworld.cpp:34: error: `MyFrame' has not been declared hworld.cpp:34: error: `OnQuit' undeclared (first use this function) hworld.cpp:36: error: `MyFrame' has not been declared hworld.cpp:36: error: `OnAbout' undeclared (first use this function) hworld.cpp:39: error: `SetTopWindow' undeclared (first use this function) hworld.cpp: At global scope: hworld.cpp:43: error: `MyFrame' has not been declared hworld.cpp:44: error: ISO C++ forbids declaration of `MyFrame' with no type hworld.cpp: In function `int MyFrame(const wxString&, const wxPoint&, const wxSize&)': hworld.cpp:44: error: `int MyFrame(const wxString&, const wxPoint&, const wxSize&)' used prior to declaration hworld.cpp:44: error: only constructors take base initializers hworld.cpp:51: error: 'class wxMenu' has no member named 'Append' hworld.cpp:52: error: 'class wxMenu' has no member named 'AppendSeparator' hworld.cpp:53: error: 'class wxMenu' has no member named 'Append' hworld.cpp:57: error: `SetMenuBar' undeclared (first use this function) hworld.cpp:60: error: `CreateStatusBar' undeclared (first use this function) hworld.cpp:62: error: `SetStatusText' undeclared (first use this function) hworld.cpp: At global scope: hworld.cpp:65: error: `MyFrame' is not a class or namespace hworld.cpp: In function `void OnQuit(wxCommandEvent&)': hworld.cpp:66: error: `void OnQuit(wxCommandEvent&)' used prior to declaration hworld.cpp:67: error: `Close' undeclared (first use this function) hworld.cpp: At global scope: hworld.cpp:70: error: `MyFrame' is not a class or namespace hworld.cpp: In function `void OnAbout(wxCommandEvent&)': hworld.cpp:71: error: `void OnAbout(wxCommandEvent&)' used prior to declaration hworld.cpp:73: error: invalid use of `this' in non-member function hworld.cpp:73: error: `wxMessageBox' undeclared (first use this function) gmake[2]: *** [build/Release/Unknown-Solaris-x86/hworld.o] Error 1 gmake[2]: Leaving directory `/root/NetBeansProjects/helloworld' gmake[1]: *** [.build-conf] Error 2 gmake[1]: Leaving directory `/root/NetBeansProjects/helloworld' gmake: *** [.build-impl] Error 2
Build failed. Exit value 2.
si tu voit d'ou vient le problème, merci d'avance pour ta réponse.
| |
|
|