09-09-2007, 08:32 PM,
|
|
javilon
Junior Member
 
|
Posts: 10
Threads: 2
Joined: Jan 2007
|
|
Problem building
I am on Gentoo amd64. I have installed the dependencies and scons. Then I have checked out the development code from svn.
When I try to build it, I get a scons error.
Code: jsantos@desktop ~/Apps $ cd vdrift/
jsantos@desktop ~/Apps/vdrift $ scons
scons: Reading SConscript files ...
NameError: name 'Entry' is not defined:
File "SConstruct", line 262:
target_factory = Entry,
I am not sure if I am doing something wrong, but it looks like a problem with the script if you go by the scons error report.
|
|
09-11-2007, 05:41 AM,
|
|
javilon
Junior Member
 
|
Posts: 10
Threads: 2
Joined: Jan 2007
|
|
Code: desktop vdrift # emerge -s scons
Searching...
[ Results for search key : scons ]
[ Applications found : 1 ]
* dev-util/scons
Latest version available: 0.96.1
Latest version installed: 0.96.1
Size of files: 276 kB
Homepage: http://www.scons.org
Description: Extensible python-based build utility
License: as-is
|
|
09-16-2007, 04:47 AM,
|
|
javilon
Junior Member
 
|
Posts: 10
Threads: 2
Joined: Jan 2007
|
|
version 0.97 of scons fixes the problem
I upgraded to 0.97 (it is masked right now) and this fixed the problem.
While building I have found a number of dependencies that are not listed on the "build" instruccions:
sdl-net
ode
libvorbis
|
|
09-16-2007, 05:44 AM,
|
|
javilon
Junior Member
 
|
Posts: 10
Threads: 2
Joined: Jan 2007
|
|
data dir
Ok, I got it to build.
Then when I run it, it complained about the data directory missing. I downloaded vdrift-2007-03-23-data-full.tar.bz2 and copied the data directory inside the vdrift directory.
It now complains about a skin:
Code: jsantos@desktop ~/Apps/vdrift $ build/vdrift -verbose
BinReloc successfully initialized.
Executable path: /home/jsantos/Apps/vdrift/build/vdrift
Data dir: /home/jsantos/Apps/vdrift/data
Localedir: /home/jsantos/Apps/vdrift/share/locale
No data_dir found in VDrift.config, using /home/jsantos/Apps/vdrift/data
Found config file /home/jsantos/.vdrift/controls.
Found config file /home/jsantos/.vdrift/VDrift.config.
No data_dir found in VDrift.config, using /home/jsantos/Apps/vdrift/data
Version of game: development-full
Skin name not found in config file...
/home/jsantos/Apps/vdrift/share/locale
Directory /home/jsantos/Apps/vdrift/data/skins/SConscript/menus does not exist! Skin SConscript not loaded.
Warning: option-47 is missing its default value. Assuming "".
Run with -verbose for troubleshooting.
Run with -nosound to disable sound.
Run with -benchmark to play a replay and output benchmark data.
0 joystick(s) found:
EXCEPTION: Error initilizing VDrift: Surface creation failed.
I guess there is a development version of the data that fixes this problem... how can I get it?
|
|
09-16-2007, 06:03 AM,
|
|
FFuser
Member
  
|
Posts: 147
Threads: 10
Joined: Jul 2005
|
|
Our wiki on wiki.vdrift.net Wrote:Checking out the data
The data set is currently only available from the SourceForge SVN. Get it with "svn co https://vdrift.svn.sourceforge.net/svnroot/vdrift vdrift-data" and link vdrift-data to the vdrift/data from svn.vdrift.net
[edit]
What I do is (in the dir where you have the source)
"svn co https://vdrift.svn.sourceforge.net/svnroot/vdrift data"
No linkng required.
But be carefull: it downloads hundreds of MB
|
|
09-16-2007, 06:25 PM,
|
|
javilon
Junior Member
 
|
Posts: 10
Threads: 2
Joined: Jan 2007
|
|
I have got the latest data from svn and linked it inside the vdrift directory as indicated, but still vdrift doesn't start.
Code: jsantos@desktop ~/Apps/vdrift $ build/vdrift
BinReloc successfully initialized.
Executable path: /home/jsantos/Apps/vdrift/build/vdrift
Data dir: /home/jsantos/Apps/vdrift/data
Localedir: /home/jsantos/Apps/vdrift/share/locale
No data_dir found in VDrift.config, using /home/jsantos/Apps/vdrift/data
Found config file /home/jsantos/.vdrift/controls.
Found config file /home/jsantos/.vdrift/VDrift.config.
No data_dir found in VDrift.config, using /home/jsantos/Apps/vdrift/data
Version of game: development-full
Skin name not found in config file...
/home/jsantos/Apps/vdrift/share/locale
Directory /home/jsantos/Apps/vdrift/data/skins/.svn/menus does not exist! Skin .svn not loaded.
Directory /home/jsantos/Apps/vdrift/data/skins/SConscript/menus does not exist! Skin SConscript not loaded.
Warning: option-47 is missing its default value. Assuming "".
Run with -verbose for troubleshooting.
Run with -nosound to disable sound.
Run with -benchmark to play a replay and output benchmark data.
0 joystick(s) found:
EXCEPTION: Error initilizing VDrift: Surface creation failed.
It claims that "Skin name not found in config file..." but looking at my .vdrift/VDrift.config file it sets the skin to "simple":
Code: [ display ]
FOV = 45.000000
anisotropic = 0
antialiasing = 0
car_shadows = on
depth = 16
fullscreen = off
height = 600
input_graph = off
lighting = 0
mph = on
reflections = 0
show_fps = off
show_hud = on
skin = simple
texture_size = medium
trackmap = off
view_distance = 2500.000000
width = 800
|
|
09-19-2007, 07:44 PM,
|
|
javilon
Junior Member
 
|
Posts: 10
Threads: 2
Joined: Jan 2007
|
|
Code: * media-libs/libsdl
Latest version available: 1.2.11-r2
Latest version installed: 1.2.11-r2
Size of files: 2,730 kB
Homepage: http://www.libsdl.org/
Description: Simple Direct Media Layer
License: LGPL-2.1
Code: * media-libs/sdl-image
Latest version available: 1.2.5-r1
Latest version installed: 1.2.5-r1
Size of files: 1,289 kB
Homepage: http://www.libsdl.org/projects/SDL_image/index.html
Description: image file loading library
License: LGPL-2.1
About 3d apps, I have got glgears working, enemy-territory, second life, etc... I have a nvidia card with the propietary drivers.
|
|
09-20-2007, 03:15 AM,
|
|
xTs
Member
  
|
Posts: 150
Threads: 8
Joined: Oct 2006
|
|
Could you try running vdrift with strace or gdb? A debug output might help us finding the problem.
|
|
|