The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.28 (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.28 (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.28 (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.28 (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.28 (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.28 (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.28 (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.28 (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.28 (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.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forums
<Solved> Compile Help PCLOS 2010 - 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: <Solved> Compile Help PCLOS 2010 (/showthread.php?tid=1321)



<Solved> Compile Help PCLOS 2010 - Chomp - 07-21-2010

I'm trying to compile 2010-06-30 on PCLinuxOS 2010 and am getting the following build error:

Code:
scons: Reading SConscript files ...
Checking for C++ header file asio.hpp... (cached) yes
Checking for C++ header file boost/bind.hpp... (cached) yes
Checking for C++ header file GL/gl.h... (cached) yes
Checking for C++ header file GL/glu.h... (cached) yes
Checking for C++ header file SDL/SDL.h... (cached) yes
Checking for C++ header file SDL/SDL_image.h... (cached) yes
Checking for C++ header file SDL/SDL_rotozoom.h... (cached) yes
Checking for C++ header file vorbis/vorbisfile.h... (cached) yes
Checking for C++ header file GL/glew.h... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
        CPP build/aabb.o
        CPP build/aabb_space_partitioning.o
        CPP build/ai.o
        CPP build/bezier.o
        CPP build/camera.o
        CPP build/camera_chase.o
        CPP build/camera_fixed.o
        CPP build/camera_free.o
        CPP build/camera_mount.o
        CPP build/camera_orbit.o
        CPP build/camera_simplemount.o
        CPP build/camera_system.o
        CPP build/car.o
        CPP build/carcontrolmap_local.o
        CPP build/cardynamics.o
        CPP build/carengine.o
        CPP build/carsuspension.o
        CPP build/collision_world.o
        CPP build/configfile.o
        CPP build/configvariable.o
        CPP build/containeralgorithm.o
        CPP build/coordinatesystems.o
        CPP build/crashdetection.o
        CPP build/endian_utility.o
        CPP build/eventsystem.o
        CPP build/fbobject.o
In file included from include/fbobject.h:12,
                 from src/fbobject.cpp:1:
include/fbtexture.h:26: error: ‘GL_TEXTURE_RECTANGLE’ was not declared in this scope
src/fbobject.cpp: In function ‘std::string GetStatusString(GLenum)’:
src/fbobject.cpp:328: error: ‘GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS’ was not declared in this scope
scons: *** [build/fbobject.o] Error 1
scons: building terminated because of errors.

Pretty sure I have all the required dependancies :?


- Dandel - 07-21-2010

Actually, there's a bug with scons where it will not find all of the dependencies properly... try this command in the directory for the source code for vdrift, and build again with scons.

Code:
rm -r .sconf_temp .sconsign.dblite



rm -r .sconf_temp .sconsign.dblite - Chomp - 07-21-2010

Didn't work, still get the same error, but thank you.

Edit: Just realized I'm using scons 1.2 :oops: Guess I'll have to update to latest stable build then see what happens.


- NaN - 07-21-2010

GL_TEXTURE_RECTANGLE is defined in glew.h line 2220. Update your glew lib/header.


- Chomp - 07-21-2010

Updating scons didn't help. Thanks NaN I will try updating to latest version for glew.


Resolved - Chomp - 07-22-2010

Thanks again NaN, updating to latest glew worked.


- joetraff - 08-17-2010

Updating glew works !!!
Your help is much appreciated Smile