Run from build directory in Linux.

Run from build directory in Linux.

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
Aztek
Posts: 36
Joined: 10 Jun 2008, 04:53

Run from build directory in Linux.

Post by Aztek »

I just got done compiling .76b1 on Ubuntu 8.04, and I'm wondering if there's a way to run the build without breaking my current install, i.e. can I run it portably somehow?
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Re: Run from build directory in Linux.

Post by clericvash »

Can you not cd to that directory and do ./spring ?
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: Run from build directory in Linux.

Post by LordMatt »

I run both a .76b1 version and a SVN version simultaneously, using a wrapper script that adjust symlinks when I launch either a lobby for regular spring or a lobby for SVN testing.
Aztek
Posts: 36
Joined: 10 Jun 2008, 04:53

Re: Run from build directory in Linux.

Post by Aztek »

clericvash wrote:Can you not cd to that directory and do ./spring ?
It crashes right away without ever getting into spring. I'll provide the error when I get home.
LordMatt wrote:I run both a .76b1 version and a SVN version simultaneously, using a wrapper script that adjust symlinks when I launch either a lobby for regular spring or a lobby for SVN testing.
Share? :-)
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Re: Run from build directory in Linux.

Post by trepan »

The --config command line option has been added to SVN spring.
That should make switching between versions a little bit easier.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Run from build directory in Linux.

Post by Tobi »

Code: Select all

cd /build/directory/game/
SPRING_DATADIR=$PWD ./spring
Post Reply

Return to “Engine”