You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The examples below shows the common steps I have to go through to provide the ROOT_DIR and parallelproj_DIR paths to my project. Could it be made such that the STIR CMake build/install stores these dependency paths for use by child projects? There are probably other dependencies that could also be referenced in this way. Surely, these paths need to match those used in the STIR install anyway...
CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
CERN ROOT not found. If you do have it, set ROOT_DIR (preferred), ROOTSYS
or add root-config to your path (missing: CERN_ROOT_VERSION
CERN_ROOT_LIBRARIES CERN_ROOT_INCLUDE_DIRS) (Required is at least version
"6.29.01")
Call Stack (most recent call first):
/usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
${STIR_install_path}/lib/cmake/STIR-6.0/FindCERN_ROOT.cmake:171 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
${STIR_install_path}/lib/cmake/STIR-6.0/STIRConfig.cmake:137 (find_package)
CMakeLists.txt:6 (find_package)
CMake Error at ${STIR_install_path}/lib/cmake/STIR-6.0/STIRConfig.cmake:171 (find_package):
Could not find a package configuration file provided by "parallelproj" with
any of the following names:
parallelprojConfig.cmake
parallelproj-config.cmake
Add the installation prefix of "parallelproj" to CMAKE_PREFIX_PATH or set
"parallelproj_DIR" to a directory containing one of the above files. If
"parallelproj" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
CMakeLists.txt:6 (find_package)
STIR's dependency paths need defining in CMake projects using STIR. Trying to use https://github.com/UCL/STIR/blob/master/examples/C%2B%2B/using_installed_STIR/CMakeLists.txt as my guide.
The examples below shows the common steps I have to go through to provide the
ROOT_DIR
andparallelproj_DIR
paths to my project. Could it be made such that the STIR CMake build/install stores these dependency paths for use by child projects? There are probably other dependencies that could also be referenced in this way. Surely, these paths need to match those used in the STIR install anyway...STIR_DIR
Running
results in (some path obfuscation)
ROOT_DIR
Adding the
ROOT_DIR
which results in
parallelproj_DIR
Finally adding the
parallelproj_DIR
and cmake configures and generates and the
The text was updated successfully, but these errors were encountered: