Installation von wxWidgets unter Debian
-
Hallo,
ich versuche gerade in die C++ Programmierung unter Debian einzusteigen und bin in Sachen Linux noch absoluter Anfänger. Die ersten Schritte mit MySQL sind getan. Ich würde nun auch gerne eine grafische Oberfläche entwerfen und habe mich für wxWidgets entschieden.
Das Paket 'libwxgtk2.8-dev' habe über via 'apt-get install' installiert. Ich habe nun schon mehrfach im Netz gelesen, dass wxWidgets noch kompiliert werden müsste. Ist das korrekt so, oder ist das durch die Installation obsolet?
lg Torsten
-
... ich bin einen Schritt weiter. Im Internet habe ich jede Menge Seiten gefunden, auf denen Probleme mit der "setup.h" dargestellt wurden.
Nach langer suche bin ich auf das Kommando "wx-config --cflags" gestoßen und habe es ausgeführt. Das Resultat ist :
-I/usr/lib/i386-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread
Ich habe den ersten Pfad in Eclipse zusätzlich eingetragen, der zweite stand schon drin.
Versuche ich mein Projekt nun zu kompilieren, bekomme ich die folgenden Informationen :
19:45:52 **** Incremental Build of configuration Debug for project MySQL ****
make all
Building file: ../src/MySQL.cpp
Invoking: GCC C++ Compiler
g++ -I/usr/include/mysql -I/usr/lib/i386-linux-gnu/wx/include/gtk2-unicode-debug-2.8 -O0 -g3 -Wall -c -fmessage-length=0 -std=c++0x -MMD -MP -MF"src/MySQL.d" -MT"src/MySQL.d" -o "src/MySQL.o" "../src/MySQL.cpp"
In file included from /usr/include/wx/wx.h:15:0,
from ../src/MySQL.cpp:11:
/usr/include/wx/defs.h:42:13: error: #error "No Target! You should use wx-config program for compilation flags!"
In file included from /usr/include/wx/cursor.h:24:0,
from /usr/include/wx/event.h:22,
from /usr/include/wx/wx.h:25,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/cursor.h:40:5: error: ‘GdkCursor’ does not name a type
In file included from /usr/include/wx/app.h:570:0,
from /usr/include/wx/wx.h:26,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/app.h:55:5: error: ‘guint’ does not name a type
/usr/include/wx/gtk/app.h:65:5: error: ‘GdkVisual’ does not name a type
In file included from /usr/include/wx/colour.h:135:0,
from /usr/include/wx/window.h:25,
from /usr/include/wx/wx.h:36,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/colour.h:26:20: error: ‘GdkColor’ does not name a type
/usr/include/wx/gtk/colour.h:42:21: error: ‘GdkColormap’ has not been declared
/usr/include/wx/gtk/colour.h:45:11: error: ‘GdkColor’ does not name a type
In file included from /usr/include/wx/region.h:224:0,
from /usr/include/wx/window.h:26,
from /usr/include/wx/wx.h:36,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/region.h:59:25: error: expected ‘)’ before ‘’ token
/usr/include/wx/gtk/region.h:61:5: error: ‘GdkRegion’ does not name a type
In file included from /usr/include/wx/wx.h:36:0,
from ../src/MySQL.cpp:11:
/usr/include/wx/window.h:1133:13: error: ‘WXWidget’ does not name a type
/usr/include/wx/window.h:1135:34: error: ‘WXWidget’ has not been declared
/usr/include/wx/window.h:1293:26: error: field ‘m_palette’ has incomplete type
/usr/include/wx/window.h: In member function ‘wxPalette wxWindowBase::GetPalette() const’:
/usr/include/wx/window.h:1142:34: error: return type ‘class wxPalette’ is incomplete
/usr/include/wx/window.h:1142:43: error: ‘m_palette’ was not declared in this scope
In file included from /usr/include/wx/window.h:1486:0,
from /usr/include/wx/wx.h:36,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/window.h: At global scope:
/usr/include/wx/gtk/window.h:19:1: error: ‘GdkWindow’ does not name a type
/usr/include/wx/gtk/window.h:19:1: error: ‘_wxArraywxArrayGdkWindows’ was not declared in this scope
/usr/include/wx/gtk/window.h:19:1: error: typedef ‘CMPFUNC_wxArraywxArrayGdkWindows’ is initialized (use decltype instead)
/usr/include/wx/gtk/window.h:19:1: error: ‘_wxArraywxArrayGdkWindows’ was not declared in this scope
/usr/include/wx/gtk/window.h:19:1: error: ‘pItem1’ was not declared in this scope
/usr/include/wx/gtk/window.h:19:1: error: ‘_wxArraywxArrayGdkWindows’ was not declared in this scope
/usr/include/wx/gtk/window.h:19:1: error: ‘pItem2’ was not declared in this scope
/usr/include/wx/gtk/window.h:19:1: error: ‘_wxArraywxArrayGdkWindows’ does not name a type
/usr/include/wx/gtk/window.h:19:1: error: ‘_wxArraywxArrayGdkWindows’ does not name a type
/usr/include/wx/gtk/window.h:19:1: error: ‘_wxArraywxArrayGdkWindows’ does not name a type
/usr/include/wx/gtk/window.h:19:1: error: ‘_wxArraywxArrayGdkWindows’ has not been declared
/usr/include/wx/gtk/window.h:19:1: error: ‘_wxArraywxArrayGdkWindows’ has not been declared
/usr/include/wx/gtk/window.h:19:1: error: ‘_wxArraywxArrayGdkWindows’ has not been declared
/usr/include/wx/gtk/window.h:19:1: error: ‘_wxArraywxArrayGdkWindows’ has not been declared
/usr/include/wx/gtk/window.h:19:1: error: ‘CMPFUNC_wxArraywxArrayGdkWindows’ has not been declared
/usr/include/wx/gtk/window.h:19:1: error: ‘_wxArraywxArrayGdkWindows’ does not name a type
/usr/include/wx/gtk/window.h:19:1: error: ‘_wxArraywxArrayGdkWindows’ does not name a type
/usr/include/wx/gtk/window.h:19:1: error: ‘_wxArraywxArrayGdkWindows’ does not name a type
/usr/include/wx/gtk/window.h:132:13: error: ‘WXWidget’ does not name a type
/usr/include/wx/gtk/window.h:171:13: error: ‘GtkWidget’ does not name a type
/usr/include/wx/gtk/window.h:172:25: error: ‘GtkWidget’ has not been declared
/usr/include/wx/gtk/window.h:186:43: error: ‘GtkWidget’ has not been declared
/usr/include/wx/gtk/window.h:187:30: error: ‘GtkWidget’ has not been declared
/usr/include/wx/gtk/window.h:195:41: error: ‘GtkWidget’ has not been declared
/usr/include/wx/gtk/window.h:204:13: error: ‘GdkWindow’ does not name a type
/usr/include/wx/gtk/window.h:207:25: error: ‘GdkWindow’ has not been declared
/usr/include/wx/gtk/window.h:220:32: error: ‘GtkTooltips’ has not been declared
/usr/include/wx/gtk/window.h:238:34: error: ‘GtkWidget’ has not been declared
/usr/include/wx/gtk/window.h:249:36: error: ‘GtkRange’ has not been declared
/usr/include/wx/gtk/window.h:260:5: error: ‘GtkWidget’ does not name a type
/usr/include/wx/gtk/window.h:261:5: error: ‘GtkWidget’ does not name a type
/usr/include/wx/gtk/window.h:264:5: error: ‘GtkWidget’ does not name a type
/usr/include/wx/gtk/window.h:273:5: error: ‘GtkRange’ does not name a type
/usr/include/wx/gtk/window.h:296:34: error: ‘GtkRange’ has not been declared
/usr/include/wx/gtk/window.h:363:5: error: ‘GtkRcStyle’ does not name a type
/usr/include/wx/gtk/window.h:370:37: error: ‘GtkRcStyle’ has not been declared
/usr/include/wx/gtk/window.h:373:44: error: ‘GtkWidget’ has not been declared
In file included from /usr/include/wx/toplevel.h:320:0,
from /usr/include/wx/wx.h:39,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/toplevel.h:95:5: error: ‘GtkWidget’ does not name a type
In file included from /usr/include/wx/bitmap.h:213:0,
from /usr/include/wx/wx.h:44,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/bitmap.h:38:5: error: ‘GdkBitmap’ does not name a type
/usr/include/wx/gtk/bitmap.h:40:5: error: ‘GdkBitmap’ does not name a type
/usr/include/wx/gtk/bitmap.h:51:1: error: expected class-name before ‘{’ token
/usr/include/wx/gtk/bitmap.h:104:21: error: ‘GdkPixmap’ has not been declared
/usr/include/wx/gtk/bitmap.h:107:5: error: ‘GdkPixmap’ does not name a type
/usr/include/wx/gtk/bitmap.h:154:1: error: expected class-name before ‘{’ token
In file included from /usr/include/wx/pen.h:24:0,
from /usr/include/wx/dc.h:27,
from /usr/include/wx/wx.h:48,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/pen.h:16:12: error: ‘gint8’ does not name a type
In file included from /usr/include/wx/wx.h:48:0,
from ../src/MySQL.cpp:11:
/usr/include/wx/dc.h:854:23: error: field ‘m_palette’ has incomplete type
In file included from /usr/include/wx/wx.h:48:0,
from ../src/MySQL.cpp:11:
/usr/include/wx/dc.h: In constructor ‘wxDCBase::wxDCBase()’:
/usr/include/wx/dc.h:128:11: error: class ‘wxDCBase’ does not have any field named ‘m_palette’
In file included from /usr/include/wx/dc.h:874:0,
from /usr/include/wx/wx.h:48,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/dc.h: At global scope:
/usr/include/wx/gtk/dc.h:97:13: error: ‘GdkWindow’ does not name a type
In file included from /usr/include/wx/dcclient.h:24:0,
from /usr/include/wx/wx.h:49,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/dcclient.h:107:5: error: ‘GdkWindow’ does not name a type
/usr/include/wx/gtk/dcclient.h:108:5: error: ‘GdkGC’ does not name a type
/usr/include/wx/gtk/dcclient.h:109:5: error: ‘GdkGC’ does not name a type
/usr/include/wx/gtk/dcclient.h:110:5: error: ‘GdkGC’ does not name a type
/usr/include/wx/gtk/dcclient.h:111:5: error: ‘GdkGC’ does not name a type
/usr/include/wx/gtk/dcclient.h:112:5: error: ‘GdkColormap’ does not name a type
/usr/include/wx/gtk/dcclient.h:129:13: error: ‘GdkWindow’ does not name a type
In file included from /usr/include/wx/wx.h:50:0,
from ../src/MySQL.cpp:11:
/usr/include/wx/dcmemory.h: In member function ‘void wxMemoryDCBase::SelectObject(wxBitmap&)’:
/usr/include/wx/dcmemory.h:36:17: error: ‘class wxBitmap’ has no member named ‘UnShare’
In file included from /usr/include/wx/dcscreen.h:24:0,
from /usr/include/wx/wx.h:52,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/dcscreen.h: At global scope:
/usr/include/wx/gtk/dcscreen.h:37:12: error: ‘GdkWindow’ does not name a type
In file included from /usr/include/wx/control.h:103:0,
from /usr/include/wx/button.h:46,
from /usr/include/wx/wx.h:53,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/control.h:22:13: error: ‘GtkWidget’ does not name a type
/usr/include/wx/gtk/control.h:23:13: error: ‘GtkWidget’ does not name a type
/usr/include/wx/gtk/control.h:24:13: error: ‘GtkWidget’ does not name a type
/usr/include/wx/gtk/control.h:61:5: error: ‘GtkWidget’ does not name a type
/usr/include/wx/gtk/control.h:63:48: error: ‘GtkRcStyle’ has not been declared
/usr/include/wx/gtk/control.h:64:49: error: ‘GtkWidget’ has not been declared
/usr/include/wx/gtk/control.h:77:43: error: ‘GtkWidget’ has not been declared
/usr/include/wx/gtk/control.h:81:43: error: ‘wxGtkWidgetNew_t’ has not been declared
/usr/include/wx/gtk/control.h:85:43: error: ‘wxGtkWidgetNewFromStr_t’ has not been declared
/usr/include/wx/gtk/control.h:85:9: error: ‘static wxVisualAttributes wxControl::GetDefaultAttributesFromGTKWidget(int, bool, int)’ cannot be overloaded
/usr/include/wx/gtk/control.h:81:9: error: with ‘static wxVisualAttributes wxControl::GetDefaultAttributesFromGTKWidget(int, bool, int)’
/usr/include/wx/gtk/control.h:90:43: error: ‘wxGtkWidgetNewFromAdj_t’ has not been declared
/usr/include/wx/gtk/control.h:90:9: error: ‘static wxVisualAttributes wxControl::GetDefaultAttributesFromGTKWidget(int, bool, int)’ cannot be overloaded
/usr/include/wx/gtk/control.h:81:9: error: with ‘static wxVisualAttributes wxControl::GetDefaultAttributesFromGTKWidget(int, bool, int)’
In file included from /usr/include/wx/button.h:90:0,
from /usr/include/wx/wx.h:53,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/button.h:59:37: error: ‘GtkRcStyle’ has not been declared
/usr/include/wx/gtk/button.h:61:13: error: ‘GdkWindow’ does not name a type
In file included from /usr/include/wx/menuitem.h:188:0,
from /usr/include/wx/wx.h:54,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/menuitem.h:43:22: error: ‘GtkWidget’ has not been declared
/usr/include/wx/gtk/menuitem.h:44:5: error: ‘GtkWidget’ does not name a type
/usr/include/wx/gtk/menuitem.h:45:5: error: ‘GtkWidget’ does not name a type
/usr/include/wx/gtk/menuitem.h:46:25: error: ‘GtkWidget’ has not been declared
/usr/include/wx/gtk/menuitem.h:74:5: error: ‘GtkWidget’ does not name a type
/usr/include/wx/gtk/menuitem.h:75:5: error: ‘GtkWidget’ does not name a type
/usr/include/wx/gtk/menuitem.h: In member function ‘void wxMenuItem::SetMenuItem(int)’:
/usr/include/wx/gtk/menuitem.h:43:45: error: ‘m_menuItem’ was not declared in this scope
/usr/include/wx/gtk/menuitem.h: In member function ‘void wxMenuItem::SetLabelWidget(int*)’:
/usr/include/wx/gtk/menuitem.h:46:51: error: ‘m_labelWidget’ was not declared in this scope
In file included from /usr/include/wx/menu.h:540:0,
from /usr/include/wx/wx.h:55,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/menu.h: At global scope:
/usr/include/wx/gtk/menu.h:52:5: error: ‘GtkWidget’ does not name a type
/usr/include/wx/gtk/menu.h:92:31: error: ‘GtkWidget’ has not been declared
/usr/include/wx/gtk/menu.h:95:5: error: ‘GtkWidget’ does not name a type
/usr/include/wx/gtk/menu.h:96:5: error: ‘GtkWidget’ does not name a type
/usr/include/wx/gtk/menu.h:97:5: error: ‘GtkAccelGroup’ does not name a type
/usr/include/wx/gtk/menu.h:111:5: error: ‘GtkWidget’ does not name a type
In file included from /usr/include/wx/dataobj.h:80:0,
from /usr/include/wx/wx.h:66,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/dataform.h:19:13: error: ‘GdkAtom’ does not name a type
/usr/include/wx/gtk/dataform.h:25:32: error: expected ‘)’ before ‘format’
/usr/include/wx/gtk/dataform.h:29:29: error: declaration of ‘operator=’ as non-function
/usr/include/wx/gtk/dataform.h:29:27: error: expected ‘;’ at end of member declaration
/usr/include/wx/gtk/dataform.h:29:42: error: expected ‘)’ before ‘format’
/usr/include/wx/gtk/dataform.h:33:21: error: ‘NativeFormat’ has not been declared
/usr/include/wx/gtk/dataform.h:35:21: error: ‘NativeFormat’ has not been declared
/usr/include/wx/gtk/dataform.h:45:5: error: ‘NativeFormat’ does not name a type
/usr/include/wx/gtk/dataform.h:46:14: error: expected type-specifier before ‘NativeFormat’
/usr/include/wx/gtk/dataform.h:48:17: error: ‘NativeFormat’ has not been declared
/usr/include/wx/gtk/dataform.h:61:5: error: ‘NativeFormat’ does not name a type
/usr/include/wx/gtk/dataform.h: In member function ‘wxDataFormat& wxDataFormat::operator=(const wxDataFormat&)’:
/usr/include/wx/gtk/dataform.h:28:35: error: ‘m_format’ was not declared in this scope
/usr/include/wx/gtk/dataform.h:28:53: error: ‘const class wxDataFormat’ has no member named ‘m_format’
/usr/include/wx/gtk/dataform.h: In member function ‘bool wxDataFormat::operator==(int) const’:
/usr/include/wx/gtk/dataform.h:34:18: error: ‘m_format’ was not declared in this scope
/usr/include/wx/gtk/dataform.h:34:31: error: ‘NativeFormat’ was not declared in this scope
/usr/include/wx/gtk/dataform.h:34:44: error: expected ‘;’ before ‘format’
/usr/include/wx/gtk/dataform.h: In member function ‘bool wxDataFormat::operator!=(int) const’:
/usr/include/wx/gtk/dataform.h:36:18: error: ‘m_format’ was not declared in this scope
/usr/include/wx/gtk/dataform.h:36:31: error: ‘NativeFormat’ was not declared in this scope
/usr/include/wx/gtk/dataform.h:36:44: error: expected ‘;’ before ‘format’
In file included from /usr/include/wx/bmpbuttn.h:109:0,
from /usr/include/wx/wx.h:70,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/bmpbuttn.h: At global scope:
/usr/include/wx/gtk/bmpbuttn.h:66:29: error: ‘GtkRcStyle’ has not been declared
In file included from /usr/include/wx/checkbox.h:140:0,
from /usr/include/wx/wx.h:71,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/checkbox.h:50:5: error: ‘GtkWidget’ does not name a type
/usr/include/wx/gtk/checkbox.h:51:5: error: ‘GtkWidget’ does not name a type
/usr/include/wx/gtk/checkbox.h:57:37: error: ‘GtkRcStyle’ has not been declared
/usr/include/wx/gtk/checkbox.h:58:13: error: ‘GdkWindow’ does not name a type
In file included from /usr/include/wx/listbox.h:152:0,
from /usr/include/wx/checklst.h:17,
from /usr/include/wx/wx.h:72,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/listbox.h:84:5: error: ‘GtkWidget’ does not name a type
/usr/include/wx/gtk/listbox.h:87:24: error: ‘GtkTooltips’ has not been declared
/usr/include/wx/gtk/listbox.h:107:37: error: ‘GtkRcStyle’ has not been declared
/usr/include/wx/gtk/listbox.h:108:13: error: ‘GdkWindow’ does not name a type
In file included from /usr/include/wx/choice.h:75:0,
from /usr/include/wx/wx.h:73,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/choice.h:83:37: error: ‘GtkRcStyle’ has not been declared
/usr/include/wx/gtk/choice.h:84:13: error: ‘GdkWindow’ does not name a type
/usr/include/wx/gtk/choice.h:96:22: error: ‘GtkWidget’ has not been declared
In file included from /usr/include/wx/scrolbar.h:66:0,
from /usr/include/wx/wx.h:74,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/scrolbar.h:61:13: error: ‘GdkWindow’ does not name a type
In file included from /usr/include/wx/stattext.h:53:0,
from /usr/include/wx/wx.h:75,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/stattext.h:54:41: error: ‘GtkWidget’ has not been declared
In file included from /usr/include/wx/statbox.h:60:0,
from /usr/include/wx/wx.h:77,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/statbox.h:49:41: error: ‘GtkWidget’ has not been declared
/usr/include/wx/gtk/statbox.h:51:29: error: ‘GtkRcStyle’ has not been declared
In file included from /usr/include/wx/radiobox.h:166:0,
from /usr/include/wx/wx.h:79,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/radiobox.h:135:24: error: ‘GtkTooltips’ has not been declared
/usr/include/wx/gtk/radiobox.h:149:37: error: ‘GtkRcStyle’ has not been declared
/usr/include/wx/gtk/radiobox.h:150:13: error: ‘GdkWindow’ does not name a type
/usr/include/wx/gtk/radiobox.h:153:41: error: ‘GtkWidget’ has not been declared
In file included from /usr/include/wx/radiobut.h:45:0,
from /usr/include/wx/wx.h:80,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/radiobut.h:58:37: error: ‘GtkRcStyle’ has not been declared
/usr/include/wx/gtk/radiobut.h:59:13: error: ‘GdkWindow’ does not name a type
In file included from /usr/include/wx/textctrl.h:477:0,
from /usr/include/wx/wx.h:81,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/textctrl.h:144:5: error: ‘GtkWidget’ does not name a type
/usr/include/wx/gtk/textctrl.h:185:37: error: ‘GtkRcStyle’ has not been declared
/usr/include/wx/gtk/textctrl.h:186:13: error: ‘GdkWindow’ does not name a type
/usr/include/wx/gtk/textctrl.h:216:5: error: ‘GtkWidget’ does not name a type
/usr/include/wx/gtk/textctrl.h:225:5: error: ‘GtkTextBuffer’ does not name a type
/usr/include/wx/gtk/textctrl.h:233:5: error: ‘GdkCursor’ does not name a type
/usr/include/wx/gtk/textctrl.h:234:5: error: ‘GdkCursor’ does not name a type
In file included from /usr/include/wx/slider.h:135:0,
from /usr/include/wx/wx.h:82,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/slider.h:68:13: error: ‘GdkWindow’ does not name a type
In file included from /usr/include/wx/scrolwin.h:259:0,
from /usr/include/wx/wx.h:84,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/scrolwin.h:34:28: error: ‘GtkRange’ has not been declared
/usr/include/wx/gtk/scrolwin.h: In member function ‘void wxScrollHelperNative::DoAdjustHScrollbar(int, int)’:
/usr/include/wx/gtk/scrolwin.h:46:20: error: ‘class wxWindow’ has no member named ‘m_scrollBar’
/usr/include/wx/gtk/scrolwin.h: In member function ‘void wxScrollHelperNative::DoAdjustVScrollbar(int, int)’:
/usr/include/wx/gtk/scrolwin.h:56:20: error: ‘class wxWindow’ has no member named ‘m_scrollBar’
In file included from /usr/include/wx/toolbar.h:80:0,
from /usr/include/wx/wx.h:86,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/tbargtk.h: At global scope:
/usr/include/wx/gtk/tbargtk.h:67:5: error: ‘GtkToolbar’ does not name a type
/usr/include/wx/gtk/tbargtk.h:80:13: error: ‘GdkWindow’ does not name a type
In file included from /usr/include/wx/combobox.h:83:0,
from /usr/include/wx/wx.h:87,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/combobox.h:135:5: error: ‘GtkWidget’ does not name a type
/usr/include/wx/gtk/combobox.h:144:37: error: ‘GtkRcStyle’ has not been declared
/usr/include/wx/gtk/combobox.h:145:13: error: ‘GdkWindow’ does not name a type
In file included from /usr/include/wx/mdi.h:26:0,
from /usr/include/wx/wx.h:90,
from ../src/MySQL.cpp:11:
/usr/include/wx/gtk/mdi.h:161:5: error: ‘GtkNotebookPage’ does not name a type
../src/MySQL.cpp: In function ‘int main()’:
../src/MySQL.cpp:23:32: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
../src/MySQL.cpp:24:30: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
../src/MySQL.cpp:25:34: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
../src/MySQL.cpp:26:34: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
../src/MySQL.cpp:27:32: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
make: *** [src/MySQL.o] Error 119:45:56 Build Finished (took 3s.868ms)
Ich nehme an, ich muss die Flags noch eintragen. Aber wo? Kann mir da bitte jemand einen Rat geben?
Vielen Dank im voraus
lg Torsten