group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #37676
[Bug 1678043] Re: cmake config broken
This bug was fixed in the package ceres-solver - 1.11.0~dfsg0-2ubuntu0.1
---------------
ceres-solver (1.11.0~dfsg0-2ubuntu0.1) xenial; urgency=medium
* Fix CeresConfig install rule (LP: #1678043)
* Fix CeresConfig debian install rule (LP: #1596296)
* Fix config.h debian install rule
-- Jeremie Deray <jeremie.deray@xxxxxxxxxxxxx> Tue, 17 Nov 2020
14:54:50 +0000
** Changed in: ceres-solver (Ubuntu Xenial)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1678043
Title:
cmake config broken
Status in ceres-solver package in Ubuntu:
Fix Released
Status in ceres-solver source package in Xenial:
Fix Released
Bug description:
It is not possible to use libceres with cmake.
Using this minimal example:
CMakeLists.txt:
FIND_PACKAGE(Ceres REQUIRED)
Produces this error:
$ cmake -DCMAKE_BUILD_TYPE=Debug -G "Unix Makefiles"
CMake Error at /usr/lib/cmake/ceres/CeresConfig.cmake:88 (message):
Failed to find Ceres - Ceres install root: /usr/lib, determined from
relative path from CeresConfig.cmake install location:
/usr/lib/cmake/ceres, does not contain Ceres headers. Either the install
directory was deleted, or the install tree was only partially relocated
outside of CMake after Ceres was built.
Call Stack (most recent call first):
/usr/lib/cmake/ceres/CeresConfig.cmake:136 (ceres_report_not_found)
CMakeLists.txt:1 (FIND_PACKAGE)
CMake Error at CMakeLists.txt:1 (FIND_PACKAGE):
Found package configuration file:
/usr/lib/cmake/ceres/CeresConfig.cmake
but it set Ceres_FOUND to FALSE so package "Ceres" is considered to be NOT
FOUND.
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 3.5)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
See also "/home/clins/repos/cerestest/CMakeFiles/CMakeOutput.log".
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceres-solver/+bug/1678043/+subscriptions