Installation

1 Installation on Windows
    1.1 Prerequisites
    1.2 Cmajor installation
    1.3 LLVM installation
    1.4 Mingw-w64 installation
    1.5 Visual Studio installation
    1.6 Uninstalling Cmajor

1 Installation on Windows

1.1 Prerequisites

1.2 Cmajor installation

Note: If you have a previous Cmajor version installed, you should uninstall it before installing this version. Also in this case check also from the task manager, if you have "cmpms" process running. If you have, you should stop it before running the installation. The "cmpms" process is the Cmajor port map server that is normally left running when cmcode IDE has been run.

Download the setup program and run it. You can specify installation directory that is by default C:\cmajor. Note: the compiler needs write access to installation directory and its subdirectories, so C:\Program Files\ is not a good place to install. The setup creates an environment variable CMAJOR_ROOT that points to the installation directory and adds the CMAJOR_ROOT\bin directory to PATH. The setup adds a shortcut to the Cmajor Code (IDE) to the desktop. The CMAJOR_ROOT environment variable is used by the Cmajor tools to locate Cmajor Unicode database and system library source and binary files.

The 'Containing directory' is a directory that will contain the installation directory. You can change it by clicking the '...' button on the right and selecting a directory from a folder dialog, or by typing a directory path to the 'Containing directory' text box. The installation directory is changed appropriately when changing the containing directory. The name of the installation directory is by default 'cmajor' but can be changed to any name.

1.3 LLVM installation

1.4 Mingw-w64 installation

1.5 Visual Studio installation

1.6 Uninstalling Cmajor

Cmajor can be uninstalled from the Windows Control Panel | Add/Remove Programs section.

When clicking the remove installation button, the Cmajor uninstaller program is started:

The uninstaller: