![]() |
scons doesn't work - 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: scons doesn't work (/showthread.php?tid=721) |
scons doesn't work - mpo - 07-10-2007 I have downloaded phyton and scons but when i type "scons" in the command line the system tell me: "scons" it is not recognized like inner or external command, a eseguibile program or batch file. What is the problem? thanks. - thelusiv - 07-10-2007 You didn't add your Python directory to your PATH in Windows. Make sure to add that as well as the /bin directory for Dev-C++. See my first post in the SCons on Win32 thread for directions. - mpo - 07-10-2007 I have done it, i have installed Python in C:\Python25 and in the enviroment variables i have added: name variable "Python25", value "C:\Python25". - thelusiv - 07-10-2007 That won't quite do it...I guess my instructions weren't clear enough. You have to add the path to the end of the PATH environment variable, not make a new environment variable. You should already have a PATH variable in the system section. Each path is separated by a semicolon ( ![]() Code: ;C:\Python25;C:\Dev-Cpp\bin - mpo - 07-11-2007 Now it's ok, thanks ![]() - mpo - 07-11-2007 I have just tried to compile Vdrift with scons on Windows 2000, i have no errors and it seems to be all ok! ![]() - thelusiv - 07-11-2007 Glad it's working. So, does it run? - mpo - 07-11-2007 I have just tried, but when click on the executable i have the following windows error: (i'm translating) Impossible to find the library to dynamic connection ode.dll in the path specified C:\sour\build;.;C:\WINNT\system32;C:\WINNT\system;C:\WINNT;...C\Python25;C:\Dev-Cpp\bin. i need to download ode package? - thelusiv - 07-11-2007 OK, you need to do one thing which I may have forgotten to mention. You have to copy all the files from tools/win/dll/ into the same directory where vdrift.exe will run. I just made a new directory, copied some data into it, copied vdrift.exe and the dll files, and then it ran OK. On VMWare though it doesn't get far, it fails on loading extensions because the VMWare graphics drivers don't support GL. - mpo - 07-11-2007 Now it open and close a windows in a second, it's ok? - thelusiv - 07-11-2007 Look in the directory where you're running vdrift.exe, you should see two files called stderr.txt and stdout.txt. Please post stdout.txt in full in a code block on the forums so we can see why it's crashing. - mpo - 07-11-2007 I haven't these files, i have searched them also with the "search" of windows but it don't find nothing - thelusiv - 07-11-2007 Alright try running vdrift.exe from the command line and see what prints out. - mpo - 07-11-2007 It tells me: CONFIGFILE.Load: Couldn't find file: C:\Documents and Settings\mpo/Vdrift/Vdrift.config data/settings/Vdrift.config not found. Attempting to load from ./data ./data/settings/Vdrift.config not found. Attempting to load from ../data ../data/settings/Vdrift.config not found. Can't find data in directory with executable, or in parent dir. Giving up. - thelusiv - 07-11-2007 Did you check out the data? The game data is in a separate repository now...you have to check it out separately. It needs to be in a folder called "data" in the same directory as vdrift.exe. |