Home | News | Documentation | Download

Error while installing root

Dear root experts, I am trying to install the root version 6.22.00 and getting the following error:

~/root_build$ cmake --build . -- -j4
make: *** No targets specified and no makefile found.  Stop.

Please help me how to resolve it.

Hi @Rick_Andy,
Have you followed the steps of the guide ? i.e. before building you should configure calling cmake -DCMAKE_INSTALL_PREFIX=<installdir> <sourcedir> in the build directory. You can also find all the build options here.

If you wish to use ROOT without building from source there are many options available depending on your system, you can find them all at https://root.cern/install/
Cheers,
Vincenzo