09-28-2008, 03:45 PM,
|
|
Rudy85
Junior Member
|
Posts: 1
Threads: 1
Joined: Sep 2008
|
|
Install on Ubuntu 8.04
Hi ,
I 've tried to install Vdrift on ubuntu , this is how I make
Code: wget http://switch.dl.sourceforge.net/sourceforge/vdrift/vdrift-2008-08-05-src.tar.bz2
tar jxvf vdrift-2008-08-05-src.tar.bz2
sudo apt-get install libsdl-gfx1.2-4 libsdl-gfx1.2-4-dev libsdl-image1.2 libsdl-image1.2-dev libsdl-net1.2 libsdl-net1.2-dev libvorbisfile3 bjam jam ftjam
cd /vdrift-08-05-08/bullet-2.66
./configure
jam bulletcollision bulletmath
After this steps , it's say :
===Installing===
To install VDrift, copy the build/vdrift executable to the vdrift root folder, then just move the vdrift tree to where you'd like the final location to be. Using "scons install" is not recommended for this release; the scons install script for VDrift is out of date and we have no one to maintain it.
But it have no files in /vdrift-08-05-08/build
I don't know whath to do , now !
|
|
10-09-2008, 11:17 AM,
|
|
joevenzon Wrote:You still need to:
Code: cd /vdrift-08-05-08/
./configure
scons release=1
Eeehm - there is no ./configure in that directory.
@Rudy85:
If you've got no vdrift-binary in build/, sth must gone wrong.
I also installed
libvorbis-dev
libglew-dev
here on Debian etch (64bit) and got through it! Also, keep in mind to install the
build-essential
package - it installs the g++-compiler, which is needed to compile vdrift!
Mitsch
|
|
10-12-2008, 08:07 PM,
|
|
----@----:/home/----/vdrift-08-05-08# scons release=1
scons: Reading SConscript files ...
Checking for C++ header file GL/gl.h... yes
Checking for C++ header file GL/glu.h... yes
Checking for C++ header file SDL/SDL.h... yes
Checking for C++ header file SDL/SDL_image.h... yes
Checking for C++ header file SDL/SDL_net.h... yes
Checking for C++ header file SDL/SDL_rotozoom.h... no
You do not have the SDL/SDL_rotozoom.h headers installed. Exiting.
I also am running ubuntu 8.04 hardy.
I installed everything the other guy did.
I followed the same steps to
|
|
12-14-2008, 08:07 PM,
|
|
ELPIRATA
Junior Member
|
Posts: 10
Threads: 2
Joined: Dec 2008
|
|
I used this instructions to install in Ubuntu 8.10, btw, for a newcomer like me... compiling is like a bad word . I'm getting used to working with the terminal but is still new to me.
Anyways, aside of what he installed in the first post I also added the other requested files except perhaps the buildessentials since I understood it was a debian only thing (most probably I'm wrong too).
I did the scon release=1:
Code: elpirata@Intrepid:~/vdrift-08-05-08$ scons release=1
scons: Reading SConscript files ...
Checking for C++ header file GL/gl.h... yes
Checking for C++ header file GL/glu.h... yes
Checking for C++ header file SDL/SDL.h... yes
Checking for C++ header file SDL/SDL_image.h... yes
Checking for C++ header file SDL/SDL_net.h... yes
Checking for C++ header file SDL/SDL_rotozoom.h... yes
Checking for C++ header file vorbis/vorbisfile.h... yes
Checking for C++ header file GL/glew.h... yes
Checking for C header file libintl.h... yes
sh: svnversion: not found
scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead.
File "/home/elpirata/vdrift-08-05-08/po/SConscript", line 167, in <module>
scons: done reading SConscript files.
scons: Building targets .
... and got a lot of messages and many of them were like this line:
Code: o build/game.o -c -Wall -O2 -pipe -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -Ibullet-2.66/src -I/usr/include/SDL src/game.cpp
sh: o: not found
So now I guess the question is... how do I execute the game?
|
|
12-14-2008, 08:17 PM,
|
|
ELPIRATA
Junior Member
|
Posts: 10
Threads: 2
Joined: Dec 2008
|
|
Hummm, I thought I should mention that I havent downloaded a 'data' package as it says on the wiki because I can't seem to find them. Would this affect the end result of all of this?
Also, lol, where does the compiled executable at?
Upon checking the car folder I notice there is stuff inside, but the wiki says that the src comes with nothing whatsoever.
|
|
12-14-2008, 08:27 PM,
|
|
ELPIRATA
Junior Member
|
Posts: 10
Threads: 2
Joined: Dec 2008
|
|
The wiki also says that the game should work without installing (after the compile is done) but that I can try doing the install using 'scons install' and this is the result:
Code: elpirata@Intrepid:~/vdrift-08-05-08$ scons install
scons: Reading SConscript files ...
Checking for C++ header file GL/gl.h... (cached) yes
Checking for C++ header file GL/glu.h... (cached) yes
Checking for C++ header file SDL/SDL.h... (cached) yes
Checking for C++ header file SDL/SDL_image.h... (cached) yes
Checking for C++ header file SDL/SDL_net.h... (cached) yes
Checking for C++ header file SDL/SDL_rotozoom.h... (cached) yes
Checking for C++ header file vorbis/vorbisfile.h... (cached) yes
Checking for C++ header file GL/glew.h... (cached) yes
Checking for C header file libintl.h... (cached) yes
sh: svnversion: not found
scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead.
File "/home/elpirata/vdrift-08-05-08/po/SConscript", line 167, in <module>
scons: done reading SConscript files.
scons: Building targets ...
scons: *** [/usr/share/games/vdrift] /usr/share/games/vdrift: Permission denied
scons: building terminated because of errors.
ELP
|
|
12-14-2008, 09:10 PM,
|
|
ELPIRATA
Junior Member
|
Posts: 10
Threads: 2
Joined: Dec 2008
|
|
I tried to start over, deleted the whole folder and decompressed again the src data using the same command as on first post. I also checked which gcc I had (v 4.4.3) just in case if was needed to know. I also installed the build-essential package.
Following the wiki I did the ./configure and after that the jam bulletcollision bulletmath. It said that had found 437 targets and updated 73+68+5. Got no error message.
Then I got out of the bullet folder and went to: vdrift-08-05-08 and did the scon release=1 with this result:
Code: elpirata@Intrepid:~/vdrift-08-05-08$ scons release=1
scons: Reading SConscript files ...
Checking for C++ header file GL/gl.h... yes
Checking for C++ header file GL/glu.h... yes
Checking for C++ header file SDL/SDL.h... yes
Checking for C++ header file SDL/SDL_image.h... yes
Checking for C++ header file SDL/SDL_net.h... yes
Checking for C++ header file SDL/SDL_rotozoom.h... no
You do not have the SDL/SDL_rotozoom.h headers installed. Exiting.
This didnt happened before. Any ideas? I'm still unsure about what is supposed to happen after this is completed.
Anyways, any help will be apreciated.
|
|
12-14-2008, 10:34 PM,
|
|
ELPIRATA
Junior Member
|
Posts: 10
Threads: 2
Joined: Dec 2008
|
|
Hummm I forgot to mention about that. I have all those except:
libsdl-gfx1.2-4-dev
Closest I have on Synaptic is 1.2-dev, is there something Im missing to get it?
|
|
12-15-2008, 01:09 AM,
|
|
ELPIRATA
Junior Member
|
Posts: 10
Threads: 2
Joined: Dec 2008
|
|
Well, finally build is complete. 1.2 did the trick.
|
|
|