GeographicLib into project cmake

Need help with C, C++, perl, python, etc?

GeographicLib into project cmake

Postby YuriyRusinov » 2018-12-25 13:33

Dear Colleagues !

I try to compile my project connected with road graphs. I need the library, if I try to do it as usually
Code: Select all
find_package( GeographicLib REQUIRED )

I receive an error
By 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:


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.

Another packages, such as GNU Scientific library, OpenCV were found. Library was set by
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.

and target platform is Debian 9.

Thanks in advance.
Posts: 1
Joined: 2018-12-25 12:40

Return to Programming

Who is online

Users browsing this forum: No registered users and 6 guests