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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 103 forum_permissions
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 1439 fetch_forum_permissions
/inc/functions.php 3077 forum_permissions
/showthread.php 661 build_forum_jump
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 1439 fetch_forum_permissions
/inc/functions.php 3077 forum_permissions
/showthread.php 661 build_forum_jump
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 1439 fetch_forum_permissions
/inc/functions.php 3077 forum_permissions
/showthread.php 661 build_forum_jump
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 1439 fetch_forum_permissions
/inc/functions.php 3077 forum_permissions
/showthread.php 661 build_forum_jump
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 1439 fetch_forum_permissions
/inc/functions.php 3077 forum_permissions
/showthread.php 661 build_forum_jump
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 1439 fetch_forum_permissions
/inc/functions.php 3077 forum_permissions
/showthread.php 661 build_forum_jump
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 1439 fetch_forum_permissions
/inc/functions.php 3077 forum_permissions
/showthread.php 661 build_forum_jump
Warning [2] Undefined array key "mybb" - Line: 2121 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 2121 errorHandler->error
/inc/functions_indicators.php 41 my_set_array_cookie
/showthread.php 669 mark_thread_read
Warning [2] Undefined variable $postsdone - Line: 906 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 906 errorHandler->error
Warning [2] Undefined array key 7198 - Line: 912 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 7209 - Line: 912 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 7213 - Line: 912 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 7224 - Line: 912 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 7234 - Line: 912 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 7236 - Line: 912 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 7237 - Line: 912 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 7238 - Line: 912 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 7369 - Line: 912 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 7370 - Line: 912 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 7371 - Line: 912 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 7378 - Line: 912 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 7400 - Line: 912 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 7405 - Line: 912 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 7410 - Line: 912 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 7413 - Line: 912 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 7419 - Line: 912 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 7420 - Line: 912 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 7426 - Line: 912 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 7435 - Line: 912 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 7439 - Line: 912 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 7657 - Line: 912 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 7663 - Line: 912 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 7198 - Line: 1643 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 7209 - Line: 1643 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 7213 - Line: 1643 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 7224 - Line: 1643 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 7234 - Line: 1643 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 7236 - Line: 1643 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 7237 - Line: 1643 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 7238 - Line: 1643 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 7369 - Line: 1643 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 7370 - Line: 1643 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 7371 - Line: 1643 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 7378 - Line: 1643 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 7400 - Line: 1643 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 7405 - Line: 1643 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 7410 - Line: 1643 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 7413 - Line: 1643 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 7419 - Line: 1643 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 7420 - Line: 1643 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 7426 - Line: 1643 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 7435 - Line: 1643 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 7439 - Line: 1643 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 7657 - Line: 1643 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 7663 - Line: 1643 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(484) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php(484) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 484 eval
/showthread.php 925 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 672 - File: inc/functions_post.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php 672 errorHandler->error
/showthread.php 925 build_postbit
Warning [2] Undefined array key "showimages" - Line: 768 - File: inc/functions_post.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php 768 errorHandler->error
/showthread.php 925 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 773 - File: inc/functions_post.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php 773 errorHandler->error
/showthread.php 925 build_postbit
Warning [2] Undefined array key "posttime" - Line: 9 - File: inc/functions_post.php(906) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php(906) : eval()'d code 9 errorHandler->error
/inc/functions_post.php 906 eval
/showthread.php 925 build_postbit
Warning [2] Undefined array key "avatar_padding" - Line: 19 - File: inc/functions_post.php(906) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php(906) : eval()'d code 19 errorHandler->error
/inc/functions_post.php 906 eval
/showthread.php 925 build_postbit
Warning [2] Undefined array key "invisible" - Line: 1568 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1568 errorHandler->error
Warning [2] Undefined variable $threadnotesbox - Line: 33 - File: showthread.php(1600) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(1600) : eval()'d code 33 errorHandler->error
/showthread.php 1600 eval
Warning [2] Undefined variable $multipage - Line: 36 - File: showthread.php(1600) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(1600) : eval()'d code 36 errorHandler->error
/showthread.php 1600 eval
Warning [2] Undefined variable $multipage - Line: 68 - File: showthread.php(1600) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(1600) : eval()'d code 68 errorHandler->error
/showthread.php 1600 eval
Warning [2] Undefined variable $addremovesubscription - Line: 82 - File: showthread.php(1600) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(1600) : eval()'d code 82 errorHandler->error
/showthread.php 1600 eval
Warning [2] Undefined variable $thread_deleted - Line: 104 - File: showthread.php(1600) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(1600) : eval()'d code 104 errorHandler->error
/showthread.php 1600 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scons compiling ;(
01-19-2008, 08:24 PM,
#11
 
I changed 4 things (these are just hacks, no real solution. I do not know what I'm doing Wink) in order to make the game work here:
  • Changed from gl+glu to glew in pch.h and SConscript
  • Disable GAME::LoadingScreen (there is this "GL_TEXTURE0_ARB" stuff in there that causes a crash here) - is there a better solution?
  • Aborted an endless loop in SETTINGS::GetValidVideoModes with a break - a quick hack as well.
  • Disable a gl comamnd in SHADER_MANAGER::EndScene
Code:
Index: include/pch.h
===================================================================
--- include/pch.h    (Revision 1914)
+++ include/pch.h    (Arbeitskopie)
@@ -14,8 +14,7 @@
#ifdef WIN32
    #include <GL>
#endif
-    #include <GL>
-    #include <GL>
+    #include <GL>
    #include <GL>
    #include <SDL>
    #include <SDL>
Index: src/settings.cpp
===================================================================
--- src/settings.cpp    (Revision 1914)
+++ src/settings.cpp    (Arbeitskopie)
@@ -908,6 +908,7 @@
                modes.push_back( r );
            }
        }
+        break;    /** @todo hackhack */
    }

    // sort vector by (w*h)
Index: src/shader.cpp
===================================================================
--- src/shader.cpp    (Revision 1914)
+++ src/shader.cpp    (Arbeitskopie)
@@ -117,7 +117,7 @@
        throw EXCEPTION(__FILE__,__LINE__,"Beginning a scene without any active shader!");
    }*/
    
-    glUseProgramObjectARB(0);
+    /** glUseProgramObjectARB(0); @todo hackhack */
}

void SHADER::EndScene()
Index: src/game.cpp
===================================================================
--- src/game.cpp    (Revision 1914)
+++ src/game.cpp    (Arbeitskopie)
@@ -669,6 +669,8 @@

void GAME::LoadingScreen(string loadtext)
{
+#if 0
+/** @todo hackhack */
    glPushAttrib(GL_ALL_ATTRIB_BITS);
    
    string loadtexbase(settings.GetSkinPath()+"/textures/");
@@ -746,6 +748,7 @@
    GLfloat seconds = (t - T0) / 1000.0;
    fps = 1 / seconds;
    T0 = t;*/
+#endif
}

/*void GAME::ApplyScaleBias(float scale, float bias)
Index: src/SConscript
===================================================================
--- src/SConscript    (Revision 1914)
+++ src/SConscript    (Arbeitskopie)
@@ -117,7 +117,7 @@
else:
    local_env.ParseConfig('sdl-config --cflags --libs')
    local_env.Append(LIBPATH = ['/usr/X11R6/lib', '#bullet-2.64/out/linuxx86/optimize/libs', '#bullet-2.64/out/linux/optimize/libs'])
-    libs_link = ['GL', 'GLU', common_libs]
+    libs_link = ['GLEW', common_libs]

local_env.Append(LIBS = libs_link)


With this I can play the game and it runs quite smooth. Of course there are some things missing, but it's playable.
I still get the "OpenGL error during graphics init" error on startup of course. Big Grin

It seems to be quite easy to get VDrift to work on older hardware. Wink
I think the problems i had to work around may be solved in a similar way as on win32?

edit Dammit, this message board seems to swallow some of the code (mind the missing "gl.h" and "glu.h" in the headers). fortunately the diff is kinda short&easy Wink

Werner
Reply


Messages In This Thread
Scons compiling ;( - by Camarox - 12-29-2007, 06:37 AM
[No subject] - by joevenzon_phpbb2_import3 - 12-29-2007, 02:47 PM
[No subject] - by Camarox - 12-29-2007, 03:15 PM
[No subject] - by thelusiv - 12-29-2007, 10:57 PM
[No subject] - by Camarox - 12-30-2007, 08:16 AM
[No subject] - by dskid807 - 12-30-2007, 10:47 AM
[No subject] - by Camarox - 12-30-2007, 10:59 AM
[No subject] - by joevenzon_phpbb2_import3 - 12-30-2007, 02:19 PM
[No subject] - by hoehrer - 01-19-2008, 05:00 PM
[No subject] - by hoehrer - 01-19-2008, 07:02 PM
[No subject] - by hoehrer - 01-19-2008, 08:24 PM
[No subject] - by thelusiv - 01-21-2008, 12:15 AM
[No subject] - by joevenzon_phpbb2_import3 - 01-21-2008, 09:23 PM
[No subject] - by thelusiv - 01-21-2008, 09:58 PM
[No subject] - by hoehrer - 01-22-2008, 03:27 PM
[No subject] - by thelusiv - 01-22-2008, 04:46 PM
[No subject] - by hoehrer - 01-22-2008, 07:34 PM
[No subject] - by thelusiv - 01-22-2008, 10:23 PM
[No subject] - by hoehrer - 01-23-2008, 01:47 PM
[No subject] - by joevenzon_phpbb2_import3 - 01-24-2008, 02:12 AM
[No subject] - by hoehrer - 01-24-2008, 12:53 PM
[No subject] - by Dan Mor - 02-14-2008, 04:48 AM
[No subject] - by thelusiv - 02-14-2008, 04:55 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)