This is my first time with scons and compiling in general.
This application had a problem which was fixed by this guy here. Now I want to apply that fix manually but only recompile that specific bit of code. So:
- followed the instructions and downloaded everything locally.
- modified the 3 files accordingly
-
attempted to recompile:
cd titanium_desktop/modules/ti.Network scons scons: *** No SConstruct file found. File "C:\Python25\Scripts\..\Lib\site-packages\scons-1.2.0\ SCons\Script\Main.py", line 826, in _main
What am I doing wrong and what should I be doing instead?
The SConstruct file is the main SCons build script. Without it, SCons doesnt konw what to do.
I see from your commands that you are trying to do a build of a sub-directory which has a SConscript file, but not a SConstruct file. In this case, you need to tell SCons where the SConstruct file is. The most common way to do this is as follows:
This tells SCons to traverse up the directory hierarchy until it finds the SConstruct file.
You can find more SCons command line options here.