Here is a description for how to compile ReactOS with our latest build environment, RosBE v2.1.
1- Download our latest RosBE environment:
http://www.reactos.org/development/build-environment
2- Open RosBE - Build Environment (command-line) and work in it for the following steps.
3- In some directory, say in
C:\sources\reactos, download the content of
http://svn.reactos.org/svn/reactos/trunk/reactos/ (via SVN you must checkout the repository svn://svn.reactos.org/reactos/trunk/reactos into C:\sources\reactos). If you want also to be able to compile our tests as well as our "ros-apps", please also checkout svn://svn.reactos.org/reactos/trunk/rosapps and svn://svn.reactos.org/reactos/trunk/rostests into
C:\sources\rosapps and
C:\sources\rostests respectively, and add into C:\sources\reactos\modules a hardlink pointing to C:\sources\rosapps and/or a hardlink pointing to C:\sources\rostests .
Therefore, you obtain the following directory tree:
Code: Select all
C:\sources
+------> reactos
| +------> <some directories and files>
| +------> modules
| +------> <hardlink_to_rosapps>
| +------> <hardlink_to_rostests>
+------> rosapps (optional)
+------> rostests (optional)
4- Create another directory where the build files will be output, say:
C:\rosbuild .
5- Being in
C:\rosbuild, type:
Code: Select all
C:\sources\reactos\configure Ninja
which configures the build (and creates some files and directories inside C:\rosbuild).
6- After the previous step being done, and in case of success, go to the directory: C:\rosbuild\host-tools and execute:
Then go to C:\rosbuild\reactos and execute:
(just to compile all ReactOS), or
(to compile all ReactOS if needed and to create a bootcd), or
(same as before, but for creating the livecd).
All the previous commands can be executed at once, being in
C:\rosbuild, by entering at the command-line:
Code: Select all
cd host-tools && ninja all && cd ..\reactos && ninja bootcd
for example.
7- Enjoy !!