The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5308 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5308 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1474 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1474 errorHandler->error
/inc/functions.php 1429 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forums
Missing Shaders - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Help (https://www.vdrift.net/Forum/forumdisplay.php?fid=5)
+--- Thread: Missing Shaders (/showthread.php?tid=1076)



Missing Shaders - Simey - 02-24-2009

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.


- joevenzon - 02-25-2009

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).


- Simey - 02-27-2009

Ah, thanks, Joe. That tidbit in the wiki is painfully easy to find now that you mention it.


- joevenzon - 02-27-2009

No problem... we should really fix it...