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



Forums
need help compiling on XP sp3 (or jump-starting my brain) - 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: need help compiling on XP sp3 (or jump-starting my brain) (/showthread.php?tid=1445)



need help compiling on XP sp3 (or jump-starting my brain) - boodrifter - 02-24-2011

I'm new at messing with compilers, but think I have enough experience to make a go of it. I've followed the wiki directions for getting the dev version/checking out data and compiling on Windows (though I may have missed something).
With code blocks I get as far as this:

Code:
Running project pre-build steps
cmd /c "if not exist ..\..\include\definitions.h. (echo #ifndef _DEFINITIONS_H> ..\..\include\definitions.h && echo #define _DEFINITIONS_H>> ..\..\include\definitions.h && echo #define SETTINGS_DIR ".vdrift">> ..\..\include\definitions.h && echo #define DATA_DIR "./data">> ..\..\include\definitions.h && echo #define VERSION "2011-02-24">> ..\..\include\definitions.h && echo #define REVISION "latest">> ..\..\include\definitions.h && echo #endif>> ..\..\include\definitions.h)"

-------------- Build: Release in win32 ---------------

Compiling: ..\..\src\game.cpp
In file included from ..\..\include/game.h:34:0,
                 from J:\SVN\vdrift\src\game.cpp:1:
..\..\include/http.h:8:23: fatal error: curl/curl.h: No such file or directory
compilation terminated.
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings (0 minutes, 0 seconds)
The only curl.h I can find is under osx in the source.
Have I made some obvious mistake? I would love to have this work. What other info can I provide to clarify this?


- NaN - 02-24-2011

You need to compile cURL by yourself.

I've updated the Wiki: http://wiki.vdrift.net/Compiling_on_Windows#cURL


- boodrifter - 02-24-2011

Thanks, I'll try that. I tried adding paths in the code blocks search paths, but that got ridiculous. Using Scons gave still different "not found" errors - here's hoping this is it.


All is well - boodrifter - 02-25-2011

Thanks again, we are drifting now.


- joevenzon - 02-28-2011

Should we bundle the libcurl include folder and dll for windows users?


- NaN - 03-01-2011

Yeah, will simplify the development setup.