News:

Come Chat with us live! Learn how HERE!

Main Menu

Compilation under linux?

Started by blackelf, April 06, 2007, 06:38:22 PM

blackelf

Hello,

I see that GtkRadiant is for Linux... but what about the build tools? Where to get them? Can I run them on Linux, at least in wine (or DosBox)?

LinuxManMikeC

GtkRadiant includes the q3map2 compiler.  Just check out the build menu in Radiant.
b]Embrace your inner penguin 8)
GtkRadiant Wiki (under construction)[/b]

blackelf

setup/data/tools/plugins/bitmaps/bobtoolz_merge.bmp ->
install/plugins/bitmaps/bobtoolz_merge.bmp
setup/data/tools/plugins/bitmaps/bobtoolz_poly.bmp ->
install/plugins/bitmaps/bobtoolz_poly.bmp
setup/data/tools/plugins/bitmaps/bobtoolz_treeplanter.bmp ->
install/plugins/bitmaps/bobtoolz_treeplanter.bmp
setup/data/tools/plugins/bitmaps/bobtoolz_turnedge.bmp ->
install/plugins/bitmaps/bobtoolz_turnedge.bmp
setup/data/tools/plugins/bitmaps/bobtoolz_dropent.bmp ->
install/plugins/bitmaps/bobtoolz_dropent.bmp
Traceback (most recent call last):
 File "install.py", line 115, in ?
   copySvn("../msvc_redist", installRoot)
 File "install.py", line 45, in copySvn
   assertMessage(os.path.isdir(source), "failed to find directory: " +
source)
 File "install.py", line 33, in assertMessage
   raise Exception(message)
Exception: failed to find directory: ../msvc_redist

I got the SVN sources, it builded ok, but how to run/install?

When I did python install.py I got the error above
That was AFTER I created a ./games/ directory,
before that I was getting error about missing games directory


I want to install it only local, not system wide.

How to?

--- EDITED ---
Ok I simply removed the line from install.py
the line copySvn("../msvc_redist", installRoot)
and now it does install into directory ./install

But when I run:
cd install
./radiant.x86
it fails with:
radiant/error.cpp:132
Didnt find any valid game file descriptions, aborting

LinuxManMikeC

The error you are getting is from some stooge putting Win32 specific code into install.py without checking if the script is running on a Win32 platform.  I just commented it out, will probably come up with a fix later.  You can use my modified install.py.  Just overwrite the current install.py with mine.

Also, make sure you have downloaded the gamepacks you want and put them in ./games .  You can get them from SVN. https://zerowing.idsoftware.com/svn/radiant.gamepacks/
svn co https://zerowing.idsoftware.com/svn/radiant.gamepacks/TremulousPack/trunk/ ./games/TremulousPack/

install.py actually has nothing to do with "installing" Radiant on your computer, more like staging everything into 1 directory.
Quote from: install.pyBuilds the ./install directory.

Copies files from various locations:
./setup/data/tools/
./games/<gamepack>/
./include/version.default is used to generate RADIANT_MAJOR and RADIANT_MINOR

Compiling will put the executables in ./install and then running install.py will put in a bunch of supporting files, like gamepacks and icons.  You then run radiant from ./install/radiant.x86 or you can copy the contents of that directory elsewhere, such as /opt/GtkRadiant.
b]Embrace your inner penguin 8)
GtkRadiant Wiki (under construction)[/b]

LinuxManMikeC

Quote from: blackelf--- EDITED ---
Ok I simply removed the line from install.py
the line copySvn("../msvc_redist", installRoot)
and now it does install into directory ./install
There is more than just one Win32 specific line in install.py, use mine from the previous post.
b]Embrace your inner penguin 8)
GtkRadiant Wiki (under construction)[/b]

TheHunted

Thanks a ton! Everything works perfectly now. This wouldve have taken me forever to figure out.

Nuts to the MS goons!