Author Topic: Utilities needed to Compile Glest?  (Read 1995 times)

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Utilities needed to Compile Glest?
« on: 7 December 2008, 20:11:27 »
I've been wanting to compile Glest myself, and I was wondering what exactly I needed and where to download that. If this is posted elsewhere on the board, I appologize. I just don't have the time to look through thousands of posts.

The primary errors that seem to concern downloading a file are:
Code: [Select]
fatal error C1083: Cannot open include file: 'lua.hpp':
No such file or directory
c:\users\owner\documents\glest\source\shared_lib\include\lua\lua_script.h
Code: [Select]
fatal error C1083: Cannot open include file: 'glprocs.h':
No such file or directory
c:\users\owner\documents\glest\source\shared_lib\include\platform\win32\gl_wrap.h
Code: [Select]
fatal error C1083: Cannot open include file: 'xercesc/util/XercesDefs.hpp':
No such file or directory
c:\users\owner\documents\glest\source\shared_lib\include\xml\xml_parser.h

In case it's neccessary, I'm using MS VS C++ 2008. I just added the files from glest_game into Visual Studio and went into tools and linked directories into the shared lib section. Concerning glprocs.h, I'm not sure why that's ,issing, since it doesn't sound like a file one would need to download, but I checked my entire computer. No file.

Here's the HTML build log that VS generated:[attachment=0:5zfn2npf]BuildLog.zip[/attachment:5zfn2npf]

Any help appreciated. I only put in all the files from glest_game, not the shared_lib, though I linked the directories to the proper folders. Direct download links to files would be appreciated.

Lastly, what would be needed for map editor/g3d viewer? I believe you need some other things too... And what about GAE? I'd like to try debugging it, and maybe it'll work for me then. Does it need anything special?

Thanks!
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

Yggdrasil

  • GAE Team
  • Ornithopter
  • ********
  • Posts: 408
    • View Profile
Re: Utilities needed to Compile Glest?
« Reply #1 on: 9 December 2008, 15:21:38 »

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Utilities needed to Compile Glest?
« Reply #2 on: 9 December 2008, 15:27:23 »
Thing is, I know how to compile it, I just want to know everying I need and where I can downloadit.
ie: I need this lua.hpp and the xercesdepp.hpp
It's the missing things that I need to download, and I'd like to make a list of all that stuff.

there's also the stuff needed for map maker and g3d viewer.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

Yggdrasil

  • GAE Team
  • Ornithopter
  • ********
  • Posts: 408
    • View Profile
Re: Utilities needed to Compile Glest?
« Reply #3 on: 9 December 2008, 19:25:50 »
You need the libraries lua 5.1 and xerces 2.8 (not 3.0, daniel.santos mentioned problems with that).

http://http://www.lua.org/
http://http://xerces.apache.org/xerces-c/

For map editor you need wxWidgets 2.8.
http://http://www.wxwidgets.org/

hailstone

  • GAE Team
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: Utilities needed to Compile Glest?
« Reply #4 on: 9 December 2008, 23:20:14 »
You can get glprocs.h from the win32-deps download from the thread Yggdrasil provided.
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Utilities needed to Compile Glest?
« Reply #5 on: 10 December 2008, 03:39:07 »
Ah, thank you Yggdrasil and Hailstone! Now lets see if I can get it compiled...

Did I download the right Xerces? The download page is pretty crowded, so I downloaded the xerces-c-src_2_8_0.tar.gz, which is a source distribution at this link: http://apache.sunsite.ualberta.ca/xerce ... 8_0.tar.gz
I don't know if that's the right one, but I hope so.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert