alicevision / AliceVision

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

Unable to build on arch linux #496

Closed stefanp88 closed 3 years ago

stefanp88 commented 6 years ago

Ceres install /usr/include/ceres/ceres.h

I've uninstalled ceres again and tried to install meshroom again hoping it would see it as dependency and install which it did but it's still complaining about not being found. Do I have to edit something?

Building ceres-solver...
Cloning into 'ceres-solver'...
remote: Enumerating objects: 39, done.        
remote: Counting objects: 100% (39/39), done.        
remote: Compressing objects: 100% (38/38), done.        
remote: Total 39 (delta 1), reused 39 (delta 1)        
Unpacking objects: 100% (39/39), done.
==> Making package: ceres-solver 1.14.0-1 (Wed 29 Aug 2018 07:24:13 PM PDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading ceres-solver-1.14.0.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 5322k  100 5322k    0     0  11.6M      0 --:--:-- --:--:-- --:--:-- 11.6M
==> Validating source files with sha256sums...
    ceres-solver-1.14.0.tar.gz ... Passed
==> Extracting sources...
  -> Extracting ceres-solver-1.14.0.tar.gz with bsdtar
==> Starting build()...
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- Check for working C compiler: /bin/cc
-- Check for working C compiler: /bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /bin/c++
-- Check for working CXX compiler: /bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detected Ceres version: 1.14.0 from /tmp/pamac-build-ghost/ceres-solver/src/ceres-solver-1.14.0/include/ceres/version.h
-- No preference for use of exported Eigen CMake configuration set, and no hints for include directory provided. Defaulting to preferring an installed/exported Eigen CMake configuration if available.
-- Found installed version of Eigen: /usr/share/eigen3/cmake
-- Found Eigen: /usr/include/eigen3 (found version "3.3.5") 
-- Found Eigen version 3.3.5: /usr/include/eigen3
-- Enabling use of Eigen as a sparse linear algebra library.
-- Looking for sgemm_
-- Looking for sgemm_ - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- 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 BLAS: /usr/lib/libopenblas.so  
-- Found LAPACK library: /usr/lib/libopenblas.so;/usr/lib/libopenblas.so
-- Found AMD headers in: /usr/include
-- Found AMD library: /usr/lib/libamd.so
-- Found CAMD headers in: /usr/include
-- Found CAMD library: /usr/lib/libcamd.so
-- Found COLAMD headers in: /usr/include
-- Found COLAMD library: /usr/lib/libcolamd.so
-- Found CCOLAMD headers in: /usr/include
-- Found CCOLAMD library: /usr/lib/libccolamd.so
-- Found CHOLMOD headers in: /usr/include
-- Found CHOLMOD library: /usr/lib/libcholmod.so
-- Found SUITESPARSEQR headers in: /usr/include
-- Found SUITESPARSEQR library: /usr/lib/libspqr.so
-- Found Intel Thread Building Blocks (TBB) library (2018.0) assuming SuiteSparseQR was compiled with TBB.
-- Found SUITESPARSE_CONFIG headers in: /usr/include
-- Found SUITESPARSE_CONFIG library: /usr/lib/libsuitesparseconfig.so
-- Found LIBRT library: /usr/lib/librt.so
-- 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: TRUE (found version "5.3.0") 
-- Found SuiteSparse 5.3.0, building with SuiteSparse.
-- Found CXSparse: /usr/include (found version "3.1.9") 
-- Found CXSparse version: 3.1.9, building with CXSparse.
-- No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available.
-- Found installed version of gflags: /lib64/cmake/gflags
-- Detected gflags version: 2.2.1
-- Failed to find gflags - Could not find file: //include/gflags/gflags.h containing namespace information in gflags install located at: //include.
-- Failed to find gflags - Failed to determine gflags namespace using regex for gflags version: 2.2.1 exported here: /lib64/cmake/gflags using CMake.
-- Did not find Google Flags (gflags), Building without gflags - no tests or tools will be built!
-- No preference for use of exported glog CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported glog CMake configuration if available.
-- Failed to find installed glog CMake configuration, searching for glog build directories exported with CMake.
-- Failed to find an installed/exported CMake configuration for glog, will perform search for installed glog components.
-- Found Glog: /usr/include  
-- Found Google Log (glog). Assuming glog was NOT built with gflags support as gflags was not found.  If glog was built with gflags, please set the gflags search locations such that it can be found by Ceres.  Otherwise, Ceres may fail to link due to missing gflags symbols.
-- Building with OpenMP.
-- Performing Test COMPILER_HAS_CXX11_FLAG
-- Performing Test COMPILER_HAS_CXX11_FLAG - Success
-- Looking for C++ include unordered_map
-- Looking for C++ include unordered_map - found
-- Performing Test HAVE_UNORDERED_MAP_IN_STD_NAMESPACE
-- Performing Test HAVE_UNORDERED_MAP_IN_STD_NAMESPACE - Success
-- Found unordered_map/set in std namespace.
-- Looking for C++ include memory
-- Looking for C++ include memory - found
-- Performing Test HAVE_SHARED_PTR_IN_STD_NAMESPACE
-- Performing Test HAVE_SHARED_PTR_IN_STD_NAMESPACE - Success
-- Found shared_ptr in std namespace using <memory> header.
-- Performing Test CXX11_MATH_FUNCTIONS_FOUND
-- Performing Test CXX11_MATH_FUNCTIONS_FOUND - Success
   ==============================================================
   Compiling Ceres using C++11.  This will result in a version 
   of Ceres that will require the use of C++11 in client code.
   ==============================================================
-- Failed to find Google benchmark library, disabling build of benchmarks.
-- Building Ceres as a static library.
-- Creating configured Ceres config.h output directory: /tmp/pamac-build-ghost/ceres-solver/src/ceres-solver-1.14.0/build/config/ceres/internal
-- Enabling CERES_USE_EIGEN_SPARSE in Ceres config.h
-- Enabling CERES_USE_CXX11 in Ceres config.h
-- Enabling CERES_USE_OPENMP in Ceres config.h
-- Enabling CERES_HAVE_PTHREAD in Ceres config.h
-- Enabling CERES_HAVE_RWLOCK in Ceres config.h
-- Enabling CERES_STD_UNORDERED_MAP in Ceres config.h
-- Build the examples.
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/pamac-build-ghost/ceres-solver/src/ceres-solver-1.14.0/build
Scanning dependencies of target ceres
[  0%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/array_utils.cc.o
[  1%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/blas.cc.o
[  1%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/block_evaluate_preparer.cc.o
[  2%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/block_jacobi_preconditioner.cc.o
[  3%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/block_jacobian_writer.cc.o
[  3%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/block_random_access_dense_matrix.cc.o
[  4%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/block_random_access_diagonal_matrix.cc.o
[  4%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/block_random_access_matrix.cc.o
[  5%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/block_random_access_sparse_matrix.cc.o
[  6%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/block_sparse_matrix.cc.o
[  6%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/block_structure.cc.o
[  7%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/c_api.cc.o
[  7%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/canonical_views_clustering.cc.o
[  8%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/cgnr_solver.cc.o
[  9%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/callbacks.cc.o
[  9%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/compressed_col_sparse_matrix_utils.cc.o
[ 10%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/compressed_row_jacobian_writer.cc.o
[ 10%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/compressed_row_sparse_matrix.cc.o
[ 11%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/conditioned_cost_function.cc.o
[ 12%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/conjugate_gradients_solver.cc.o
[ 12%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/context.cc.o
[ 13%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/context_impl.cc.o
[ 14%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/coordinate_descent_minimizer.cc.o
[ 14%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/corrector.cc.o
[ 15%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/covariance.cc.o
[ 15%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/covariance_impl.cc.o
[ 16%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/cxsparse.cc.o
[ 17%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/dense_normal_cholesky_solver.cc.o
[ 17%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/dense_qr_solver.cc.o
[ 18%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/dense_sparse_matrix.cc.o
[ 18%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/detect_structure.cc.o
[ 19%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/dogleg_strategy.cc.o
[ 20%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/dynamic_compressed_row_jacobian_writer.cc.o
[ 20%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/dynamic_compressed_row_sparse_matrix.cc.o
[ 21%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/dynamic_sparse_normal_cholesky_solver.cc.o
[ 21%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/evaluator.cc.o
[ 22%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/eigensparse.cc.o
[ 23%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/file.cc.o
[ 23%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/function_sample.cc.o
[ 24%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/gradient_checker.cc.o
[ 25%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/gradient_checking_cost_function.cc.o
[ 25%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/gradient_problem.cc.o
[ 26%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/gradient_problem_solver.cc.o
[ 26%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/implicit_schur_complement.cc.o
[ 27%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/inner_product_computer.cc.o
[ 28%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/is_close.cc.o
[ 28%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/iterative_schur_complement_solver.cc.o
[ 29%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/levenberg_marquardt_strategy.cc.o
[ 29%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/lapack.cc.o
[ 30%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/line_search.cc.o
[ 31%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/line_search_direction.cc.o
[ 31%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/line_search_minimizer.cc.o
[ 32%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/line_search_preprocessor.cc.o
[ 32%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/linear_least_squares_problems.cc.o
[ 33%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/linear_operator.cc.o
[ 34%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/linear_solver.cc.o
[ 34%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/local_parameterization.cc.o
[ 35%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/loss_function.cc.o
[ 35%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/low_rank_inverse_hessian.cc.o
[ 36%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/minimizer.cc.o
[ 37%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/normal_prior.cc.o
[ 37%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/parallel_for_cxx.cc.o
[ 38%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/parallel_for_tbb.cc.o
[ 39%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/parallel_utils.cc.o
[ 39%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/parameter_block_ordering.cc.o
[ 40%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/partitioned_matrix_view.cc.o
[ 40%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/polynomial.cc.o
[ 41%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/preconditioner.cc.o
[ 42%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/preprocessor.cc.o
[ 42%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/problem.cc.o
[ 43%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/problem_impl.cc.o
[ 43%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/program.cc.o
[ 44%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/reorder_program.cc.o
[ 45%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/residual_block.cc.o
[ 45%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/residual_block_utils.cc.o
[ 46%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/schur_complement_solver.cc.o
[ 46%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/schur_eliminator.cc.o
[ 47%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/schur_jacobi_preconditioner.cc.o
[ 48%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/schur_templates.cc.o
[ 48%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/scratch_evaluate_preparer.cc.o
[ 49%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/single_linkage_clustering.cc.o
[ 50%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/solver.cc.o
[ 50%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/solver_utils.cc.o
[ 51%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/sparse_matrix.cc.o
[ 51%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/sparse_cholesky.cc.o
[ 52%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/sparse_normal_cholesky_solver.cc.o
[ 53%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/subset_preconditioner.cc.o
[ 53%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/split.cc.o
[ 54%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/stringprintf.cc.o
[ 54%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/suitesparse.cc.o
[ 55%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/thread_pool.cc.o
[ 56%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/thread_token_provider.cc.o
[ 56%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/triplet_sparse_matrix.cc.o
[ 57%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/trust_region_preprocessor.cc.o
[ 57%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/trust_region_minimizer.cc.o
[ 58%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/trust_region_step_evaluator.cc.o
[ 59%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/trust_region_strategy.cc.o
[ 59%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/types.cc.o
[ 60%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/visibility.cc.o
[ 60%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/visibility_based_preconditioner.cc.o
[ 61%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/wall_time.cc.o
[ 62%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/partitioned_matrix_view_2_2_2.cc.o
[ 62%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/partitioned_matrix_view_2_2_3.cc.o
[ 63%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/partitioned_matrix_view_2_2_4.cc.o
[ 64%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/partitioned_matrix_view_2_2_d.cc.o
[ 64%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/partitioned_matrix_view_2_3_3.cc.o
[ 65%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/partitioned_matrix_view_2_3_4.cc.o
[ 65%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/partitioned_matrix_view_2_3_6.cc.o
[ 66%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/partitioned_matrix_view_2_3_9.cc.o
[ 67%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/partitioned_matrix_view_2_3_d.cc.o
[ 67%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/partitioned_matrix_view_2_4_3.cc.o
[ 68%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/partitioned_matrix_view_2_4_4.cc.o
[ 68%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/partitioned_matrix_view_2_4_6.cc.o
[ 69%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/partitioned_matrix_view_2_4_8.cc.o
[ 70%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/partitioned_matrix_view_2_4_9.cc.o
[ 70%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/partitioned_matrix_view_2_4_d.cc.o
[ 71%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/partitioned_matrix_view_2_d_d.cc.o
[ 71%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/partitioned_matrix_view_4_4_2.cc.o
[ 72%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/partitioned_matrix_view_4_4_3.cc.o
[ 73%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/partitioned_matrix_view_4_4_4.cc.o
[ 73%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/partitioned_matrix_view_4_4_d.cc.o
[ 74%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/partitioned_matrix_view_d_d_d.cc.o
[ 75%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_2_2_2.cc.o
[ 75%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_2_2_3.cc.o
[ 76%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_2_2_4.cc.o
[ 76%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_2_2_d.cc.o
[ 77%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_2_3_3.cc.o
[ 78%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_2_3_4.cc.o
[ 78%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_2_3_6.cc.o
[ 79%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_2_3_9.cc.o
[ 79%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_2_3_d.cc.o
[ 80%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_2_4_3.cc.o
[ 81%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_2_4_4.cc.o
[ 81%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_2_4_6.cc.o
[ 82%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_2_4_8.cc.o
[ 82%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_2_4_9.cc.o
[ 83%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_2_4_d.cc.o
[ 84%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_2_d_d.cc.o
[ 84%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_4_4_2.cc.o
[ 85%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_4_4_3.cc.o
[ 85%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_4_4_4.cc.o
[ 86%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_4_4_d.cc.o
[ 87%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_d_d_d.cc.o
[ 87%] Linking CXX static library ../../lib/libceres.a
[ 87%] Built target ceres
Scanning dependencies of target simple_bundle_adjuster
[ 88%] Building CXX object examples/CMakeFiles/simple_bundle_adjuster.dir/simple_bundle_adjuster.cc.o
[ 89%] Linking CXX executable ../bin/simple_bundle_adjuster
[ 89%] Built target simple_bundle_adjuster
Scanning dependencies of target robust_curve_fitting
[ 89%] Building CXX object examples/CMakeFiles/robust_curve_fitting.dir/robust_curve_fitting.cc.o
[ 90%] Linking CXX executable ../bin/robust_curve_fitting
[ 90%] Built target robust_curve_fitting
Scanning dependencies of target ellipse_approximation
[ 90%] Building CXX object examples/CMakeFiles/ellipse_approximation.dir/ellipse_approximation.cc.o
[ 91%] Linking CXX executable ../bin/ellipse_approximation
[ 91%] Built target ellipse_approximation
Scanning dependencies of target helloworld_numeric_diff
[ 92%] Building CXX object examples/CMakeFiles/helloworld_numeric_diff.dir/helloworld_numeric_diff.cc.o
[ 93%] Linking CXX executable ../bin/helloworld_numeric_diff
[ 93%] Built target helloworld_numeric_diff
Scanning dependencies of target helloworld_analytic_diff
[ 94%] Building CXX object examples/CMakeFiles/helloworld_analytic_diff.dir/helloworld_analytic_diff.cc.o
[ 94%] Linking CXX executable ../bin/helloworld_analytic_diff
[ 94%] Built target helloworld_analytic_diff
Scanning dependencies of target curve_fitting
[ 95%] Building CXX object examples/CMakeFiles/curve_fitting.dir/curve_fitting.cc.o
[ 96%] Linking CXX executable ../bin/curve_fitting
[ 96%] Built target curve_fitting
Scanning dependencies of target helloworld
[ 97%] Building CXX object examples/CMakeFiles/helloworld.dir/helloworld.cc.o
[ 97%] Linking CXX executable ../bin/helloworld
[ 97%] Built target helloworld
Scanning dependencies of target rosenbrock
[ 97%] Building CXX object examples/CMakeFiles/rosenbrock.dir/rosenbrock.cc.o
[ 98%] Linking CXX executable ../bin/rosenbrock
[ 98%] Built target rosenbrock
Scanning dependencies of target curve_fitting_c
[ 98%] Building C object examples/CMakeFiles/curve_fitting_c.dir/curve_fitting.c.o
[ 99%] Linking C executable ../bin/curve_fitting_c
[ 99%] Built target curve_fitting_c
Scanning dependencies of target sampled_function
[100%] Building CXX object examples/sampled_function/CMakeFiles/sampled_function.dir/sampled_function.cc.o
[100%] Linking CXX executable ../../bin/sampled_function
[100%] Built target sampled_function
==> Entering fakeroot environment...
==> Starting package()...
[ 87%] Built target ceres
[ 89%] Built target simple_bundle_adjuster
[ 90%] Built target robust_curve_fitting
[ 91%] Built target ellipse_approximation
[ 93%] Built target helloworld_numeric_diff
[ 94%] Built target helloworld_analytic_diff
[ 96%] Built target curve_fitting
[ 97%] Built target helloworld
[ 98%] Built target rosenbrock
[ 99%] Built target curve_fitting_c
[100%] Built target sampled_function
Install the project...
-- Install configuration: "Release"
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/autodiff_cost_function.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/autodiff_local_parameterization.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/c_api.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/ceres.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/conditioned_cost_function.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/context.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/cost_function.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/cost_function_to_functor.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/covariance.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/crs_matrix.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/cubic_interpolation.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/dynamic_autodiff_cost_function.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/dynamic_cost_function.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/dynamic_cost_function_to_functor.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/dynamic_numeric_diff_cost_function.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/evaluation_callback.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/fpclassify.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/gradient_checker.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/gradient_problem.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/gradient_problem_solver.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/iteration_callback.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/jet.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/local_parameterization.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/loss_function.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/normal_prior.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/numeric_diff_cost_function.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/numeric_diff_options.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/ordered_groups.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/problem.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/rotation.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/sized_cost_function.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/solver.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/tiny_solver.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/tiny_solver_autodiff_function.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/tiny_solver_cost_function_adapter.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/types.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/version.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/internal/autodiff.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/internal/disable_warnings.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/internal/eigen.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/internal/fixed_array.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/internal/macros.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/internal/manual_constructor.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/internal/numeric_diff.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/internal/port.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/internal/reenable_warnings.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/internal/scoped_ptr.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/internal/variadic_evaluate.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/include/ceres/internal/config.h
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/lib/cmake/Ceres/CeresTargets.cmake
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/lib/cmake/Ceres/CeresTargets-release.cmake
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/lib/cmake/Ceres/CeresConfig.cmake
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/lib/cmake/Ceres/CeresConfigVersion.cmake
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/lib/cmake/Ceres/FindEigen.cmake
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/lib/cmake/Ceres/FindGlog.cmake
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/lib/cmake/Ceres/FindGflags.cmake
-- Installing: /tmp/pamac-build-ghost/ceres-solver/pkg/ceres-solver/usr/lib/libceres.a
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> WARNING: Package contains reference to $srcdir
usr/lib/libceres.a
==> Creating package "ceres-solver"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: ceres-solver 1.14.0-1 (Wed 29 Aug 2018 07:29:35 PM PDT)
==> Cleaning up...

Resolving dependencies...
Checking inter-conflicts...
Checking keyring...
Checking integrity...
Loading packages files...
Checking file conflicts...
Checking available disk space...
Installing ceres-solver (1.14.0-1)...
Running post-transaction hooks...
Arming ConditionNeedsUpdate...

Building alice-vision...
Cloning into 'alice-vision'...
remote: Enumerating objects: 24, done.        
remote: Counting objects: 100% (24/24), done.        
remote: Compressing objects: 100% (22/22), done.        
remote: Total 24 (delta 2), reused 24 (delta 2)        
Unpacking objects: 100% (24/24), done.
==> Making package: alice-vision 1.0.r707.g4e0a3a99-1 (Wed 29 Aug 2018 07:29:37 PM PDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning alice-vision git repo...
Cloning into bare repository '/tmp/pamac-build-ghost/alice-vision/alice-vision'...
remote: Counting objects: 55526, done.        
remote: Compressing objects: 100% (150/150), done.        
remote: Total 55526 (delta 394), reused 445 (delta 358), pack-reused 55018        
Receiving objects: 100% (55526/55526), 33.93 MiB | 41.26 MiB/s, done.
Resolving deltas: 100% (42690/42690), done.
  -> Cloning osi_clp git repo...
Cloning into bare repository '/tmp/pamac-build-ghost/alice-vision/osi_clp'...
remote: Counting objects: 998, done.        
remote: Total 998 (delta 0), reused 0 (delta 0), pack-reused 998        
Receiving objects: 100% (998/998), 2.99 MiB | 10.90 MiB/s, done.
Resolving deltas: 100% (588/588), done.
  -> Cloning ute_lib git repo...
Cloning into bare repository '/tmp/pamac-build-ghost/alice-vision/ute_lib'...
remote: Counting objects: 8887, done.        
remote: Total 8887 (delta 0), reused 0 (delta 0), pack-reused 8887        
Receiving objects: 100% (8887/8887), 74.47 MiB | 36.65 MiB/s, done.
Resolving deltas: 100% (4743/4743), done.
  -> Cloning geogram git repo...
Cloning into bare repository '/tmp/pamac-build-ghost/alice-vision/geogram'...
remote: Counting objects: 6264, done.        
remote: Total 6264 (delta 0), reused 0 (delta 0), pack-reused 6263        
Receiving objects: 100% (6264/6264), 11.90 MiB | 25.01 MiB/s, done.
Resolving deltas: 100% (3937/3937), done.
==> Validating source files with md5sums...
    alice-vision ... Skipped
    osi_clp ... Skipped
    ute_lib ... Skipped
    geogram ... Skipped
==> Extracting sources...
  -> Creating working copy of alice-vision git repo...
Cloning into 'alice-vision'...
done.
Switched to a new branch 'makepkg'
  -> Creating working copy of osi_clp git repo...
Cloning into 'osi_clp'...
done.
  -> Creating working copy of ute_lib git repo...
Cloning into 'ute_lib'...
done.
  -> Creating working copy of geogram git repo...
Cloning into 'geogram'...
done.
==> Starting prepare()...
Submodule 'src/dependencies/MeshSDFilter' (https://github.com/alicevision/MeshSDFilter.git) registered for path 'src/dependencies/MeshSDFilter'
Submodule 'src/dependencies/nanoflann' (https://github.com/alicevision/nanoflann.git) registered for path 'src/dependencies/nanoflann'
Submodule 'src/dependencies/osi_clp' (https://github.com/alicevision/osi_clp.git) registered for path 'src/dependencies/osi_clp'
Cloning into '/tmp/pamac-build-ghost/alice-vision/src/alice-vision/src/dependencies/MeshSDFilter'...
Cloning into '/tmp/pamac-build-ghost/alice-vision/src/alice-vision/src/dependencies/nanoflann'...
Cloning into '/tmp/pamac-build-ghost/alice-vision/src/alice-vision/src/dependencies/osi_clp'...
done.
Submodule path 'src/dependencies/MeshSDFilter': checked out 'b7dfeed64be90f2eff49345cf65451b700d3a417'
Submodule path 'src/dependencies/nanoflann': checked out 'cc77e17934441dc82b33fd00e0a8a1398f24c928'
Submodule path 'src/dependencies/osi_clp': checked out '38ab28d1c5a53de13c8684cdc272b1deb8cef459'
==> Starting pkgver()...
==> Updated version: alice-vision 2.0.0.r8.g62c55519-1
==> Starting build()...
  -> Build uncertaintyTE library
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- Check for working C compiler: /bin/cc
-- Check for working C compiler: /bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /bin/c++
-- Check for working CXX compiler: /bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- 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
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- 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.1
-- > GFLAGS_INCLUDE_DIR:   //include;//include
-- > GFLAGS_LIBRARIES:   gflags_shared;gflags_shared
Found Eigen3.3.5
-- > 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.3.0") 
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
CMake Error at /lib64/cmake/Ceres/CeresConfig.cmake:88 (message):
  Failed to find Ceres - Ceres install root: /, determined from relative path
  from CeresConfig.cmake install location: /lib64/cmake/Ceres, does not
  contain Ceres headers.  Either the install directory was deleted, or the
  install tree was only partially relocated outside of CMake after Ceres was
  built.
Call Stack (most recent call first):
  /lib64/cmake/Ceres/CeresConfig.cmake:149 (ceres_report_not_found)
  CMakeLists.txt:137 (find_package)

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

    /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 "/tmp/pamac-build-ghost/alice-vision/src/ute_build/CMakeFiles/CMakeOutput.log".
See also "/tmp/pamac-build-ghost/alice-vision/src/ute_build/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().
    Aborting...
bartoszek commented 6 years ago

You have misconfigured CMake cache, dump them and start fresh CMake build - or use alica-vision@AUR

chazanov commented 5 years ago

[Out of scope question] @bartoszek Is it possible to compile AliceVision without magma (and so without CUDA)?

bartoszek commented 5 years ago

@chazanov I think it is. You can deisable UncertaintyTE library and drop magma. Than you just disable cuda in alice-vision and it should work fine. Please test if this PKGBUILD works on your system, I will incorporate those changes to AUR repository.

git clone -b no-cuda https://github.com/bartoszek/AUR-alice-vision.git
cd AUR-alice-vision
makepkg -sri
chazanov commented 5 years ago

@bartoszek Works perfectly, thanks! Do you know why AliceVision needs openblas-lapack and is not OK with Arch's lapack / openblas / cblas combo?

bartoszek commented 5 years ago

@chazanov You have a point there, it should be up to the user to decide which implementation of math libs to choice (openblas, atlas, straight lapack+black+cblas) :thinking: will change this as soon as I appropriate no-cuda branch for AUR deployment.

bartoszek commented 5 years ago

@chazanov Just pushed new version to AUR (without popping pkgrel for now, to postpone rebuild in case of an issue) which separates all libraries and allow user to choice witch one to build against. You can use one of DISABLE_CUDA=1 DISABLE_POPSIFT=1 and DISABLE_UTE=1 to restric build scope ( DISABLE_CUDA=1 also disable popsift and ute ). It also abstract blas/lapack/cblas providers so no longer depends on openblas-lapack. Could you test it, and report if it works for you :wink:

mratsim commented 5 years ago

Stumbled upon this due to a gflags issue on another AUR package.

You probably do not want to use the openblas package in community and use one of the openblas-lapack due to a crippling bug in packaging that generates wrong matrix multiplication result on float64 (at the very least): https://bugs.archlinux.org/task/63054

github-actions[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.