Public bug reported:

Using FIND_PACKAGE(eccodes) in CMakeLists.txt produces an error message
(below, empty lines removed). As the codes_info program is included in
the libeccodes-tools package, libeccodes-dev should maybe depend on
libeccodes-tools or recommend it?

In addition, linking with libeccodes seems to require installation of
libopenjp-2-7-dev. The cmake files distributed with libeccodes-dev
apparently refer to a 3rd-party-library "libopenjp2.so".


CMake Error at 
/usr/lib/x86_64-linux-gnu/cmake/eccodes/eccodes-targets.cmake:211 (message):
  The imported target "codes_info" references the file
     "/usr/bin/codes_info"
  but this file does not exist.  Possible reasons include:
  * The file was deleted, renamed, or moved to another location.
  * An install or uninstall procedure did not complete successfully.
  * The installation package was faulty and contained
     "/usr/lib/x86_64-linux-gnu/cmake/eccodes/eccodes-targets.cmake"
  but not all the files it references.
Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/eccodes/eccodes-config.cmake:78 (include)

** Affects: eccodes (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1714565

Title:
  libeccodes-dev problems with cmake

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eccodes/+bug/1714565/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to