alicevision / AliceVision

Photogrammetric Computer Vision Framework
http://alicevision.org
Other
2.99k stars 825 forks source link

Build failure on Pop OS / Ubuntu 20 #919

Closed jcc10 closed 4 years ago

jcc10 commented 4 years ago

After getting tired of unable to install deps via vcpkg I finally got around to just doing the whole build tree by hand.

...
** AliceVision version: 2.3.1
** Target architecture: zen
** Build Shared libs: ON
** Build SfM part: ON
** Build MVS part: ON
** Build AliceVision tests: OFF
** Build AliceVision documentation: 1
** Build AliceVision samples programs: OFF
** Build AliceVision+OpenCV samples programs: 0
** Build UncertaintyTE: 1
** Build MeshSDFilter: 1
** Build Alembic exporter: 0
** Enable code coverage generation: OFF
** Enable OpenMP parallelization: 1
** Use CUDA: 1
** Use OpenCV SIFT features: 0
** Use PopSift feature extractor: 1
** Use CCTAG markers: 0
** Use OpenGV for rig localization: 1

-- EIGEN: 3.3.7
-- CERES: 1.14.0
-- FLANN: 1.8.4 (internal)
-- CLP: 1.15.11 (internal)
-- COINUTILS: 2.9.3 (internal)
-- OSI: 0.106.10 (internal)
-- LEMON: 1.3 (internal)

-- Found OpenMP_C: -fopenmp  
-- Found OpenMP_CXX: -fopenmp  
...

broken build.log

Any help with getting this to compile?

fabiencastan commented 4 years ago

The error seems to be in ceres. Maybe you could use a more recent version.

You could look at the docker files as an example to build: https://github.com/alicevision/AliceVision/blob/develop/docker/Dockerfile_ubuntu_deps

jcc10 commented 4 years ago

I think the issue is that one of the deps itself depends on cres and told me to simply fork it. (Which gets v2.0 not 1.14) Re-building from that step, will close if that fixes it.

jcc10 commented 4 years ago

Needed to downgrade CERES. Thanks for the help @fabiencastan !