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