bartoszek / AUR-alice-vision-git

0 stars 1 forks source link

CMake Error at /usr/lib64/cmake/Ceres/CeresConfig.cmake:88 #4

Open ngreve opened 3 years ago

ngreve commented 3 years ago

Error when compiling:

-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- ---------------------------------------------------------
-- UncertaintyTE framework v.1.2.0
-- CMAKE_CONFIGURATION_TYPES: Debug;Release
-- CMAKE_BUILD_TYPE: 
-- ---------------------------------------------------------
-- REQUIRED LIBRARIES
--  Gflags
--  Eigen
--  Blas and Lapack
--  Cuda
--  Ceres
--  Magma dense
-- 
-- OPTIONAL LIBRARIES
--  SuiteSparse
--  Matlab mex
--  AliceVision
--  Boost
-- ---------------------------------------------------------
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found OpenMP_C: -fopenmp (found version "4.5") 
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
-- Found OpenMP: TRUE (found version "4.5")  
Found Gflags 2.2.2
-- > GFLAGS_INCLUDE_DIR:   /usr/include;/usr/include
-- > GFLAGS_LIBRARIES:   gflags_shared;gflags_shared
Found Eigen3.3.8
-- > EIGEN3_INCLUDE_DIRS:   /usr/include/eigen3
-- Found BLAS: /usr/lib/libopenblas.so  
-- Found AMD library: /usr/lib/libamd.so
-- Found AMD header in: /usr/include
-- Found CAMD library: /usr/lib/libcamd.so
-- Found CAMD header in: /usr/include
-- Found COLAMD library: /usr/lib/libcolamd.so
-- Found COLAMD header in: /usr/include
-- Found CCOLAMD library: /usr/lib/libccolamd.so
-- Found CCOLAMD header in: /usr/include
-- Found CHOLMOD library: /usr/lib/libcholmod.so
-- Found CHOLMOD header in: /usr/include
-- Found SuiteSparseQR library: /usr/lib/libspqr.so
-- Found SuiteSparseQR header in: /usr/include
-- Found Intel Thread Building Blocks (TBB) library: /usr/lib/libtbb.so, assuming SuiteSparseQR was compiled with TBB.
-- Found Intel Thread Building Blocks (TBB) Malloc library: /usr/lib/libtbbmalloc.so
-- Found SuiteSparse_config library: /usr/lib/libsuitesparseconfig.so
-- Found SuiteSparse_config header in: /usr/include
-- Adding librt: /usr/lib/librt.so to SuiteSparse_config libraries (required on Linux & Unix [not OSX] if SuiteSparse is compiled with timing).
-- Found METIS library: /usr/lib/libmetis.so.
-- Found SuiteSparse: /usr/include (found version "5.8.1") 
Found SuiteSparse
-- > SUITESPARSE_INCLUDE_DIRS:   /usr/include
-- > SUITESPARSE_LIBRARIES:   /usr/lib/libspqr.so;/usr/lib/libtbb.so;/usr/lib/libtbbmalloc.so;/usr/lib/libcholmod.so;/usr/lib/libccolamd.so;/usr/lib/libcamd.so;/usr/lib/libcolamd.so;/usr/lib/libamd.so;/usr/lib/libsuitesparseconfig.so;/usr/lib/librt.so
-- Found installed version of Eigen: /usr/share/eigen3/cmake
CMake Error at /usr/lib64/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
Call Stack (most recent call first):
  /usr/lib64/cmake/Ceres/CeresConfig.cmake:223 (ceres_report_not_found)
  CMakeLists.txt:137 (find_package)

CMake Error at CMakeLists.txt:137 (find_package):
  Found package configuration file:

    /usr/lib64/cmake/Ceres/CeresConfig.cmake

  but it set Ceres_FOUND to FALSE so package "Ceres" is considered to be NOT
  FOUND.

-- Configuring incomplete, errors occurred!
See also "/home/nico/.cache/yay/alice-vision-git/src/ute_build/CMakeFiles/CMakeOutput.log".
See also "/home/nico/.cache/yay/alice-vision-git/src/ute_build/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().
    Aborting...
error making: alice-vision-git
bartoszek commented 3 years ago

I've pushed new version of alice-vision{,-git} and meshroom{,-git} packages - should works fine beside qtAliceVision plugin witch is disabled by default ( set env var ENABLE_QTALICEVISION=1` to build it if you like to test it)