ubuntuusers.de

Kompilieren: wxWidgets 2.8.6, openGL, und libxml2 problem

Status: Ungelöst | Ubuntu-Version: Nicht spezifiziert
Antworten |

JW1

Anmeldungsdatum:
10. April 2009

Beiträge: 126

hallo,

ich versuche schon länger "Remeres Map Editor" zu kompilieren (http://remeresmapeditor.com/).

aus den FAQs entnehme ich, dass folgende bibliotheken zum kompilieren notwendig sind:

  • wxWidgets 2.8.6+

  • libxml2

  • OpenGL

eigentlich müsste es mit folgenden paketen funktionieren

sudo apt-get install libxml2-*
sudo apt-get install libwxbase2.8*
sudo apt-get install libwxgtk2.8*

PS.: wisst ihr welche openGL pakete ich benötige? auf meinem pc befindet sich der aktuelle nVidia grafiktreiber und ich verwende compiz. daher nehme ich mal an, dass ich alles von openGL installiert habe

hier mal ein teil der fehlerausgabe

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
common_windows.hpp:267: Fehler: invalid use of incomplete type »struct wxTextCtrl«
/usr/include/wx/log.h:22: Fehler: forward declaration of »struct wxTextCtrl«
common_windows.hpp:268: Fehler: expected type-specifier before »wxButton«
common_windows.hpp:268: Fehler: expected `)' before »wxButton«
common_windows.hpp:268: Fehler: keine passende Funktion für Aufruf von »wxSizer::Add(int*)«
/usr/include/wx/sizer.h:138: Anmerkung: Kandidaten sind: virtual void wxSizer::Add(wxWindow*, int, int, int, wxObject*)
/usr/include/wx/sizer.h:139: Anmerkung:                  virtual void wxSizer::Add(wxSizer*, int, int, int, wxObject*)
/usr/include/wx/sizer.h:140: Anmerkung:                  virtual void wxSizer::Add(int, int, int, int, int, wxObject*)
common_windows.hpp:272: Fehler: expected type-specifier before »wxStaticBoxSizer«
common_windows.hpp:272: Fehler: »int*« kann nicht nach »wxSizer*« in assignment umgewandelt werden
common_windows.hpp:272: Fehler: expected `;' before »wxStaticBoxSizer«
common_windows.hpp:273: Fehler: »wxStaticText« wurde in diesem Gültigkeitsbereich nicht definiert
common_windows.hpp:273: Fehler: »width_field« wurde in diesem Gültigkeitsbereich nicht definiert
common_windows.hpp:273: Fehler: expected type-specifier before »wxStaticText«
common_windows.hpp:273: Fehler: expected `;' before »wxStaticText«
common_windows.hpp:275: Fehler: »wxFILTER_NUMERIC« wurde in diesem Gültigkeitsbereich nicht definiert
common_windows.hpp:275: Fehler: invalid use of incomplete type »struct wxTextCtrl«
/usr/include/wx/log.h:22: Fehler: forward declaration of »struct wxTextCtrl«
common_windows.hpp:276: Fehler: keine passende Funktion für Aufruf von »wxSizer::Add(wxTextCtrl*&)«
/usr/include/wx/sizer.h:138: Anmerkung: Kandidaten sind: virtual void wxSizer::Add(wxWindow*, int, int, int, wxObject*)
/usr/include/wx/sizer.h:139: Anmerkung:                  virtual void wxSizer::Add(wxSizer*, int, int, int, wxObject*)
/usr/include/wx/sizer.h:140: Anmerkung:                  virtual void wxSizer::Add(int, int, int, int, int, wxObject*)
common_windows.hpp:280: Fehler: »height_field« wurde in diesem Gültigkeitsbereich nicht definiert
common_windows.hpp:280: Fehler: expected type-specifier before »wxStaticText«
common_windows.hpp:280: Fehler: expected `;' before »wxStaticText«
common_windows.hpp:282: Fehler: invalid use of incomplete type »struct wxTextCtrl«
/usr/include/wx/log.h:22: Fehler: forward declaration of »struct wxTextCtrl«
common_windows.hpp:283: Fehler: keine passende Funktion für Aufruf von »wxSizer::Add(wxTextCtrl*&)«
/usr/include/wx/sizer.h:138: Anmerkung: Kandidaten sind: virtual void wxSizer::Add(wxWindow*, int, int, int, wxObject*)
/usr/include/wx/sizer.h:139: Anmerkung:                  virtual void wxSizer::Add(wxSizer*, int, int, int, wxObject*)
/usr/include/wx/sizer.h:140: Anmerkung:                  virtual void wxSizer::Add(int, int, int, int, int, wxObject*)
common_windows.hpp:294: Fehler: expected type-specifier before »wxStaticBoxSizer«
common_windows.hpp:294: Fehler: »int*« kann nicht nach »wxSizer*« in assignment umgewandelt werden
common_windows.hpp:294: Fehler: expected `;' before »wxStaticBoxSizer«
common_windows.hpp:295: Fehler: »house_options« wurde in diesem Gültigkeitsbereich nicht definiert
common_windows.hpp:295: Fehler: expected type-specifier before »wxChoice«
common_windows.hpp:295: Fehler: expected `;' before »wxChoice«
common_windows.hpp:306: Fehler: expected type-specifier before »wxStaticBoxSizer«
common_windows.hpp:306: Fehler: »int*« kann nicht nach »wxSizer*« in assignment umgewandelt werden
common_windows.hpp:306: Fehler: expected `;' before »wxStaticBoxSizer«
common_windows.hpp:307: Fehler: »spawn_options« wurde in diesem Gültigkeitsbereich nicht definiert
common_windows.hpp:307: Fehler: expected type-specifier before »wxChoice«
common_windows.hpp:307: Fehler: expected `;' before »wxChoice«
common_windows.hpp:314: Fehler: expected type-specifier before »wxButton«
common_windows.hpp:314: Fehler: expected `)' before »wxButton«
common_windows.hpp:314: Fehler: »wxSizerFlags« wurde in diesem Gültigkeitsbereich nicht definiert
common_windows.hpp:315: Fehler: expected type-specifier before »wxButton«
common_windows.hpp:315: Fehler: expected `)' before »wxButton«
common_windows.hpp:318: Fehler: »SetSizerAndFit« wurde in diesem Gültigkeitsbereich nicht definiert
common_windows.hpp: In member function »void ImportMapWindow::OnClickBrowse(wxCommandEvent&)«:
common_windows.hpp:327: Fehler: »wxFileDialog« wurde in diesem Gültigkeitsbereich nicht definiert
common_windows.hpp:327: Fehler: expected `;' before »file«
common_windows.hpp:328: Fehler: »file« wurde in diesem Gültigkeitsbereich nicht definiert
common_windows.hpp:332: Fehler: invalid use of incomplete type »struct wxTextCtrl«
/usr/include/wx/log.h:22: Fehler: forward declaration of »struct wxTextCtrl«
common_windows.hpp: In member function »void ImportMapWindow::OnClickOK(wxCommandEvent&)«:
common_windows.hpp:342: Fehler: »Validate« wurde in diesem Gültigkeitsbereich nicht definiert
common_windows.hpp:342: Fehler: »TransferDataFromWindow« wurde in diesem Gültigkeitsbereich nicht definiert
common_windows.hpp:346: Fehler: Umformung von »ImportMapWindow* const« in »wxString« ist nicht eindeutig
/usr/include/wx/string.h:302: Anmerkung: Kandidaten sind: wxString::wxString(wxChar, size_t) <nahe Übereinstimmung>
/usr/include/wx/string.h:280: Anmerkung:                  wxString::wxString(int) <nahe Übereinstimmung>
common_windows.hpp:346: Fehler: ungültige Umwandlung von »const char*« in »long int«
common_windows.hpp:346: Fehler:   Argument 3 von »long int GUI::PopupDialog(wxString, wxString, long int, wxString, uint)« wird initialisiert
/usr/include/wx/string.h:280: Fehler: »wxString::wxString(int)« ist privat
common_windows.hpp:346: Fehler: in diesem Zusammenhang
common_windows.hpp:356: Fehler: Umformung von »ImportMapWindow* const« in »wxString« ist nicht eindeutig
/usr/include/wx/string.h:302: Anmerkung: Kandidaten sind: wxString::wxString(wxChar, size_t) <nahe Übereinstimmung>
/usr/include/wx/string.h:280: Anmerkung:                  wxString::wxString(int) <nahe Übereinstimmung>
common_windows.hpp:356: Fehler: ungültige Umwandlung von »const char*« in »long int«
common_windows.hpp:356: Fehler:   Argument 3 von »long int GUI::PopupDialog(wxString, wxString, long int, wxString, uint)« wird initialisiert
/usr/include/wx/string.h:280: Fehler: »wxString::wxString(int)« ist privat
common_windows.hpp:356: Fehler: in diesem Zusammenhang
common_windows.hpp:361: Fehler: Umformung von »ImportMapWindow* const« in »wxString« ist nicht eindeutig
/usr/include/wx/string.h:302: Anmerkung: Kandidaten sind: wxString::wxString(wxChar, size_t) <nahe Übereinstimmung>
/usr/include/wx/string.h:280: Anmerkung:                  wxString::wxString(int) <nahe Übereinstimmung>
common_windows.hpp:361: Fehler: ungültige Umwandlung von »const char*« in »long int«
common_windows.hpp:361: Fehler:   Argument 3 von »long int GUI::PopupDialog(wxString, wxString, long int, wxString, uint)« wird initialisiert
/usr/include/wx/string.h:280: Fehler: »wxString::wxString(int)« ist privat
common_windows.hpp:361: Fehler: in diesem Zusammenhang
common_windows.hpp:368: Fehler: »spawn_options« wurde in diesem Gültigkeitsbereich nicht definiert
common_windows.hpp:374: Fehler: »house_options« wurde in diesem Gültigkeitsbereich nicht definiert
common_windows.hpp:382: Fehler: »EndModal« wurde in diesem Gültigkeitsbereich nicht definiert
common_windows.hpp: In member function »void ImportMapWindow::OnClickCancel(wxCommandEvent&)«:
common_windows.hpp:391: Fehler: »EndModal« wurde in diesem Gültigkeitsbereich nicht definiert
common_windows.hpp: At global scope:
common_windows.hpp:398: Fehler: »wxDialog« wurde nicht deklariert
common_windows.hpp: In constructor »ExportMiniMapWindow::ExportMiniMapWindow(wxWindow*, Editor&)«:
common_windows.hpp:406: Fehler: Klasse »ExportMiniMapWindow« hat keinen Feldnamen »wxDialog«
common_windows.hpp:413: Fehler: expected type-specifier before »wxStaticBoxSizer«
common_windows.hpp:413: Fehler: »int*« kann nicht nach »wxSizer*« in assignment umgewandelt werden
common_windows.hpp:413: Fehler: expected `;' before »wxStaticBoxSizer«
common_windows.hpp:414: Fehler: invalid use of incomplete type »struct wxTextCtrl«
/usr/include/wx/log.h:22: Fehler: forward declaration of »struct wxTextCtrl«
common_windows.hpp:415: Fehler: expected type-specifier before »wxButton«
common_windows.hpp:415: Fehler: expected `)' before »wxButton«
common_windows.hpp:415: Fehler: ungültige Umwandlung von »int*« in »int«
common_windows.hpp:415: Fehler:   Argument 1 von »virtual void wxSizer::Add(int, int, int, int, int, wxObject*)« wird initialisiert
common_windows.hpp:425: Fehler: expected type-specifier before »wxStaticBoxSizer«
common_windows.hpp:425: Fehler: »int*« kann nicht nach »wxSizer*« in assignment umgewandelt werden
common_windows.hpp:425: Fehler: expected `;' before »wxStaticBoxSizer«
common_windows.hpp:426: Fehler: »floor_options« wurde in diesem Gültigkeitsbereich nicht definiert
common_windows.hpp:426: Fehler: expected type-specifier before »wxChoice«
common_windows.hpp:426: Fehler: expected `;' before »wxChoice«
common_windows.hpp:427: Fehler: keine passende Funktion für Aufruf von »wxSpinCtrl::wxSpinCtrl(ExportMiniMapWindow* const, <anonymous enum>, const char [2], const wxPoint&, const wxSize&, int, int, int, int)«
/usr/include/wx/generic/spinctlg.h:127: Anmerkung: Kandidaten sind: wxSpinCtrl::wxSpinCtrl(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int, int, int, int, const wxString&)
/usr/include/wx/generic/spinctlg.h:118: Anmerkung:                  wxSpinCtrl::wxSpinCtrl()
/usr/include/wx/generic/spinctlg.h:116: Anmerkung:                  wxSpinCtrl::wxSpinCtrl(const wxSpinCtrl&)
common_windows.hpp:428: Fehler: »class wxSpinCtrl« hat kein Element namens »Enable«
common_windows.hpp:431: Fehler: ungültige Umwandlung von »wxSpinCtrl*« in »int«
common_windows.hpp:431: Fehler:   Argument 1 von »virtual void wxSizer::Add(int, int, int, int, int, wxObject*)« wird initialisiert
common_windows.hpp:436: Fehler: expected type-specifier before »wxButton«
common_windows.hpp:436: Fehler: expected `)' before »wxButton«
common_windows.hpp:436: Fehler: »wxSizerFlags« wurde in diesem Gültigkeitsbereich nicht definiert
common_windows.hpp:437: Fehler: expected type-specifier before »wxButton«
common_windows.hpp:437: Fehler: expected `)' before »wxButton«
common_windows.hpp:440: Fehler: »SetSizerAndFit« wurde in diesem Gültigkeitsbereich nicht definiert
common_windows.hpp: In member function »void ExportMiniMapWindow::OnExportTypeChange(wxCommandEvent&)«:
common_windows.hpp:451: Fehler: »class wxSpinCtrl« hat kein Element namens »Enable«
common_windows.hpp:455: Fehler: »class wxSpinCtrl« hat kein Element namens »Enable«
common_windows.hpp: In member function »void ExportMiniMapWindow::OnClickBrowse(wxCommandEvent&)«:
common_windows.hpp:461: Fehler: »wxFileDialog« wurde in diesem Gültigkeitsbereich nicht definiert
common_windows.hpp:461: Fehler: expected `;' before »file«
common_windows.hpp:462: Fehler: »file« wurde in diesem Gültigkeitsbereich nicht definiert
common_windows.hpp:468: Fehler: invalid use of incomplete type »struct wxTextCtrl«
/usr/include/wx/log.h:22: Fehler: forward declaration of »struct wxTextCtrl«
common_windows.hpp: In member function »void ExportMiniMapWindow::OnClickOK(wxCommandEvent&)«:
common_windows.hpp:478: Fehler: invalid use of incomplete type »struct wxTextCtrl«
/usr/include/wx/log.h:22: Fehler: forward declaration of »struct wxTextCtrl«
common_windows.hpp:482: Fehler: Umformung von »ExportMiniMapWindow* const« in »wxString« ist nicht eindeutig
/usr/include/wx/string.h:302: Anmerkung: Kandidaten sind: wxString::wxString(wxChar, size_t) <nahe Übereinstimmung>
/usr/include/wx/string.h:280: Anmerkung:                  wxString::wxString(int) <nahe Übereinstimmung>
common_windows.hpp:482: Fehler: ungültige Umwandlung von »const char*« in »long int«
common_windows.hpp:482: Fehler:   Argument 3 von »long int GUI::PopupDialog(wxString, wxString, long int, wxString, uint)« wird initialisiert
common_windows.hpp:494: Fehler: Umformung von »ExportMiniMapWindow* const« in »wxString« ist nicht eindeutig
/usr/include/wx/string.h:302: Anmerkung: Kandidaten sind: wxString::wxString(wxChar, size_t) <nahe Übereinstimmung>
/usr/include/wx/string.h:280: Anmerkung:                  wxString::wxString(int) <nahe Übereinstimmung>
common_windows.hpp:494: Fehler: ungültige Umwandlung von »const char*« in »long int«
common_windows.hpp:494: Fehler:   Argument 3 von »long int GUI::PopupDialog(wxString, wxString, long int, wxString, uint)« wird initialisiert
common_windows.hpp:504: Fehler: Umformung von »ExportMiniMapWindow* const« in »wxString« ist nicht eindeutig
/usr/include/wx/string.h:302: Anmerkung: Kandidaten sind: wxString::wxString(wxChar, size_t) <nahe Übereinstimmung>
/usr/include/wx/string.h:280: Anmerkung:                  wxString::wxString(int) <nahe Übereinstimmung>
common_windows.hpp:504: Fehler: ungültige Umwandlung von »const char*« in »long int«
common_windows.hpp:504: Fehler:   Argument 3 von »long int GUI::PopupDialog(wxString, wxString, long int, wxString, uint)« wird initialisiert
common_windows.hpp:514: Fehler: »floor_options« wurde in diesem Gültigkeitsbereich nicht definiert
common_windows.hpp:546: Fehler: »EndModal« wurde in diesem Gültigkeitsbereich nicht definiert
common_windows.hpp: In member function »void ExportMiniMapWindow::OnClickCancel(wxCommandEvent&)«:
common_windows.hpp:552: Fehler: »EndModal« wurde in diesem Gültigkeitsbereich nicht definiert
common_windows.hpp: At global scope:
common_windows.hpp:558: Fehler: »wxDialog« wurde nicht deklariert
common_windows.hpp:559: Fehler: »EVT_TIMER« wurde in diesem Gültigkeitsbereich nicht definiert
common_windows.hpp:560: Fehler: expected `}' before »EVT_TEXT«
common_windows.hpp:560: Fehler: expected »,« or »;« before »EVT_TEXT«
common_windows.hpp:564: Fehler: expected declaration before »}« token
make: *** [main.o] Fehler 1

liebe grüße und danke schon im voraus

Antworten |