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
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
Compiling in Windows - Latest SVN - 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: Compiling in Windows - Latest SVN (/showthread.php?tid=1531)



Compiling in Windows - Latest SVN - wolfgang - 07-25-2011

Dear All!

I am new to Vdrift and had some problems to compile the latest Version on Windows.
So is there anyone, from which I can get the compiled Windows Vdrift Files from the latest version?

Would be great?!

Or do you have a real dummy guide for compiling? I checked already the Wiki, but did not help without knowledge.

Greetings,
Wolfgang


- wolfgang - 07-26-2011

Hi!

now I try to compoile Vdrift with codeblocks or with the bat file with windows.

with the bat file I get...
Code:
C:\Vdrift\Source\git\tools\win\bin>build_vdrift.bat

--VDrift Windows compilation script--

Make sure you're running this from your VDrift folder, like so:
tools\win\bin\build_vdrift.bat

include\definitions.h not found. Generating include\definitions.h
Das System kann den angegebenen Pfad nicht finden.
Das System kann den angegebenen Pfad nicht finden.
Das System kann den angegebenen Pfad nicht finden.
Das System kann den angegebenen Pfad nicht finden.
Das System kann den angegebenen Pfad nicht finden.
Das System kann den angegebenen Pfad nicht finden.
Das System kann den angegebenen Pfad nicht finden.


scons: *** No SConstruct file found.
File "C:\Python26\Lib\site-packages\scons-2.1.0.alpha.20101125\SCons\Script\Main
.py", line 900, in _main

Copying files:
Datei vdrift.exe nicht gefunden.
0 Datei(en) kopiert
Datei *.dll nicht gefunden.
0 Datei(en) kopiert

Make sure you check get the VDrift data!  See:
http://wiki.vdrift.net/Getting_the_development_version#Checking_out_the_data

C:\Vdrift\Source\git\tools\win\bin>echo %PATH%
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\MinGW32\bin;C:\Python
26;C:\Python26\Scripts

C:\Vdrift\Source\git\tools\win\bin>


And with Codeblocks I get...

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-07-26">> ..\..\include\definitions.h && echo #define REVISION "latest">> ..\..\include\definitions.h && echo #endif>> ..\..\include\definitions.h)"

-------------- Build: Debug in vdrift ---------------

Compiling: ..\..\src\aabb.cpp
Compiling: ..\..\src\aabb_space_partitioning.cpp
Compiling: ..\..\src\ai.cpp
In file included from ..\..\include/carengine.h:4:0,
                 from ..\..\include/cardynamics.h:4,
                 from ..\..\include/car.h:4,
                 from C:\Vdrift\Source\git\src\ai.cpp:2:
..\..\include/driveshaft.h:4:33: fatal error: LinearMath/btScalar.h: No such file or directory
compilation terminated.
Process terminated with status 1 (0 minutes, 6 seconds)
1 errors, 0 warnings


I tried to search for btScalar.h but I was not able to found this file?!
Please Help!!!


Greetings,
Wolfgang


- wolfgang - 07-26-2011

OK. Found the problem.

I had to download Bullet and copy the Bullet SRC folder to the vdrift/scr/include directory.

Now compiling with codeblocks is working until....

Code:
Compiling: ..\..\src\window.cpp
Linking console executable: ..\..\vdriftd.exe
c:/mingw32/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lbulletd
collect2: ld returned 1 exit status
Process terminated with status 1 (6 minutes, 43 seconds)
1 errors, 4 warnings



- NaN - 07-26-2011

Yeah, the wiki needs to be updated. See vdrift\tools\win\readme.txt for instructions.

Quote:c:/mingw32/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lbulletd
Open vdrift.workspace and build. It makes sure that bullet is compiled first. I'll upload a recent build to sourceforge.


- wolfgang - 07-26-2011

Dear NaN!

Thanks for your help.
Now compiling is working.
But I get 25 warnings.

Can you give me the link of your uploaded recently compiled windows version?
Would be fine.

Thanks a lot.

Greetings,
Wolfgang


- NaN - 07-26-2011

The warnings are OK. We are compiling with -Wall.

New build:
http://vdrift.net/Forum/viewtopic.php?t=1632


- nomoo - 08-15-2012

Updated few minutes ago, latest src from git and vdrift-win folder; tried to do:
premake4 codeblocks
got:
Error: invalid option 'force_feedback'

Is that normal?


- NaN - 08-15-2012

Yes, have been too lazy to add an extra check. Just delete the old vdrift.cfg.

Alternatively, if you are using tortoisegit you can run "Clean up", disable "Remove untracked directories" to keep data and vdrift-win, rerun premake.