ceres/internal/config.h not found when including ceres.h

Bug #1595692 reported by bomox
50
This bug affects 9 people
Affects Status Importance Assigned to Milestone
ceres-solver (Debian)
Fix Released
Unknown
ceres-solver (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When compiling any program that includes ceres.h, there is a compilation error:
ceres/internal/config.h: No such file or directory

and indeed the file is missing.
This prevents any usage of the library.

Package Version of libceres-dev: 1.11.0~dfsg0-2

My Installation:

Description: Ubuntu 16.04 LTS
Release: 16.04

Revision history for this message
Jiulun.Du (dujiulun2006) wrote :

This happened to me several days ago. I believe this is related to upstream Debian bug #823623, which has been fixed by version "1.11.0~dfsg0-3". The new version exists in Yakkety 16.10, but I'm not sure whether it'll be backported to 16.04.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ceres-solver (Ubuntu):
status: New → Confirmed
Changed in ceres-solver (Debian):
status: Unknown → Fix Released
Revision history for this message
Francesco Pasa (francescopasa) wrote :

I can confirm this bug. I am currently building ceres from source since I get this error.

Revision history for this message
Francesco Pasa (francescopasa) wrote :

In case someone needs it, I managed to compile copying the config.h downloaded from the git repository in /usr/include/ceres/internal/.

To compile the following simple file:

------------------------------------
#include <ceres/ceres.h>

int main () {
    return 0;
}
------------------------------------

I used (having installed libeigen3-dev):

g++ fit.cpp -lceres -std=c++11 -I/usr/include/eigen3/

Changed in ceres-solver (Ubuntu):
status: Confirmed → Fix Committed
Changed in ceres-solver (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.