I try to compile my project connected with road graphs. I need the library https://sourceforge.net/projects/geographiclib/, if I try to do it as usually
Code: Select all
include(FindPkgConfig)
find_package( GeographicLib REQUIRED )
Another packages, such as GNU Scientific library, OpenCV were found. Library was set byBy not providing "FindGeographicLib.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"GeographicLib", but CMake did not find one.
Could not find a package configuration file provided by "GeographicLib"
with any of the following names:
GeographicLibConfig.cmake
geographiclib-config.cmake
Add the installation prefix of "GeographicLib" to CMAKE_PREFIX_PATH or set
"GeographicLib_DIR" to a directory containing one of the above files. If
"GeographicLib" provides a separate development package or SDK, be sure it
has been installed.
Code: Select all
apt-get install libgeographic-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgeographic-dev is already the newest version (1.46-2+b1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Thanks in advance.