Installing the Command Line Compiler

You can use the Elements Command Line Compiler, directly or via MSBuild/xbuild, if you do not want to build your projects from inside the IDE, or to use it from automated build scripts or on your CI servers.

On Windows, the command line compiler is installed and made available automatically as part of the regular setup. To just install the command line compiler, you can simply disable the "Visual Studio" option when running setup.

On Mac and Linux, the command line compiler can be installed manually. This is necessary even if you already have Fire, as Fire comes with the compiler embedded, but does not register it system-wide. See also Setting up the External Compiler for use with Fire for details.

Note: Installing and using the external compiler on Mac or Linux requires Mono 4.0 or later to be installed system-wide and in the default location beforehand.

The Elements Compiler "Mac & Linux Distro"

The Elements compiler is made available as a separate download on and/or on the Beta portal; it is called:

RemObjects Elements - Mac & Linux Distro - *.zip

You can also download it publicly, here.

Installing this compiler is easy, with just a couple of simple steps:

  • Unzip the zip archive to a location where you can keep the files (do not unzip right in ~/Downloads and then delete it after installing. The files must persist in the location you perform the next steps from).
  • Open a Terminal window to the unzipped folder.
  • Run sh (you will be asked for your root password).

Once installed, the compiler is available globally to be used with xbuild, Mono's command line build tool. For example, you can build a project simply by calling xbuild MyProject.sln in Terminal.

Using the External Compiler inside of Fire

See Setting up the External Compiler for use with Fire for details on how to make Fire use the externally installed compiler (opposed to the embedded version).

Uninstalling the External Compiler

If you later want to uninstall the external compiler, simply open a Terminal prompt to the folder from above and run sh

However, note that you do not need to uninstall when updating the compiler to a newer version. Simply download the new version, extract it to a new folder, and run ./ to update to it. The old folder can then be safely deleted.

Using the External Compiler inside of Visual Studio

On Windows, there will always be one centrally installed compiler, and both it and the Visual Studio integration will be updated in sync. The command line and the IDE will automatically always use the last version you installed.

See Also

Version Notes

  • Support for the command line compiler on Linux is new in Version 8.3, and still experimental.