Difference between revisions of "Build Environment"

From ReactOS Wiki
Jump to: navigation, search
m (Add new category, Building)
m (Download)
 
(43 intermediate revisions by 20 users not shown)
Line 1: Line 1:
== Introduction ==
+
Here you can download the ReactOS Build Environment (RosBE), the official build environment for compiling ReactOS from source code.
To  build ReactOS, you will need a suitable build environment.
+
It contains curated versions of all required build tools, such as Binutils, GCC, CMake, etc. RosBE makes sure that you can successfully build ReactOS without any hassle, and even if you hit problems, you won't be on your own.
  
As the current ReactOS Source Code is only compatible with specific versions of the compiler tools, only the official ReactOS Build Environment (RosBE) is supported by us.
+
If you like to build ReactOS using Microsoft Visual Studio instead of GCC, please install RosBE anyway.
 +
It contains some tools not available in Visual Studio (e.g. Bison and Flex) as well as some tool versions (e.g. CMake) where Visual Studio ships different ones.
  
So if you want to report problems, please first make sure that you use the latest version of the ReactOS Build Environment.
+
If you want to report problems, please first make sure that you use the latest version of the ReactOS Build Environment.
  
== Download the Build Environment ==
+
== Download ==
There are two ReactOS Build Environments available, a version for Windows NT-compatible Operating Systems (Windows 2000, XP, Server 2003, ...) and a version for Unix-compatible operating systems (Linux, FreeBSD, ...).
+
<div style="display: flex;">
 +
<div style="padding-right: 10px;">[[File:RosBE.png|64px]]</div>
 +
<div>
 +
<p><span style="font-size: 16pt; font-weight:bold">[https://downloads.sourceforge.net/reactos/RosBE-{{RosBE-Windows-Version}}.exe RosBE-Windows {{RosBE-Windows-Version}}]</span><br>
 +
for building under [[File:Download-ReactOS.png|24px]] [[File:Download-Windows.png|24px]]</p>
 +
</div>
 +
</div>
  
  
[[Image:RosBE.png|64px|left]]
+
<div style="display: flex;">
<span style="font-size: 12pt; font-weight: bold;">[http://downloads.sourceforge.net/reactos/RosBE-{{RosBE-Windows-Version}}.exe ReactOS Build Environment for Windows NT-compatible OS]</span><br />
+
<div style="padding-right: 10px;">[[File:RosBE.png|64px]]</div>
''Version {{RosBE-Windows-Version}}''
+
<div>
 +
<p><span style="font-size: 16pt; font-weight:bold">[https://downloads.sourceforge.net/reactos/RosBE-Unix-{{RosBE-Unix-Version}}.tar.bz2 RosBE-Unix {{RosBE-Unix-Version}}]</span><br>
 +
for building under [[File:Download-Linux.png|24px]] [[File:Download-MacOS.png|24px]]</p>
  
[http://downloads.sourceforge.net/reactos/RosBE64-{{RosBE64-Windows-Version}}.exe 64 bit Compiler Addon - Version {{RosBE64-Windows-Version}}]
+
[[File:Download-Ubuntu.png|24px]] Ubuntu 18.04 and 20.04 users can install a precompiled package from [https://launchpad.net/~reactos/+archive/ubuntu/rosbe-unix our Launchpad PPA] using:
<p style="margin-bottom: 10px;">&nbsp;</p>
+
<pre>
 +
sudo add-apt-repository ppa:reactos/rosbe-unix
 +
sudo apt install rosbe-unix
 +
</pre>
 +
</div>
 +
</div>
  
[[Image:RosBE.png|64px|left]]
 
<span style="font-size: 12pt; font-weight: bold;">[http://downloads.sourceforge.net/reactos/RosBE-Unix-{{RosBE-Unix-Version}}.tar.bz2 ReactOS Build Environment for Unix-compatible Operating Systems]</span><br />
 
''Version {{RosBE-Unix-Version}}''
 
  
<p style="clear: left;"></p>
+
Requirements:
 +
* Windows XP or later
 +
* Linux with GCC 6.x or later
 +
* macOS 10.11 or later (with Xcode Command Line Tools installed)
  
 
+
== Further Resources ==
For older versions, please visit the [http://sourceforge.net/project/showfiles.php?group_id=6553 ReactOS SourceForge project page].
+
* [[Building ReactOS]]
 
+
* [[Build Environment/Included Utilities|Included Utilities]]
== System Requirements ==
+
* [http://sourceforge.net/projects/reactos/files Older versions at our SourceForge project page]
=== RosBE-Unix ===
 
Please look up the README file for detailed information about the needed packages and other requirements.
 
 
 
== Next Steps ==
 
Additionally, a [[Subversion]] client is needed to obtain the current source from the ReactOS Subversion repository.
 
Read that page for more information.
 
For newer build Environments on Windows (0.3.7+), go into the empty ".\Source" directory and type "ssvn create" to download the ReactOS source.
 
 
 
After setting up your build environment, see [[Building ReactOS]] for futher information.
 
 
 
You may want to use an IDE, so refer to [[using an IDE|this page]].
 
 
 
== Included Utilities ==
 
 
 
=== SCUT ===
 
Simple utility for managing different directory locations. SCUT can be used to quickly change from one directory to another inside the BE prompt, making it easier to go to source in another directory. Included in both the Windows and Unix BEs.
 
You can pass the following parameters to scut:
 
 
 
* '''list''': Lists all shortcuts currently available.
 
* '''add''': Adds a shortcut to the list.
 
* '''edit''': Edits a shortcut on the list.
 
* '''rem''': Removes a shortcut from the list.
 
* '''def''': Switches to the default directory location, which is enabled on every start of RosBE.
 
 
 
If you want to use a directory shortcut, for example one with the name ''trunk'', just enter ''scut trunk'' and the program will switch to the directory you set for this shortcut.
 
  
 
== Questions or Problems? ==
 
== Questions or Problems? ==
If you have problems or questions concerning the Build Environment, it's the best to ask in the [irc://irc.freenode.net/reactos-rosbe #reactos-rosbe] IRC channel.
+
If you have problems or questions concerning the Build Environment, it's the best to ask in the [https://chat.reactos.org/reactos/channels/rosbe RosBE Mattermost channel].
 
 
Otherwise you can also try to contact [[Daniel Reimer]] (Windows version), [[Colin Finck]] (Unix version) directly.
 
  
 +
Otherwise, you can also contact [[Daniel Reimer]] (Windows version) or [[Colin Finck]] (Unix version) directly.
  
 
[[Category:Building]]
 
[[Category:Building]]
 +
[[Category:Tutorial]]

Latest revision as of 17:22, 11 June 2020

Here you can download the ReactOS Build Environment (RosBE), the official build environment for compiling ReactOS from source code. It contains curated versions of all required build tools, such as Binutils, GCC, CMake, etc. RosBE makes sure that you can successfully build ReactOS without any hassle, and even if you hit problems, you won't be on your own.

If you like to build ReactOS using Microsoft Visual Studio instead of GCC, please install RosBE anyway. It contains some tools not available in Visual Studio (e.g. Bison and Flex) as well as some tool versions (e.g. CMake) where Visual Studio ships different ones.

If you want to report problems, please first make sure that you use the latest version of the ReactOS Build Environment.

Download

RosBE.png

RosBE-Windows 2.2.1
for building under Download-ReactOS.png Download-Windows.png


RosBE.png

RosBE-Unix 2.2.1
for building under Download-Linux.png Download-MacOS.png

Download-Ubuntu.png Ubuntu 18.04 and 20.04 users can install a precompiled package from our Launchpad PPA using:

sudo add-apt-repository ppa:reactos/rosbe-unix
sudo apt install rosbe-unix


Requirements:

  • Windows XP or later
  • Linux with GCC 6.x or later
  • macOS 10.11 or later (with Xcode Command Line Tools installed)

Further Resources

Questions or Problems?

If you have problems or questions concerning the Build Environment, it's the best to ask in the RosBE Mattermost channel.

Otherwise, you can also contact Daniel Reimer (Windows version) or Colin Finck (Unix version) directly.