Author Topic: Build info  (Read 6332 times)

martiño

  • Behemoth
  • *******
  • Posts: 1,095
    • View Profile
Build info
« on: 26 January 2005, 19:21:31 »
I will use this thread to give some info on how to compile Glest source code.
« Last Edit: 27 March 2005, 02:47:53 by martiño »

martiño

  • Behemoth
  • *******
  • Posts: 1,095
    • View Profile
(No subject)
« Reply #1 on: 26 January 2005, 19:31:46 »
Overview:

Glest source is divided in 2 parts:

a) Game source: Glest game specific code.

b) Shared library source: Code that  is shared among all Glest tools and other projects we have.

What we do is to compile the shared library as static library and the link the main code against it. Both of them use a single thread so you dont need multithread supprt.

This shared library is also divided in several sub-modules:

graphics: math and graphics
graphics_gl: opengl graphics
soud: sound (including the direct sound player)
util: conversion functions and other utilities
platform: platform dependant code (to make a port of Glest to other platforms only this part needs to be changed)
« Last Edit: 1 January 1970, 00:00:00 by martiño »

martiño

  • Behemoth
  • *******
  • Posts: 1,095
    • View Profile
(No subject)
« Reply #2 on: 26 January 2005, 19:40:39 »
Libraries needed to compile the Glest code:

Windows OpenGL: opengl32.lib, glu32.lib

DirectX 9 SDK: dsound.lib, dxguid.lib

Xerces C++: An XML parser, can be downloaded from: http://xml.apache.org/.

Ogg Vorbis Win32 SDK: Ogg audio files decoder, can be downloaded  from  http://www.vorbis.com/

SGI OpenGL SDK: SDK for accessing OpenGL +1.1 and extension functionality:  http://oss.sgi.com/projects/ogl-sample/sdk.html. (Files used: gl.h, glu.h, glprocs.h, glprocs.c)
« Last Edit: 1 January 1970, 00:00:00 by martiño »

 

anything