MegaGlest Forum

Archives (read only) => Vanilla Glest => Linux and other ports => Topic started by: titi on 30 January 2010, 15:07:47

Title: Compiling the glest editor
Post by: titi on 30 January 2010, 15:07:47
Hi anyone knows how to successsfully compile the glest editor in linux?
Configure finds everything it wants:
Code: [Select]
checking for wxWidgets version >= 2.6.0 (--unicode=yes)... yes (version 2.6.3)
But it doesn't compile, I get:
Code: [Select]
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"
...

 
 
Title: Re: Compiling the glest editor
Post by: Yggdrasil on 30 January 2010, 16:49:19
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.
Title: Re: Compiling the glest editor
Post by: titi on 30 January 2010, 18:17:28
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)
....
Title: Re: Compiling the glest editor
Post by: Loronal on 9 February 2010, 12:30:16
resources doesnt have two ss' anyways I might try to compile the map editor
Title: Re: Compiling the glest editor
Post by: titi on 9 February 2010, 14:08:22
uuuhh :-[ thanks