Describe the bug
I'm running into problems compiling SAM per the given instructions on Ubuntu 24. It appears that CMake cannot locate the downloaded or-tools binaries. $ORTOOLSDIR points to the right directory, and running make test there passes.
To Reproduce
Following the building instructions at https://github.com/NatLabRockies/SAM/wiki/Linux-Build-Instructions until cmake .. -DCMAKE_BUILD_TYPE=Release -DSAMAPI_EXPORT=0
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
-- The CXX compiler identification is GNU 13.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The C compiler identification is GNU 13.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at ssc/shared/CMakeLists.txt:178 (find_package):
Could not find a package configuration file provided by "ortools" with any
of the following names:
ortoolsConfig.cmake
ortools-config.cmake
Add the installation prefix of "ortools" to CMAKE_PREFIX_PATH or set
"ortools_DIR" to a directory containing one of the above files. If
"ortools" provides a separate development package or SDK, be sure it has
been installed.
-- Configuring incomplete, errors occurred!
Operating System and Version
Ubuntu 24.04
Additional context
Add any other context about the problem here.
Describe the bug
I'm running into problems compiling SAM per the given instructions on Ubuntu 24. It appears that CMake cannot locate the downloaded or-tools binaries.
$ORTOOLSDIRpoints to the right directory, and runningmake testthere passes.To Reproduce
Following the building instructions at https://github.com/NatLabRockies/SAM/wiki/Linux-Build-Instructions until
cmake .. -DCMAKE_BUILD_TYPE=Release -DSAMAPI_EXPORT=0Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Operating System and Version
Ubuntu 24.04
Additional context
Add any other context about the problem here.