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
I am doing autoporting of geogram code using AdaptiveCpp. When executed the cmake command
cmake .. -DGeogram_DIR=/...../geogram/cmake -DAdaptiveCpp_DIR=/...../AdaptiveCpp/lib/cmake/AdaptiveCpp -DACPP_TARGETS='cuda:sm_86' in geobox/build got the following error:
CMake Error at CMakeLists.txt:6 (find_package):
By not providing "FindGeogram.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Geogram", but
CMake did not find one.
Could not find a package configuration file provided by "Geogram" with any
of the following names:
GeogramConfig.cmake
geogram-config.cmake
Add the installation prefix of "Geogram" to CMAKE_PREFIX_PATH or set
"Geogram_DIR" to a directory containing one of the above files. If
"Geogram" provides a separate development package or SDK, be sure it has
been installed.
But I have already added the path to FindGeogram.cmake in the cmakelist of geobox using Geogram_DIR and also given the path while running the cmake command. There are no files named GeogramConfig.cmake or geogram-config.cmake are created.
The text was updated successfully, but these errors were encountered:
Hello,
I have no experience with AdaptiveCpp,
The easiest way of compiling geogram is following the instructions here.
Is there a reason that makes using AdaptiveCpp mandatory for your project ?
Hi, I'm having the same issue using cmake and clang++. No config is provide when installing libgeogram-dev on ubuntu 24.04.
I additionally tried to use your FindGeogram.cmake by adding it to my cmake folder, it find the lib on the system but incorrectly declare the header I have to include as #include <geogram1/geogram/basic/common.h> but then fails as
main.cpp:10:
/usr/include/geogram1/geogram/basic/common.h:43:10: fatal error: geogram/api/defs.h: No such file or directory
43 | #include <geogram/api/defs.h>
| ^~~~~~~~~~~~~~~~~~~~
Could you help me with this? I'm not quite sure why FindGeogram.cmake does this.
I am doing autoporting of geogram code using AdaptiveCpp. When executed the cmake command
cmake .. -DGeogram_DIR=/...../geogram/cmake -DAdaptiveCpp_DIR=/...../AdaptiveCpp/lib/cmake/AdaptiveCpp -DACPP_TARGETS='cuda:sm_86' in geobox/build got the following error:
CMake Error at CMakeLists.txt:6 (find_package):
By not providing "FindGeogram.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Geogram", but
CMake did not find one.
Could not find a package configuration file provided by "Geogram" with any
of the following names:
GeogramConfig.cmake
geogram-config.cmake
Add the installation prefix of "Geogram" to CMAKE_PREFIX_PATH or set
"Geogram_DIR" to a directory containing one of the above files. If
"Geogram" provides a separate development package or SDK, be sure it has
been installed.
But I have already added the path to FindGeogram.cmake in the cmakelist of geobox using Geogram_DIR and also given the path while running the cmake command. There are no files named GeogramConfig.cmake or geogram-config.cmake are created.
The text was updated successfully, but these errors were encountered: