Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

GeographicLib into project cmake

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
YuriyRusinov
Posts: 1
Joined: 2018-12-25 12:40

GeographicLib into project cmake

#1 Post by YuriyRusinov »

Dear Colleagues !

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 )
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:

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.
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.

Post Reply