Smiley face
Info Box
Anonymous
54.162.147.179
Nickname:

Password:


User Stats
Today: 1
Yesterday: 1
This Month: 52
This Year: 342
Total Users: 3177
Waiting Users: 0
Newest Member
Online Now
Guests: 9
01. Guest
02. Guest
03. Guest
04. Guest
05. Guest

Total Online: 9

Whos Been
yos 00:12:09
darkraider 02:53:05
DingusMctingus 06:16:01
BuLLy 13:53:26
omen66 14:07:41
DownloaderKid 14:43:42
Sirleavey 17:27:32
Teo 01 day
Vazzy 01 day
10  STEE 01 day
© JAG

Advertising P3

Games Download

Supporters Dn
Supported by

Megas Portal

Lonestar Modules

Head Shot Domain

Evolution Xtreme

Demigodz clan


[ Supporters ]

Donations Website
Site Donations

Donate

Total€66.16
Fees€3.09
Net€63.07
CurrencyEUR

Donators
darkraider€2.30
Matric96€2.70
Anonymous€5.00
Baaddwrench€10.00
Anonymous€27.70

Newsletter
Newsletter

You must register to receive the newsletter

Click to register

Sentinel
You have been warned!
We have caught 561 shameful hackers.

NukeSentinel(tm)

Honey Pot
Bots in the pot!
We have [217] bots stopped!


COMPILING AND INSTALLING GTKRADIANT - LINUX

Compiling and Installing GtkRadiant

GtkRadiant does not need graphics hardware acceleration (3D acceleration) to compile or run. However, it will run much better with graphics hardware acceleration. If you have an NVIDIA or ATI graphics card, you should install and configure the proprietary graphics driver for your card at this point (before compiling GtkRadiant). There are detailed instructions on how to do this on the Debian Wiki pages, both for NVIDIA and ATI cards.

Step A: Install Dependencies

The first step is to install some extra packages that are required to compile/run GtkRadiant. Each of the commands below may automatically install a number of additional packages in order to meet package dependencies.

As the root user, run the following commands:

root# apt-get install subversion

root# apt-get install git

root# apt-get install scons

root# apt-get install libxml2-dev

root# apt-get install libglib2.0-dev

root# apt-get install libgtk2.0-dev

root# apt-get install libgtkglext1-dev

root# apt-get install libjpeg62-dev

root# apt-get install zip

If these steps succeeded without errors, you can proceed to Step B.

You may have gotten the following problem when trying to install these packages:


Media change: please insert the disc labeled 'Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 CD Binary-1 20090628-14:43' in the drive '/cdrom/' and press enter
 

If so, then you should open the file /etc/apt/sources.list as root and edit it. Completely delete the line that is the bold text below:


deb cdrom:[Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 CD Binary-1 20090628-14:43]/ lenny main

deb cdrom:[Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 CD Binary-1 20090628-14:43]/ lenny main deb http://ftp.us.debian.org/debian/ lenny main

deb-src http://ftp.us.debian.org/debian/ lenny main

deb http://security.debian.org/ lenny/updates main

deb-src http://security.debian.org/ lenny/updates main

deb http://volatile.debian.org/debian-volatile lenny/volatile main

deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
 

After removing that line, run the apt-get commands above again to install the extra packages.

If you have the proprietary NVIDIA driver installed using the "Debian package way", you may need to install one extra package to get GtkRadiant to compile. You can try compiling GtkRadiant without this extra package, but if it fails to compile you will need to return here and follow these instructions. (There will be a link taking you back here.) First, figure out which version of the NVIDIA drivers you have installed via Debian packages:


root# dpkg --get-selections | grep nvidia-glx
 

Then, install the corresponding -dev package. Execute only one of the commands below, depending on your version of nvidia-glx :

 


root# apt-get install nvidia-glx-dev

or

root# apt-get install nvidia-glx-legacy-96xx-dev

or

root# apt-get install nvidia-glx-legacy-173xx-dev
 

Step B: Compile GtkRadiant

All of the following steps should be executed as a normal user, not root.

Change directory to your home directory:

user@debian:~$ cd

Next, we will get the source code for GtkRadiant:

user@debian:~$ git clone https://github.com/TTimo/GtkRadiant ./GtkRadiant-src

Now the next step will download extra data needed to do mapping for specific games such as Urban Terror:

user@debian:~$ cd GtkRadiant-src/ user@debian:~/GtkRadiant-src$ scons target=setup

We are now ready to compile GtkRadiant! Execute the step below; this is the main build target to compile GtkRadiant:


user@debian:~/GtkRadiant-src$ scons target=radiant,q3map2 config=release
 

If you have the proprietary NVIDIA driver installed and you get the following error when executing the build target above:

/usr/bin/ld: cannot find -lGL collect2: ld returned 1 exit status

scons: *** [build/release/radiant/radiant.bin] Error 1

scons: building terminated because of errors.

then you should install one of the nvidia-glx-dev* packages as mentioned above in Step A, then try to execute the main build target to compile GtkRadiant again.

If you get other errors, you may try asking for help in the GtkRadiant IRC channel, which is #radiant on QuakeNet (irc.quakenet.org).

Assuming the main compile target was successful, we can now relocate the install directory. While still in the ~/GtkRadiant-src directory, execute the following:

user@debian:~/GtkRadiant-src$ mv install/ ~/GtkRadiant

GtkRadiant is now installed in the GtkRadiant folder in your home directory. Now let's clean up the build directory:

user@debian:~/GtkRadiant-src$ cd user@debian:~$ rm -rf GtkRadiant-src/

You can also clean up the install directory by removing SVN-related files (from the game packs) that are no longer needed. These files just take up extra space and serve no further purpose:

user@debian:~$ find GtkRadiant/ -type d -name '.svn' -print0 | xargs -0 rm -rf

Congratulations, you now have GtkRadiant installed! Let's wait until you complete the next section before launching GtkRadiant for the first time.

GtkRadiant depends on having write access to the install folder (in our case ~/GtkRadiant). Therefore, you should probably leave it in your home directory instead of trying to install it on a read-only system level.

 



Note: Resource: http://daffy.nerius.com/radiant/#urt-install
Posted on Sat Nov 23, 2013 6:41 pm by Teo

 
"Compiling and Installing GtkRadiant - Linux" | Login/Create an Account | 0 comments
The comments are owned by the poster. We aren't responsible for their content.
 


 
No Comments Allowed for Anonymous, please register
 

 

 

 
comments powered by Disqus
 

 
Sharing Tools




Advertising R1

Article Rating
Average Score: 5
Votes: 1


Please take a second and vote for this article:

Excellent
Very Good
Good
Regular
Bad


Related Links
· More about Soldier Of Fortune 2
· News by Teo


Most read story about Soldier Of Fortune 2:
Sof2 Tips and Binds


Advertising R2

Copyright ©