Forums

Full Version: Vdrift crashes on start
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm using Mandriva 2009.0 RC1. When I install vdrift from repository and run it I have this error^
Code:
No data_dir found in VDrift.config, using /usr/share/games/vdrift/data
Found config file /home/gromescu/.vdrift/controls.config.
Found config file /home/gromescu/.vdrift/VDrift.config.
No data_dir found in VDrift.config, using /usr/share/games/vdrift/data
Version of game: development-full
Skin name not found in config file...
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:
Card supports: drawbuf4 auxbuf4 antialiasing anisotropy16 cubemapping shaders multitexturing16(4) texture_rectangle depth_texture shadow framebuffer_objects
Card does not support:
Status: Using GLEW 1.5.0
Fragment shaders enabled
Loaded shader package simple
94
----- Start Shader Log for full -----
Fragment info
-------------
0(159) : warning C1059: non constant expression in initialization

----- End Shader Log for full -----
Loaded shader package full
Loaded shader package full-noshadow
Loaded shader package blurpass
Loaded shader package depthgen
Framebuffer object complete
Framebuffer object complete
vdrift: symbol lookup error: vdrift: undefined symbol: _ZN31btDefaultCollisionConfigurationC1EP12btStackAllocP15btPoolAllocatorS3_
I've also tried to build it from source, but no success:

Code:
physics.cpp:(.text+0x1f7): undefined reference to `btDefaultCollisionConfiguration::btDefaultCollisionConfiguration(btStackAlloc*, btPoolAllocator*, btPoolAllocator*)'
build/physics.o: In function `PHYSICS::CollideRay(VERTEX const&, VERTEX const&, float, std::list<PHYSICSCONTACT, std::allocator<PHYSICSCONTACT> >&, PHYSICSCOLLISIONSETTINGS const&)':
physics.cpp:(.text+0x3329): undefined reference to `btCollisionWorld::rayTestSingle(btTransform const&, btTransform const&, btCollisionObject*, btCollisionShape const*, btTransform const&, btCollisionWorld::RayResultCallback&, short)'
collect2: ld returned 1 exit status
scons: *** [build/vdrift] Error 1
scons: building terminated because of errors.
jon@Jon-Laptop:~/Data/Downloads/Source/vdrift-2008-08-05-src/vdrift-08-05-08$
Of cause I compiled Bullet before and have 2 files in out/linuxx86/optimize/libs

Any suggestions?
It looks like there's some kind of mismatch with your bullet libraries and vdrift, both with the vdrift from repository and when you try to build from source. VDrift source comes with a version of bullet that you should use... it may be that you also have a different version installed that isn't compatible. Could you try removing all bullet installations from your system, then compiling the bullet that comes with the vdrift source, then compiling vdrift from source?
I deleted bullet from repo and now vdrift builds and installs. But when I run it it crashes with

Code:
EXCEPTION: src/textures.cpp, line 489:  Error loading texture file: skins/simple/textures/widgets/tab_page_background.png (/usr/share/games/vdrift/data/skins/simple/textures/widgets/tab_page_background.png)
Еру source code is from here
I'm not entirely sure that the "scons install" process is up to date; it might miss some of the data files. Does the file (/usr/share/games/vdrift/data/skins/simple/textures/widgets/tab_page_background.png) exist? If not, try moving the entire data folder from the tar.bz2 over to your /usr/share/games/vdrift folder and see if that fixes it.
I have a similar problem on Vista. the cmd says that

Code:
c:\Programs\VDrift\VDrift.exe
Found config file C:\Users\Kaoru/.vdrift/controls.config.
Found config file C:\Users\Kaoru/.vdrift/VDrift.config.
version of game: 2008-08-05-full
skin file not found in config file...

Solved ^ ^" it was a shaders = on in the VDrift.config. Not it run with low quality , but i think i will fix it