Scons Problem
Hello,
I have this project for my Programming class where every team must develop a game for the final presentation. My professor recommends the use of Dark GDK as a c++ game engine but I showed him the Cafu engine and he agreed to let our team to use Cafu. I have downloaded the engine, Python 2.7, and Scons. Python installed fine and I installed scons as an administrator and changed the compiler architecture to 32 bit according to the forum here. I cant figure out what im doing wrong any suggestions? I have no clue if scons works right on my computer because the files are there in the Python folder yet the command prompt does not recognize the scons commands at all
Re: Scons Problem
Hi X21,
have you tried to start scons entering the whole path to the scons Executable? On my Mac, this works fine.
have you tried to start scons entering the whole path to the scons Executable? On my Mac, this works fine.
Project Status: Code architecture definition
6 Programmers, 1 Photographer, 1 Architect, 1 Game designer
6 Programmers, 1 Photographer, 1 Architect, 1 Game designer
Re: Scons Problem
It works now but it now says :Haimi wrote:Hi X21,
have you tried to start scons entering the whole path to the scons Executable? On my Mac, this works fine.
Code: Select all
C:\Python27\Scripts>scons C:\Users\Eric\Documents\Cafu
scons: *** No SConstruct file found.
File "C:\Python27\Scripts\..\Lib\site-packages\scons-2.1.0\SCons\Script\Main.py"
, line 904, in _main
Re: Scons Problem
Hi X21,
welcome to the Cafu forums!
Please change directory into the Cafu top-level directory, i.e. should work.
welcome to the Cafu forums!
Please change directory into the Cafu top-level directory, i.e.
Code: Select all
C:\Python27\Scripts> cd C:\Users\Eric\Documents\Cafu
C:\Users\Eric\Documents\Cafu> scons
Best regards,
Carsten
Carsten
Re: Scons Problem
Ive tried that before and it dosent work. Scons will only work if I call it from its working directory. Ive tried to add user and system enviroment variables but it still dose not work. maybe I messed up somewhere?Carsten wrote: Please change directory into the Cafu top-level directory, i.e.should work.Code: Select all
C:\Python27\Scripts> cd C:\Users\Eric\Documents\Cafu C:\Users\Eric\Documents\Cafu> scons
I made the enviroment variables these:
Code: Select all
User variables for Eric:
Variable name: scons
Variable value: C:\Python27\Scripts
System variables :
Variable name: scons
Variable value: C:\Python27\Scripts
Re: Scons Problem
Sorry, I don't quite understand what you did...X21 wrote: I made the enviroment variables these:Code: Select all
User variables for Eric: Variable name: scons Variable value: C:\Python27\Scripts System variables : Variable name: scons Variable value: C:\Python27\Scripts
As described at Getting Started with the Cafu Source Code / Python and SCons / Windows, you have to add both
C:\Python27
and C:\Python27\Scripts
to the PATH
environment variable, see http://support.microsoft.com/kb/310519 and http://vlaurie.com/computers2/Articles/environment.htm for additional information.When set, check the result with
Code: Select all
echo %PATH%
scons
should work as well.If it still doesn't, please post both the output of running
echo %PATH%
and scons
.Best regards,
Carsten
Carsten
Re: Scons Problem
Ok It built now. Thanks for the help
Who is online
Users browsing this forum: No registered users and 12 guests