Download an open-source code without makefile. There are only a lot of sconscript files. Remember that a tool called scons is used to build this file.
You have to install it.
Install Python first.
Assume that the installation directory is c: \ python2720.
To install scons, go to http://sourceforge.net/projects/scons/files/scons/2.1.0/to download the latest 2.1.0.pdf.
The zip package I downloaded can be downloaded if it is convenient.
Decompress the package to the installation directory of Python with scons2.1.0 to enter the directory. See the README file.
Enter
Setup. py install -- standard-lib
It will be compiled and installed. Under the python installation directory python2720, A \ scripts directory and a scons. bat batch file are generated.
Add the python root directories c: \ python2720 and c: \ python2720 \ scripts to the environment variables.
Otherwise, enter scons "H: \ XXX" (representing your project file) in c: \ python2720 \ scripts)
Will also appear
Scons. scons: *** no sconstruct file found
Error. Remember.