Forums

Full Version: no autogen
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Code:
bash@bash-desktop:~/Desktop/Download/vdrift-2009-02-15$ ./autogen.sh
bash: ./autogen.sh: No such file or directory
bash@bash-desktop:~/Desktop/Download/vdrift-2009-02-15$ ./autogen
bash: ./autogen: No such file or directory

i am running 64bit ubuntu 9.04
ok i checked out the wiki and said use scons so now i am getting this prob.

Code:
bash@bash-desktop:~/Desktop/Download/vdrift-2009-02-15$ scons arch=a64
scons: Reading SConscript files ...

scons: warning: The Options class is deprecated; use the Variables class instead.
File "/home/bash/Desktop/Download/vdrift-2009-02-15/SConstruct", line 9, in <module>

scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead.
File "/home/bash/Desktop/Download/vdrift-2009-02-15/SConstruct", line 13, in <module>
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... no
You do not have the SDL/SDL_net.h headers installed. Exiting.
i installed the prerequisites...
have you installed also the corresponding "dev" package?
In Fedora it is like this (but the package name should be something different in others distros):

Quote:SDL_net.i386 : SDL portable network library
SDL_net-devel
.i386 : Development files for SDL_net
i installed the ones in wiki
Code:
g++ scons libsdl-gfx1.2-dev libsdl-image1.2-dev libvorbis-dev libglew-dev libasio-dev

fixed it by installing libsdl-net1.2-dev
i got it compiled and installed

Code:
Install file: "build/vdrift" as "/usr/share/games/vdrift/bin/vdrift"
scons: done building targets.

how do i run it?

edit, i figured it out.... its
/usr/share/games/vdrift/bin/vdrift



Code:
bash@bash-desktop:~/Desktop/Download/vdrift-2009-02-15$ /usr/share/games/vdrift/bin/vdrift
INFO: Multi-processor system detected.  Run with -multithreaded argument to enable multithreading (EXPERIMENTAL).
INFO: Starting VDrift: development-full, Version: exported, O/S: Unix-like
INFO: Home directory: /home/bash
INFO: Settings file: /home/bash/.vdrift/VDrift.config (does not exist, will be created)
INFO: Data directory: data
INFO: Log file: /home/bash/.vdrift/log.txt
INFO: SDL initialization successful
INFO: SDL video query was successful
INFO: Disabling antialiasing
INFO: Display change was successful: 800x600x16 24z fullscreen=0
INFO: Video card information:
      Vendor: NVIDIA Corporation
      Renderer: GeForce 8600 GT/PCI/SSE2
      Version: 3.0.0 NVIDIA 180.44
      Maximum texture size: 8192
      Using GLEW 1.5.0
INFO: Loaded shader package simple
INFO: Loaded shader package less_simple
INFO: Loaded shader package full
INFO: Loaded shader package full
INFO: Loaded shader package depthgen
INFO: Loaded shader package depthgen2
INFO: Loaded shader package depthonly
INFO: Loaded shader package distancefield
INFO: Loaded shader package bloompass
INFO: Loaded shader package bloomcomposite
INFO: Loaded shader package gaussian_blur
INFO: Loaded shader package gaussian_blur
INFO: Successfully enabled shaders
INFO: Maximum anisotropy: 16
INFO: 0 joysticks found.
INFO: Loading car controls from: /home/bash/.vdrift/controls.config
INFO: Car control file /home/bash/.vdrift/controls.config doesn't exist; using defaults
INFO: Sound initialization information:
INFO: Obtained audio device:
      Frequency: 44100
      Format: 32784
      Bits per sample: 16
      Channels: 2
      Silence: 0
      Samples: 512
      Size: 2048
      Sound initialization successful
INFO: Loaded fonts successfully
ERROR: data/skins/simple/menus/AutoX: unknown widget-04 type: designer, ignoring
ERROR: data/skins/simple/menus/Designer: unknown widget-01 type: designer, ignoring
ERROR: data/skins/simple/menus/InGameJoystickCalibrate: unknown widget-03 type: calibrate, ignoring
ERROR: data/skins/simple/menus/InGameJoystickCalibrate: unknown hook reference to InGameJoystickCalibration
ERROR: data/skins/simple/menus/JoystickCalibrate: unknown widget-03 type: calibrate, ignoring
ERROR: data/skins/simple/menus/JoystickCalibrate: unknown hook reference to JoystickCalibration
ERROR: data/skins/simple/menus/NetworkGame: unknown widget-06 type: textbox, ignoring
ERROR: data/skins/simple/menus/NetworkGame: unknown widget-07 type: textbox, ignoring
INFO: Loaded GUI successfully
ERROR: Error setting GUI option "control.button_ramp" to GAME value "2.000000"
ERROR: Error setting GUI option "game.number_of_laps" to GAME value "0"
ERROR: Error setting GUI option "control.button_ramp" to GAME value "2.000000"
ERROR: Error setting GUI option "game.number_of_laps" to GAME value "0"
Code:
bash@bash-desktop:~$ /usr/share/games/vdrift/bin/vdrift  -multithreaded
INFO: Multithreading enabled: 4 processors
INFO: Note that multithreading is currently NOT RECOMMENDED for use and is likely to decrease performance significantly.
INFO: Starting VDrift: development-full, Version: exported, O/S: Unix-like
INFO: Home directory: /home/bash
INFO: Settings file: /home/bash/.vdrift/VDrift.config
INFO: Data directory: /usr/share/games/vdrift/data
INFO: Log file: /home/bash/.vdrift/log.txt
INFO: SDL initialization successful
INFO: SDL video query was successful
INFO: Disabling antialiasing
INFO: Display change was successful: 800x600x16 24z fullscreen=0
INFO: Video card information:
      Vendor: NVIDIA Corporation
      Renderer: GeForce 8600 GT/PCI/SSE2
      Version: 3.0.0 NVIDIA 180.44
      Maximum texture size: 8192
      Using GLEW 1.5.0
INFO: Loaded shader package simple
ERROR: Shader file not found: /usr/share/games/vdrift/data/shaders/less_simple/vertex.glsl
vdrift: src/shader.cpp:131: void SHADER_GLSL::LoadFileIntoString(const std::string&, std::string&, std::ostream&) const: Assertion `f' failed.
SIGABRT detected, releasing the mouse
Aborted
bash@bash-desktop:~$

wont start :/
n00b Wrote:i installed the ones in wiki
Code:
g++ scons libsdl-gfx1.2-dev libsdl-image1.2-dev libvorbis-dev libglew-dev libasio-dev

fixed it by installing libsdl-net1.2-dev

Wiki updated: http://wiki.vdrift.net/Compiling#Prerequisites

For the latest errors you posted is better if we wait for someone who have more knowledge than me but it seems like there is some missing/not found data/shader
the weird thing about this is that it worked once but after that first time i ran it. I have been getting this error. :/
There is a problem with the install script, so you have to manually copy your files over. Something like this:

Code:
cd ~/Desktop/Download/vdrift-2009-02-15
cp -r data/* /usr/share/games/vdrift/data

Also, in the future SDL_net will no longer be required (replaced with boost).
Quote:the weird thing about this is that it worked once but after that first time i ran it. I have been getting this error. :/

Since n00b is saying it did work then first time I think that n00b already has the missing data files copied over, as such the error is likely caused by the path problem that I have been getting as well.

Basically if this is the case you should be able to run it by first doing
cd /usr/share/games/vdrift/bin
then do ./vdrift
My guess is that when it worked the first time he was running it from the directory where he had compiled it, so it found ./data, which wasn't missing any files.