# Detailed compilation To perform the compilation, execute the following commands from the root of HATCHet's repository. ```shell $ mkdir build $ cd build/ $ ccmake .. $ make ``` HATCHet's compilation process attempts to automatically find the following Gurobi's paths. | Name | Path | Comment | |------|------|---------| | `GUROBI_CPP_LIB` | `/to/gurobiXXX/YY/lib/libgurobi_c++.a` | | | `GUROBI_INCLUDE_DIR` | `/to/gurobiXXX/YY/include` | | | `GUROBI_LIB` | `/to/gurobiXXX/YY/lib/libgurobiZZ.QQ` | | If the automatic compilation fails to find the Gurobi's paths, these need to be specified directly. First, user needs to verify the existence of each of these 3 files. Next, user can specify these paths directly by either using ```shell $ ccmake .. ``` or by directly running `CMake` with proper flags as following ```shell $ cmake .. \ -DGUROBI_CPP_LIB=/to/gurobiXXX/YY/lib/libgurobi_c++.a \ -DGUROBI_INCLUDE_DIR=/to/gurobiXXX/YY/include \ -DGUROBI_LIB=/to/gurobiXXX/YY/lib/libgurobiZZ.QQ ```