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
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
Need help building - 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: Need help building (/showthread.php?tid=1249)



Need help building - SirLoseALot - 02-23-2010

Hey everyone,

I tried building the game from svn as well as from archive.
None of those worked.

At first, I got this error (although the file asio.hpp is where it's supposed to be):

http://pastebin.com/UqzK7cCm

I then installed some dependencies for something else. I tried again, resulting in this:

http://pastebin.com/Ffg7uYDR


I don't know how to continue from here, so I could use some help figuring out what's going wrong.


- NaN - 02-23-2010

Please make sure you have libboost-date-time, libboost-regex installed( http://wiki.vdrift.net/Compiling#Linux ).
Code:
sudo apt-get install libboost-date-time-dev libboost-regex-dev



- SirLoseALot - 02-23-2010

Thank you, that did the trick.
Were those somewhere in the wiki? I really didn't know/think I was still missing someting.

Anyways, it compiled fine and runs like a charm!


- nomoo - 04-17-2010

rev 2669, windows 7 x64, codeblocks. Got this:

F:\VDrift\src\objectloader.cpp|280|error: no match for 'operator!=' in 'ri != std::list<_Tp, _Alloc>::rend() [with _Tp = TRACKSURFACE, _Alloc = std::allocator<TRACKSURFACE>]()'|
and
F:\VDrift\src\objectloader.cpp|284|error: no match for 'operator==' in 'ri == std::list<_Tp, _Alloc>::rend() [with _Tp = TRACKSURFACE, _Alloc = std::allocator<TRACKSURFACE>]()'|


- NaN - 04-17-2010

Strange, I am compiling it under windows 7 x64 codeblocks/gcc4.4.3.

Can you change line 279 in objectloader.cpp from
Code:
std::list<TRACKSURFACE>::const_reverse_iterator ri;
to
Code:
std::list<TRACKSURFACE>::reverse_iterator ri;
and report if it compiles.

rev 2669 win32 build:
http://www.file-upload.net/download-2441635/vdrift.7z.html


- nomoo - 04-17-2010

Yeah, it helped. Thanks.

I made 'rebuild all' and finally got:
"xcopy /d dll\*.dll ..\..\
‡ ¬¥­¨âì F:\VDrift\glew32.dll [Yes (¤ )/No (­¥â)/All (¢á¥)]? "

Copied glew library and ran updated vdrift Smile