1. I have glestae-src-0.3.2
Sorry for post, but game is too speed for me, the enemy is growing too fast...
How I can change for example speed game i source code?
I wish edit this for beginer , for me
2. I have wxX11-2.8.12 from
http://www.wxwidgets.org/but I have some problem with this, I don know, whether it is properly configured.
ldconfig maybe not working
#ldconfig
[root@localhost gg]#
[ 89%] Built target glestadv
[ 89%] Building CXX object source/map_editor/CMakeFiles/gae_mapeditor.dir/main.cpp.o
In file included from /home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp:14:0:
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.h:250:35: error: expected class-name before ‘{’ token
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp: In constructor ‘MapEditor::MainWindow::MainWindow()’:
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp:69:17: error: ‘WX_GL_RGBA’ was not declared in this scope
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp:69:29: error: ‘WX_GL_DOUBLEBUFFER’ was not declared in this scope
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp:79:37: error: invalid conversion from ‘MapEditor::GlCanvas*’ to ‘int’
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp:79:37: error: initializing argument 1 of ‘wxSizerItem* wxSizer::Add(int, int, int, int, int, wxObject*)’
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp:84:12: error: ‘class MapEditor::GlCanvas’ has no member named ‘SetFocus’
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp: In member function ‘void MapEditor::MainWindow::init(std::string, wxString)’:
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp:327:12: error: ‘class MapEditor::GlCanvas’ has no member named ‘SetCurrent’
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp:328:34: error: ‘class MapEditor::GlCanvas’ has no member named ‘GetClientSize’
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp:328:63: error: ‘class MapEditor::GlCanvas’ has no member named ‘GetClientSize’
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp: In member function ‘void MapEditor::MainWindow::centreMap()’:
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp:346:38: error: ‘class MapEditor::GlCanvas’ has no member named ‘GetClientSize’
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp: In member function ‘void MapEditor::MainWindow::onMouseDown(wxMouseEvent&, int, int)’:
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp:449:3: error: ‘class MapEditor::GlCanvas’ has no member named ‘Refresh’
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp: In member function ‘void MapEditor::MainWindow::onMouseMove(wxMouseEvent&, int, int)’:
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp:486:3: error: ‘class MapEditor::GlCanvas’ has no member named ‘Refresh’
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp: In member function ‘void MapEditor::MainWindow::onMenuEditUndo(wxCommandEvent&)’:
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp:557:3: error: ‘class MapEditor::GlCanvas’ has no member named ‘Refresh’
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp: In member function ‘void MapEditor::MainWindow::onMenuEditRedo(wxCommandEvent&)’:
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp:565:3: error: ‘class MapEditor::GlCanvas’ has no member named ‘Refresh’
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp: In member function ‘void MapEditor::MainWindow::onMenuMiscShowMap(wxCommandEvent&)’:
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp:744:27: error: ambiguous overload for ‘operator<<’ in ‘std::cout << wxString::char_str(const wxMBConv&) const(((const wxMBConv&)((const wxMBConv*)wxConvLibc)))’
/usr/lib/gcc/i586-mandriva-linux-gnu/4.5.2/../../../../include/c++/4.5.2/ostream:165:7: note: candidates are: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>] <near match>
/usr/lib/gcc/i586-mandriva-linux-gnu/4.5.2/../../../../include/c++/4.5.2/ostream:169:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>] <near match>
/usr/lib/gcc/i586-mandriva-linux-gnu/4.5.2/../../../../include/c++/4.5.2/ostream:173:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
/usr/lib/gcc/i586-mandriva-linux-gnu/4.5.2/../../../../include/c++/4.5.2/bits/ostream.tcc:91:5: note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char, _Traits = std::char_traits<char>] <near match>
/usr/lib/gcc/i586-mandriva-linux-gnu/4.5.2/../../../../include/c++/4.5.2/ostream:180:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>] <near match>
/usr/lib/gcc/i586-mandriva-linux-gnu/4.5.2/../../../../include/c++/4.5.2/bits/ostream.tcc:105:5: note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char, _Traits = std::char_traits<char>] <near match>
/usr/lib/gcc/i586-mandriva-linux-gnu/4.5.2/../../../../include/c++/4.5.2/ostream:191:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>] <near match>
/usr/lib/gcc/i586-mandriva-linux-gnu/4.5.2/../../../../include/c++/4.5.2/ostream:200:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>] <near match>
/usr/lib/gcc/i586-mandriva-linux-gnu/4.5.2/../../../../include/c++/4.5.2/ostream:204:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>] <near match>
/usr/lib/gcc/i586-mandriva-linux-gnu/4.5.2/../../../../include/c++/4.5.2/ostream:225:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
/usr/local/include/wx-2.8/wx/string.h:1649:33: note: std::ostream& operator<<(std::ostream&, const wxString&)
/usr/lib/gcc/i586-mandriva-linux-gnu/4.5.2/../../../../include/c++/4.5.2/ostream:508:5: note: std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const char*) [with _Traits = std::char_traits<char>]
/usr/lib/gcc/i586-mandriva-linux-gnu/4.5.2/../../../../include/c++/4.5.2/bits/ostream.tcc:321:70: note: std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const char*) [with _CharT = char, _Traits = std::char_traits<char>]
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp:763:28: error: ambiguous overload for ‘operator<<’ in ‘std::cout << wxString::char_str(const wxMBConv&) const(((const wxMBConv&)((const wxMBConv*)wxConvLibc)))’
/usr/lib/gcc/i586-mandriva-linux-gnu/4.5.2/../../../../include/c++/4.5.2/ostream:165:7: note: candidates are: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>] <near match>
/usr/lib/gcc/i586-mandriva-linux-gnu/4.5.2/../../../../include/c++/4.5.2/ostream:169:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>] <near match>
/usr/lib/gcc/i586-mandriva-linux-gnu/4.5.2/../../../../include/c++/4.5.2/ostream:173:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
/usr/lib/gcc/i586-mandriva-linux-gnu/4.5.2/../../../../include/c++/4.5.2/bits/ostream.tcc:91:5: note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char, _Traits = std::char_traits<char>] <near match>
/usr/lib/gcc/i586-mandriva-linux-gnu/4.5.2/../../../../include/c++/4.5.2/ostream:180:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>] <near match>
/usr/lib/gcc/i586-mandriva-linux-gnu/4.5.2/../../../../include/c++/4.5.2/bits/ostream.tcc:105:5: note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char, _Traits = std::char_traits<char>] <near match>
/usr/lib/gcc/i586-mandriva-linux-gnu/4.5.2/../../../../include/c++/4.5.2/ostream:191:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>] <near match>
/usr/lib/gcc/i586-mandriva-linux-gnu/4.5.2/../../../../include/c++/4.5.2/ostream:200:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>] <near match>
/usr/lib/gcc/i586-mandriva-linux-gnu/4.5.2/../../../../include/c++/4.5.2/ostream:204:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>] <near match>
/usr/lib/gcc/i586-mandriva-linux-gnu/4.5.2/../../../../include/c++/4.5.2/ostream:225:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
/usr/local/include/wx-2.8/wx/string.h:1649:33: note: std::ostream& operator<<(std::ostream&, const wxString&)
/usr/lib/gcc/i586-mandriva-linux-gnu/4.5.2/../../../../include/c++/4.5.2/ostream:508:5: note: std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const char*) [with _Traits = std::char_traits<char>]
/usr/lib/gcc/i586-mandriva-linux-gnu/4.5.2/../../../../include/c++/4.5.2/bits/ostream.tcc:321:70: note: std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const char*) [with _CharT = char, _Traits = std::char_traits<char>]
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp: In constructor ‘MapEditor::GlCanvas::GlCanvas(MapEditor::MainWindow*, wxWindow*, int*)’:
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp:1033:5: error: class ‘MapEditor::GlCanvas’ does not have any field named ‘wxGLCanvas’
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp: In member function ‘void MapEditor::GlCanvas::onPaint(wxPaintEvent&)’:
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp:1057:40: error: ‘class MapEditor::GlCanvas’ has no member named ‘GetClientSize’
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp:1057:65: error: ‘class MapEditor::GlCanvas’ has no member named ‘GetClientSize’
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp:1058:9: error: ‘class MapEditor::GlCanvas’ has no member named ‘SwapBuffers’
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp: At global scope:
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp:1063:1: error: ‘wxGLCanvas’ has not been declared
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp:1064:2: error: invalid static_cast from type ‘void (MapEditor::GlCanvas::*)(wxKeyEvent&)’ to type ‘void (wxEvtHandler::*)(wxKeyEvent&)’
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp:1066:2: error: invalid static_cast from type ‘void (MapEditor::GlCanvas::*)(wxMouseEvent&)’ to type ‘void (wxEvtHandler::*)(wxMouseEvent&)’
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp:1067:2: error: invalid static_cast from type ‘void (MapEditor::GlCanvas::*)(wxMouseEvent&)’ to type ‘void (wxEvtHandler::*)(wxMouseEvent&)’
/home/gg/Pobrane/glestae-src-0.3.2/source/map_editor/main.cpp:1069:2: error: invalid static_cast from type ‘void (MapEditor::GlCanvas::*)(wxPaintEvent&)’ to type ‘void (wxEvtHandler::*)(wxPaintEvent&)’
make[2]: *** [source/map_editor/CMakeFiles/gae_mapeditor.dir/main.cpp.o] Błąd 1
make[1]: *** [source/map_editor/CMakeFiles/gae_mapeditor.dir/all] Błąd 2
make: *** [all] Błąd 2
I have instałed from synaptic:
- libwxgtk2.8 (base shered library)
- libwxgtk2.8-devel (header files) 2.8.12-3
- libwxgtkgl2.8 (GTK+ port) 2.8.12-3
- libwxgtkglu2.8 (GTK+ port) 2.8.12-3
- libwxgtku2.8 (base shered library) 2.8.12-3
- libwxgtku2.8-devel (header files) 2.8.12-3
- libwxPythonGTK2.8 (shared library) 2.8.10.1-3
- libwxPythonGTK2.8-devel (development files) 2.8.10.1-3
- libwxsvg0 (dynamic libraries) 1.1.8-1
- libwxsvg-devel (header files) 1.1.8-1
- wxgtk2.8 (GTK+ port) 2.8.12-3
- wxPythonGTK (cross platform) 2.8.10.1-3
- wxPythonGTK-tools (example) 2.8.10.1-3
- wxPythonGTK-wxversion ( specific version) 2.8.10.1-3
- wxsqlite3 (wrapper) 1.9.5-3
- wxsqlite3-devel (development package) 1.9.5-3
- wxsvg (SVG files) 1.1.8-1