GALPROP https://galprop.stanford.edu/forum/ |
|
Galtoolslib installation https://galprop.stanford.edu/forum/viewtopic.php?f=6&t=250 |
Page 1 of 1 |
Author: | zhanghg [ Sat Dec 08, 2018 2:56 pm ] |
Post subject: | Galtoolslib installation |
Dear Galprop team, I am trying to install Galprop on my laptop. After installed "CLHEP->cfitsio->CCfits (require cfitsio)->Healpix(require cfitsio)->gsl->python3.2->pip (use pip to install numpy and pyfits[need numpy])", I start to install galprop-56.0.2870. However, when I use cmake, I find the following reminder: By not providing "Findgaltoolslib.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "galtoolslib", but CMake did not find one. Could not find a package configuration file provided by "galtoolslib" with any of the following names: galtoolslibConfig.cmake galtoolslib-config.cmake Add the installation prefix of "galtoolslib" to CMAKE_PREFIX_PATH or set "galtoolslib_DIR" to a directory containing one of the above files. If "galtoolslib" provides a separate development package or SDK, be sure it has been installed. -- Configuring incomplete, errors occurred![/color][/b][/size] So, I think maybe I should install Galtoolslib first. However, when I try to install Galtoolslib, I find the following reminder with cmake: CMake Error at CMakeLists.txt:22 (find_package): By not providing "FindCLHEP.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "CLHEP", but CMake did not find one. Could not find a package configuration file provided by "CLHEP" with any of the following names: CLHEPConfig.cmake clhep-config.cmake Add the installation prefix of "CLHEP" to CMAKE_PREFIX_PATH or set "CLHEP_DIR" to a directory containing one of the above files. If "CLHEP" provides a separate development package or SDK, be sure it has been installed. -- Configuring incomplete, errors occurred! This is my problem, and I appreciate for any of your help. Many thinks first. |
Author: | subho [ Fri Jan 11, 2019 12:53 am ] |
Post subject: | Re: Galtoolslib installation |
I think it is clearly mentioned in the user manual that you have to install Galtoolslib before you can install Galprop. > You need to have wcslib and xerces installed before you can successfully compile galtoolslib. I am not sure if you have them installed or not. > However from the output of the code it seems like - the make file could not find the clhep installed directory and other dependencies. > You can try to manually set the path of header and libraries in CMakeCache.text file which should be present in the build directory of galtoolslib. Hopefully it helps ! |
Page 1 of 1 | All times are UTC - 8 hours [ DST ] |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |