News:

Check out the MegaGlest Wiki! Anyone can be an editor, and we want you!

Main Menu

Compiling the glest editor

Started by titi, 30 January 2010, 15:07:47

titi

Hi anyone knows how to successsfully compile the glest editor in linux?
Configure finds everything it wants:
checking for wxWidgets version >= 2.6.0 (--unicode=yes)... yes (version 2.6.3)

But it doesn't compile, I get:

C++ ./build/i686-pc-linux-gnu/optimize/glest_map_editor/main.o
In Datei, eingefügt von /usr/lib/wx/include/gtk2-unicode-release-2.6/wx/setup.h:1035,
                von /usr/include/wx-2.6/wx/platform.h:85,
                von /usr/include/wx-2.6/wx/defs.h:19,
                von /usr/include/wx-2.6/wx/wx.h:15,
                von glest_map_editor/main.h:7,
                von glest_map_editor/main.cpp:1:
/usr/include/wx-2.6/wx/chkconf.h:100:9: Fehler: #error "wxUSE_PROLOGIO must be defined."
/usr/include/wx-2.6/wx/chkconf.h:488:9: Fehler: #error "wxUSE_NEW_GRID must be defined."
/usr/include/wx-2.6/wx/chkconf.h:1184:9: Fehler: #error "wxUSE_DYNAMIC_CLASSES must be defined as 1"
In Datei, eingefügt von /usr/include/wx-2.6/wx/platform.h:88,
                von /usr/include/wx-2.6/wx/defs.h:19,
                von /usr/include/wx-2.6/wx/wx.h:15,
                von glest_map_editor/main.h:7,
                von glest_map_editor/main.cpp:1:
/usr/include/wx-2.6/wx/chkconf.h:100:9: Fehler: #error "wxUSE_PROLOGIO must be defined."
/usr/include/wx-2.6/wx/chkconf.h:488:9: Fehler: #error "wxUSE_NEW_GRID must be defined."
....


Anyone knows how to fix it( It should still work in windows too if posible )? I want to fix this in megaglest so everyone can compile it .
When I get it to compile I also want to add some more speaking strings like those:

"Gold ressource" instead of "Custom 1"
"Stone ressource" instead of "Custom2"
"Big Rock" instead of "Custom 4"
...





Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

Yggdrasil

I don't have any problems. I'm using wxWidgets 2.8.10. Seems to be a problem with your setup. Do you have every wxWidgets and wxGTK dev-package installed? Maybe there's something missing. Or try to upgrade to a newer version.

titi

THANKS a lot!

with 2.8 there is absolutly no problem!

....
checking for wxWidgets version >= 2.6.0 (--unicode=yes)... yes (version 2.8.7)
....



Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

Loronal

resources doesnt have two ss' anyways I might try to compile the map editor

titi




Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios