_ROOT Version: v6-33-01
Platform: Ubuntu 20.04 on Windows (WSL)
Compiler: gcc/g++ I think…?
Hello,
I’m attempting to install root as a dependency for a package called musrfit and following the directions as listed at the musrfit page “Setting up musrfit on different platforms” which it doesn’t let me link to as a new user.
I don’t know much Linux and I don’t know exactly what is wrong, but I followed these instructions and got to the point of trying to install the musrfit package and I’ve ran into an error when trying to make the package.
I input
CMake Error at CMakeLists.txt:74 (find_package):
By not providing "FindROOT.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "ROOT", but
CMake did not find one.
Could not find a package configuration file provided by "ROOT" (requested
version 6.18) with any of the following names:
ROOTConfig.cmake
root-config.cmake
Add the installation prefix of "ROOT" to CMAKE_PREFIX_PATH or set
"ROOT_DIR" to a directory containing one of the above files. If "ROOT"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!
This suggests I’ve done something wrong, and I think maybe it was in my installing of root as I don’t seem to be able to start root itself too, which is why I’m asking here. I’m not sure exactly if there’s a file I can edit to tell it where these config files are, or where that is, or if there’s a setting somewhere while I was building/installing Root that I needed to fix. Any help or instructions on how to request help better would be appreciated. Thank you,