ceres-solver / ceres-solver

A large scale non-linear optimization library

Home Page:http://ceres-solver.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bazel build fails

joshi-bharat opened this issue · comments

I tried to build bazel with tag 2.2.0 on Ubuntu 22.04 and it fails due to following reason:

Steps
git clone git@github.com:ceres-solver/ceres-solver.git cd ceres-solver bazel build --cxxopt="-std=c++17" //:ceres
The error is
ERROR: /home/bharatjoshi/code/ceres-solver/BUILD:36:14: Compiling internal/ceres/parallel_for.cc failed: missing input file '//:internal/ceres/parallel_for.cc'

On

"parallel_for.cc",

parallel_for.cc is included in CERES_SRCS. However, internal/ceres/parallel_for.cc does not exist.

This needs to be removed. I can write a PR if my analysis is ok.

Hi @joshi-bharat thanks for reporting this and sorry for the inconvenience. This should be fixed at HEAD and will show up on github in a minute or two.