How to build ROS from now on
Moderator: Moderator Team
- EmuandCo
- Developer
- Posts: 4731
- Joined: Sun Nov 28, 2004 7:52 pm
- Location: Germany, Bavaria, Steinfeld
- Contact:
How to build ROS from now on
Since I got dozens of questions why the old way of building ROS does not work anymore...
Read this: http://www.reactos.org/development/build-environment
Just typing make wont work anymore.
Read this: http://www.reactos.org/development/build-environment
Just typing make wont work anymore.
ReactOS is still in alpha stage, meaning it is not feature-complete and is recommended only for evaluation and testing purposes.
If my post/reply offends or insults you, be sure that you know what sarcasm is...
If my post/reply offends or insults you, be sure that you know what sarcasm is...
Re: How to build ROS from now on
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:
4- Create another directory where the build files will be output, say: C:\rosbuild .
5- Being in C:\rosbuild, type: 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: for example.
7- Enjoy !!
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)
5- Being in C:\rosbuild, type:
Code: Select all
C:\sources\reactos\configure Ninja
6- After the previous step being done, and in case of success, go to the directory: C:\rosbuild\host-tools and execute:
Code: Select all
ninja all
Code: Select all
ninja all
Code: Select all
ninja bootcd
Code: Select all
ninja 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
7- Enjoy !!
Re: How to build ROS from now on
Notes for build on Unix/Linux.
Since configure.sh script doesn't change directory to host-tools, do as follows:
Start RosBE shell, (from Linux Desktop ) and there run:
This part run only once for each new full checkout/RosBE version update:
And this part for recurring rebilds of ReactOS:
./configure.sh without parameters by default will run for "Ninja" version
Since configure.sh script doesn't change directory to host-tools, do as follows:
Start RosBE shell, (from Linux Desktop ) and there run:
This part run only once for each new full checkout/RosBE version update:
Code: Select all
./configure.sh
cd output-MinGW-i386/host-tools && ninja all
Code: Select all
cd output-MinGW-i386/reactos && ninja bootcd
Re: How to build ROS from now on
Great tutorial, thanks. BTW, you should at least update the wiki saying the make thing doesn't work, if you don't have time to type the whole tutorial.
Re: How to build ROS from now on
So this is why people keep linking to the completely out of date wiki pages..................
Links changed to point to drupal pages.
Links changed to point to drupal pages.
Re: How to build ROS from now on
Possibly they are out if date, but they are editable by more than one man, in case of errors or need of update will it be arisenZ98 wrote:So this is why people keep linking to the completely out of date wiki pages..................
And besides that, are these Drupal pages linked from somewhere?
Re: How to build ROS from now on
There's a menu option on the front page on the left hand side labeled Development.
Considering how they remained out of date despite being 'editable' by anyone, the usefulness of them being on the wiki is questionable.
Considering how they remained out of date despite being 'editable' by anyone, the usefulness of them being on the wiki is questionable.
Re: How to build ROS from now on
It's not surprising for me, I think the whole reactos project suffers from resource scarcity, I mean few developers, testers, involved persons in general...Z98 wrote:Considering how they remained out of date despite being 'editable' by anyone
Being editable by wiki is just an opportunity, it would be of use is someone would like to document something.Z98 wrote: the usefulness of them being on the wiki is questionable.
I updated some wiki pages, was renewing them, but that's not option for many.. alas.
Re: How to build ROS from now on
This one was way more clear than the one found in News section.
Re: How to build ROS from now on
Note: Don't Use TortoiseSVN 1.8.x to done of configuring for now. Use 1.7.13.
For see: http://reactos.org/archives/public/ros- ... 16220.html
NOTE: Also, My TortoiseSVN 1.8.2 is broken.
For see: http://reactos.org/archives/public/ros- ... 16220.html
NOTE: Also, My TortoiseSVN 1.8.2 is broken.
Re: How to build ROS from now on
Thanks finally made it to work i had problems with the svn had to replace it with slik svn i hope to start developing on reactos really soon!
Re: How to build ROS from now on
Can I use updated Tortoise SVN now for done of configuring? See: http://jira.reactos.org/browse/ONLINE-400eersoy93 wrote:Note: Don't Use TortoiseSVN 1.8.x to done of configuring for now. Use 1.7.13.
For see: http://reactos.org/archives/public/ros- ... 16220.html
NOTE: Also, My TortoiseSVN 1.8.2 is broken.
Re: How to build ROS from now on
I can use TSVN 1.8.8 with RosBE 2.1.1 without problems.eersoy93 wrote:Can I use updated Tortoise SVN now for done of configuring? See: http://jira.reactos.org/browse/ONLINE-400eersoy93 wrote:Note: Don't Use TortoiseSVN 1.8.x to done of configuring for now. Use 1.7.13.
For see: http://reactos.org/archives/public/ros- ... 16220.html
NOTE: Also, My TortoiseSVN 1.8.2 is broken.
-
- Posts: 9
- Joined: Tue Feb 26, 2013 11:23 pm
Re: How to build ROS from now on
Hei.
Is there a way to create the reactos installation directory directly from the source? I mean, some command which is equivalent to the former "make install" that used to exist in the time of RBuild...
João Jerónimo
Is there a way to create the reactos installation directory directly from the source? I mean, some command which is equivalent to the former "make install" that used to exist in the time of RBuild...
João Jerónimo
Re: How to build ROS from now on
joao.jeronimo.89 wrote:Hei.
Is there a way to create the reactos installation directory directly from the source? I mean, some command which is equivalent to the former "make install" that used to exist in the time of RBuild...
João Jerónimo
Code: Select all
ninja
Code: Select all
ninja bootcd
Code: Select all
ninja livecd
Who is online
Users browsing this forum: No registered users and 10 guests