| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Introducing Dokkio, a new service from the creators of PBworks. Find and manage the files you've stored in Dropbox, Google Drive, Gmail, Slack, and more. Try it for free today.

View
 

GtkRadiant1_5-Linux-Compiling

Page history last edited by Moofed 13 years, 5 months ago

Compiling GtkRadiant for Linux

The (not so) nightly builds of GtkRadiant have not included the Linux version in quite some time. The most recent available (2006-03-02) is missing many features, including the bobtoolz plugin. However, it is possible to compile it yourself.

 

I recommend you have a working install of the GtkRadiant 1.5 before trying to roll your own. See GtkRadiant1_5-Linux for instructions.

 

Dependencies

  • gcc >= 3 (I used 4.1.1)
  • scons 0.96
  • libxml2 >= 2.0.0
  • python >= 2.3.0
  • svn >= 1.1
  • gtk+ >= 2.4.0
  • gtkglext >= 1.0.0
  • libxml2 >= 2.0.0
  • zlib >= 1.2.0
  • libpng >= 1.2.0
  • libmhash >= 0.9.0

 

Fetch the latest source

The source repository is located at https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk/ . To get the latest source, we use Subversion (known as svn):

 

Build the source

Now we will compile GtkRadiant.

cd GtkRadiant

scons SETUP=0

 

Optimization

GtkRadiant's default build settings create unoptimized, debugging executables. These are much slower compared to release builds, particularly when loading textures and during q3map2 radiosity. To create an optimized build, replace the scons command above with

scons SETUP=0 BUILD=release

If you want even further optimizations, edit lines 175 and 176 of the SConstruct file to read

CXXFLAGS += '-O2 -march=i686 '

CCFLAGS += '-O2 -march=i686 '

Other GCC options can go there too. If you are unsure about this, don't do it.

 

Installation

The documented way of installing gtkradiant is to run

python install.py

However, I just copy the 'install' directory and run radiant.x86

 

At this point you should have a working GtkRadiant build from the latest source. The development mailing list and other links can be found at http://zerowing.idsoftware.com/ These instructions are based off the COMPILING file that is included with the source.

Comments (0)

You don't have permission to comment on this page.