Author Topic: Compiling the glest editor  (Read 3381 times)

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Compiling the glest editor
« 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"
...

 
 
« Last Edit: 30 January 2010, 15:28:27 by titi »
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

Yggdrasil

  • GAE Team
  • Ornithopter
  • ********
  • Posts: 408
    • View Profile
Re: Compiling the glest editor
« Reply #1 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.

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: Compiling the glest editor
« Reply #2 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)
....
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

Loronal

  • Guest
Re: Compiling the glest editor
« Reply #3 on: 9 February 2010, 12:30:16 »
resources doesnt have two ss' anyways I might try to compile the map editor

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: Compiling the glest editor
« Reply #4 on: 9 February 2010, 14:08:22 »
uuuhh :-[ thanks
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

 

anything