Forums

Full Version: scons doesn't work
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
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.
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.
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".
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 (Wink. So you probably need to add
Code:
;C:\Python25;C:\Dev-Cpp\bin
to the end of what's already in the PATH variable.
Now it's ok, thanks Smile
I have just tried to compile Vdrift with scons on Windows 2000, i have no errors and it seems to be all ok! Big Grin
Glad it's working. So, does it run?
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?
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.
Now it open and close a windows in a second, it's ok?
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.
I haven't these files, i have searched them also with the "search" of windows but it don't find nothing
Alright try running vdrift.exe from the command line and see what prints out.
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.
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.
Pages: 1 2 3