Forums
build problem - 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: build problem (/showthread.php?tid=1707)



build problem - death - 03-19-2013

I download the source code from http://superb-dca3.dl.sourceforge.net/project/vdrift/vdrift/vdrift-2012-07-22/vdrift-2012-07-22.tar.bz2,
and I have installed every depending library mentioned in the README file.
but when i build the source using "scons",there are errors here,src/carcontrolmap_local.cpp:833:20: error: ‘SDLK_KP_0’ not declared in this space ,following ‘SDLK_KP_1'2345,etc.
then i searched the internet and find that it may has something to do with the diff file,and i download it from http://hivelocity.dl.sourceforge.net/project/vdrift/vdrift/vdrift-2012-07-22/vdrift-2012-07-22c_patch.diff
but i do not know how to use it .
could anybody help me?


thank you for reading it.


RE: build problem - NaN - 03-19-2013

Hi

Place the diff into vdrift directory(unpacked the tar.bz2) and run:

patch < vdrift-2012-07-22c_patch.diff