![]() |
Problem building - 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: Problem building (/showthread.php?tid=776) Pages:
1
2
|
Problem building - javilon - 09-09-2007 I am on Gentoo amd64. I have installed the dependencies and scons. Then I have checked out the development code from svn. When I try to build it, I get a scons error. Code: jsantos@desktop ~/Apps $ cd vdrift/ I am not sure if I am doing something wrong, but it looks like a problem with the script if you go by the scons error report. - thelusiv - 09-10-2007 Interesting, I don't have this issue, but I'm not sure what that exact line of SConstruct does. What version of SCons are you using? - javilon - 09-11-2007 Code: desktop vdrift # emerge -s scons - joevenzon - 09-11-2007 Could you try upgrading to 0.97? There's an ebuild for it in portage. version 0.97 of scons fixes the problem - javilon - 09-16-2007 I upgraded to 0.97 (it is masked right now) and this fixed the problem. While building I have found a number of dependencies that are not listed on the "build" instruccions: sdl-net ode libvorbis data dir - javilon - 09-16-2007 Ok, I got it to build. Then when I run it, it complained about the data directory missing. I downloaded vdrift-2007-03-23-data-full.tar.bz2 and copied the data directory inside the vdrift directory. It now complains about a skin: Code: jsantos@desktop ~/Apps/vdrift $ build/vdrift -verbose I guess there is a development version of the data that fixes this problem... how can I get it? - FFuser - 09-16-2007 Our wiki on wiki.vdrift.net Wrote:Checking out the data What I do is (in the dir where you have the source) "svn co https://vdrift.svn.sourceforge.net/svnroot/vdrift data" No linkng required. But be carefull: it downloads hundreds of MB - cotharyus - 09-16-2007 Actually, it downloads about 1.2G of data. - javilon - 09-16-2007 I have got the latest data from svn and linked it inside the vdrift directory as indicated, but still vdrift doesn't start. Code: jsantos@desktop ~/Apps/vdrift $ build/vdrift It claims that "Skin name not found in config file..." but looking at my .vdrift/VDrift.config file it sets the skin to "simple": Code: [ display ] - joevenzon - 09-16-2007 If you've upgraded from a previous version of vdrift, try deleting (or moving) your VDrift.config file. It *should* get re-created with all of the correct settings, but if not let me know. - thelusiv - 09-19-2007 Joe's suggestion is a good idea but the skin name not found error is benign. Your problem with errors creating a surface are bigger than that. Can you report the version of SDL and SDL-image? Also have you been able to successfully run other OpenGL games without problems? - joevenzon - 09-19-2007 Oops, good catch thelusiv! That's definitely the problem. - javilon - 09-19-2007 Code: * media-libs/libsdl Code: * media-libs/sdl-image About 3d apps, I have got glgears working, enemy-territory, second life, etc... I have a nvidia card with the propietary drivers. - xTs - 09-20-2007 Could you try running vdrift with strace or gdb? A debug output might help us finding the problem. - joevenzon - 09-20-2007 What are the display width, display height, and display depth set at in your ~/.vdrift/VDrift.config file? |