Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Missing Shaders
02-24-2009, 03:07 AM,
#1
Missing Shaders
Hey, some fresh meat here.
I managed to get the latest release (2009-02-15) to build and install, using scons-local and the inbuilt bullet engine.
Ubuntu 8.10, 64 bit. Built with arch=64 and release=1

Code:
simon@simon-laptop:/usr/share/games/vdrift/bin$ ./vdrift
INFO: Multi-processor system detected.  Run with -multithreaded argument to enable multithreading (EXPERIMENTAL).
INFO: Starting VDrift: 2009-02-24-full, Version: exported, O/S: Unix-like
INFO: Home directory: /home/simon
INFO: Settings file: /home/simon/.vdrift/VDrift.config (does not exist, will be created)
INFO: Data directory: /usr/share/games/vdrift/data
INFO: Log file: /home/simon/.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 8400M GS/PCI/SSE2
      Version: 2.1.2 NVIDIA 177.82
      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

I looked in the folder it was referring to, the less_simple folder didn't exist. Playing around, I copied and renamed the simple folder to less_simple. The result was an error coming up regarding another missing folder.
I went into the config file and turned shaders off hoping I could get it running without, no change was observed.

Thanks for any help.

Edit: I just noticed the date in the log is different to the date on my download - 2009-02-24 as opposed to be 2009-02-15. I don't know the significance of this.
Edit2: just realised that's either todays, or the day it was built. How embarassing.
Reply
02-25-2009, 12:26 PM,
#2
 
The scons install script hadsn't been updated in a long time and is kind of broken. It will forget to copy some files, so you have to manually copy over your data to the install location (/usr/share/games/vdrift/data).
Reply
02-27-2009, 04:00 PM,
#3
 
Ah, thanks, Joe. That tidbit in the wiki is painfully easy to find now that you mention it.
Reply
02-27-2009, 08:27 PM,
#4
 
No problem... we should really fix it...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)