conda-forge / ceres-solver-feedstock

A conda-smithy repository for ceres-solver.
BSD 3-Clause "New" or "Revised" License
2 stars 10 forks source link

Ceres should have eigen run export #15

Closed Tobias-Fischer closed 3 years ago

Tobias-Fischer commented 4 years ago

When trying to build cartographer, I ran into the following issue: https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=235100&view=logs&j=656edd35-690f-5c53-9ba3-09c10d0bea97&t=e5c8ab1d-8ff9-5cae-b332-e15ae582ed2d

CMake Error at /home/conda/feedstock_root/build_artifacts/cartographer_1604396811352/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/cmake/Ceres/CeresConfig.cmake:88 (message):
  Failed to find Ceres - Found Eigen dependency, but the version of Eigen
  found (3.3.8) does not exactly match the version of Eigen Ceres was
  compiled with (3.3.7).  This can cause subtle bugs by triggering violations
  of the One Definition Rule.  See the Wikipedia article
  http://en.wikipedia.org/wiki/One_Definition_Rule for more details

So I guess Ceres should have a run export pinning down the exact version of Eigen.

/CC @wolfv