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



Forums
Linker error - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Project (https://www.vdrift.net/Forum/forumdisplay.php?fid=4)
+--- Forum: Development (https://www.vdrift.net/Forum/forumdisplay.php?fid=9)
+--- Thread: Linker error (/showthread.php?tid=683)



Linker error - sgrebnev - 05-22-2007

Some last lines are shown from compilation log below (Dev-C++):

Quote:../../src/ai.o VDrift_private.res -o "..\..\VDrift.exe" -L"C:/Dev-Cpp/lib" -L"J:/programas/Dev-Cpp/lib" -lmingw32 -lglu32 -lopengl32 -lSDLmain -lSDL -lSDL_image -lSDL_net -lSDL_gfx -mwindows -lwinmm -lAlut -lOpenAL32 -g3

../../src/vamosworld.o(.text+0x79d5): In function `ZN10VAMOSWORLD7DrawHUDEv':
C:/vdrift/tools/win/../../include/vamos/body/Rigid_Body.h:274: undefined reference to `TRACKMAP:Big GrinrawCarDot(int, Vamos_Geometry::Three_Vector)'
../../src/vamosworld.o(.text+0x8030): In function `ZN10VAMOSWORLD4InitEP5TRACK':

C:/vdrift/tools/win/../../src/vamosworld.cc:72: undefined reference to `TRACKMAP::TRACKMAP(TRACK*)'
../../src/vamosworld.o(.text+0x880e): In function `ZN10VAMOSWORLD6DeInitEv':
C:/vdrift/tools/win/../../src/vamosworld.cc:54: undefined reference to `TRACKMAP::~TRACKMAP()'
collect2: ld returned 1 exit status

make.exe: *** [../../VDrift.exe] Error 1



- Nigo - 05-22-2007

if I remember right, you should add trackmap.cpp to the project... try


- sgrebnev - 05-23-2007

yes, I do it... thanks