mapillary / mapillary/OpenSfM

error when building

Open
#696 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

installation
Dominant language
Python
Stars
3.8k
Forks
899
PR merge metrics
No merged PRs in 30d

Description

Configuring for python 3.6...
-- Found OpenMP_C: -fopenmp
-- Found OpenMP_CXX: -fopenmp
-- Found OpenMP: TRUE
-- A library with BLAS API found.
-- A library with LAPACK API found.
-- A library with BLAS API found.
-- Found AMD library: /usr/lib/x86_64-linux-gnu/libamd.so
-- Found AMD header in: /usr/include/suitesparse
-- Found CAMD library: /usr/lib/x86_64-linux-gnu/libcamd.so
-- Found CAMD header in: /usr/include/suitesparse
-- Found COLAMD library: /usr/lib/x86_64-linux-gnu/libcolamd.so
-- Found COLAMD header in: /usr/include/suitesparse
-- Found CCOLAMD library: /usr/lib/x86_64-linux-gnu/libccolamd.so
-- Found CCOLAMD header in: /usr/include/suitesparse
-- Found CHOLMOD library: /usr/lib/x86_64-linux-gnu/libcholmod.so
-- Found CHOLMOD header in: /usr/include/suitesparse
-- Found CXSPARSE library: /usr/lib/x86_64-linux-gnu/libcxsparse.so
-- Found SuiteSparseQR library: /usr/lib/x86_64-linux-gnu/libspqr.so
-- Found SuiteSparseQR header in: /usr/include/suitesparse
-- Found Intel Thread Building Blocks (TBB) library: /usr/lib/x86_64-linux-gnu/libtbb.so, assuming SuiteSparseQR was compiled with TBB.
-- Found Intel Thread Building Blocks (TBB) Malloc library: /usr/lib/x86_64-linux-gnu/libtbbmalloc.so
-- Found SuiteSparse_config library: /usr/lib/x86_64-linux-gnu/libsuitesparseconfig.so
-- Found SuiteSparse_config header in: /usr/include/suitesparse
-- Adding librt: /usr/lib/x86_64-linux-gnu/librt.so to SuiteSparse_config libraries (required on Linux & Unix [not OSX] if SuiteSparse is compiled with timing).
-- Did not find METIS library (optional SuiteSparse dependency)
-- 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: /usr/lib/x86_64-linux-gnu/cmake/gflags
-- Detected gflags version: 2.2.1
-- Found OpenCV: /usr (found version "3.2.0")
-- Found OpenCV: /usr (found version "3.2.0") found components: core imgproc calib3d imgcodecs
-- Found PythonInterp: /usr/bin/python3 (found version "3.6.9")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so
-- pybind11 v2.2.4
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/cmake_build
Compiling extension...
Scanning dependencies of target foundation
[ 4%] Built target akaze
[ 6%] Built target gtest
[ 38%] Built target vl
Scanning dependencies of target test_main
[ 38%] Building CXX object foundation/CMakeFiles/foundation.dir/src/newton_raphson.cc.o
[ 39%] Building CXX object foundation/CMakeFiles/foundation.dir/src/types.cc.o
[ 40%] Building CXX object CMakeFiles/test_main.dir/testing_main.cc.o
[ 41%] Building CXX object foundation/CMakeFiles/foundation.dir/src/numeric.cc.o
[ 42%] Linking CXX static library libtest_main.a
[ 42%] Built target test_main
[ 43%] Linking CXX static library libfoundation.a
[ 43%] Built target foundation
Scanning dependencies of target foundation_test
Scanning dependencies of target dense
Scanning dependencies of target bundle
Scanning dependencies of target geometry
[ 43%] Building CXX object dense/CMakeFiles/dense.dir/src/depthmap.cc.o
[ 44%] Building CXX object bundle/CMakeFiles/bundle.dir/src/bundle_adjuster.cc.o
[ 44%] Building CXX object geometry/CMakeFiles/geometry.dir/src/camera.cc.o
[ 45%] Building CXX object foundation/CMakeFiles/foundation_test.dir/test/newton_raphson_test.cc.o
In file included from /usr/local/include/ceres/internal/parameter_dims.h:37:0,
from /usr/local/include/ceres/internal/autodiff.h:151,
from /usr/local/include/ceres/autodiff_cost_function.h:130,
from /usr/local/include/ceres/ceres.h:37,
from /home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/../bundle_adjuster.h:13,
from /home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:1:
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:21: error: ‘integer_sequence’ is not a member of ‘std’
struct SumImpl<std::integer_sequence<T, N, Ns...>> {
^~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:21: error: ‘integer_sequence’ is not a member of ‘std’
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:46: error: wrong number of template arguments (3, should be 1)
struct SumImpl<std::integer_sequence<T, N, Ns...>> {
^~~
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:60:8: note: provided for ‘template struct ceres::internal::SumImpl’
struct SumImpl;
^~~~~~~
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:49: error: expected unqualified-id before ‘>’ token
struct SumImpl<std::integer_sequence<T, N, Ns...>> {
^~
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:71:21: error: ‘integer_sequence’ is not a member of ‘std’
struct SumImpl<std::integer_sequence<T, N1, N2, Ns...>> {
^~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:71:21: error: ‘integer_sequence’ is not a member of ‘std’
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:71:51: error: wrong number of template arguments (4, should be 1)
struct SumImpl<std::integer_sequence<T, N1, N2, Ns...>> {
^~~
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:60:8: note: provided for ‘template struct ceres::internal::SumImpl’
struct SumImpl;
^~~~~~~
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:71:54: error: expected unqualified-id before ‘>’ token
struct SumImpl<std::integer_sequence<T, N1, N2, Ns...>> {
^~
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:78:21: error: ‘integer_sequence’ is not a member of ‘std’
struct SumImpl<std::integer_sequence<T, N1, N2, N3, N4, Ns...>> {
^~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:78:21: error: ‘integer_sequence’ is not a member of ‘std’
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:78:59: error: wrong number of template arguments (6, should be 1)
struct SumImpl<std::integer_sequence<T, N1, N2, N3, N4, Ns...>> {
^~~
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:60:8: note: provided for ‘template struct ceres::internal::SumImpl’
struct SumImpl;
^~~~~~~
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:78:62: error: expected unqualified-id before ‘>’ token
struct SumImpl<std::integer_sequence<T, N1, N2, N3, N4, Ns...>> {
^~
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:85:21: error: ‘integer_sequence’ is not a member of ‘std’
struct SumImpl<std::integer_sequence<T, N>> {
^~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:85:21: error: ‘integer_sequence’ is not a member of ‘std’
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:85:41: error: wrong number of template arguments (2, should be 1)
struct SumImpl<std::integer_sequence<T, N>> {
^
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:60:8: note: provided for ‘template struct ceres::internal::SumImpl’
struct SumImpl;
^~~~~~~
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:85:42: error: expected unqualified-id before ‘>’ token
struct SumImpl<std::integer_sequence<T, N>> {
^~
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:91:21: error: ‘integer_sequence’ is not a member of ‘std’
struct SumImpl<std::integer_sequence> {
^~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:91:21: error: ‘integer_sequence’ is not a member of ‘std’
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:91:38: error: template argument 1 is invalid
struct SumImpl<std::integer_sequence> {
^
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:91:39: error: expected unqualified-id before ‘>’ token
struct SumImpl<std::integer_sequence> {
^~
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:135:31: error: ‘integer_sequence’ is not a member of ‘std’
std::integer_sequence<T, N, Ns...>,
^~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:135:31: error: ‘integer_sequence’ is not a member of ‘std’
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:135:59: error: template argument 3 is invalid
std::integer_sequence<T, N, Ns...>,
^
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:135:59: error: type/value mismatch at argument 4 in template parameter list for ‘template<class T, T Sum, class SeqIn, class SeqOut> struct ceres::internal::ExclusiveScanImpl’
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:135:59: note: expected a type, got ‘N’
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:146:39: error: ‘integer_sequence’ is not a member of ‘std’
struct ExclusiveScanImpl<T, Sum, std::integer_sequence, SeqOut> {
^~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:146:39: error: ‘integer_sequence’ is not a member of ‘std’
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:146:57: error: wrong number of template arguments (3, should be 4)
struct ExclusiveScanImpl<T, Sum, std::integer_sequence, SeqOut> {
^
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:130:8: note: provided for ‘template<class T, T Sum, class SeqIn, class SeqOut> struct ceres::internal::ExclusiveScanImpl’
struct ExclusiveScanImpl;
^~~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:160:53: error: ‘integer_sequence’ is not a member of ‘std’
typename ExclusiveScanImpl<T, T(0), Seq, std::integer_sequence>::Type;
^~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:160:53: error: ‘integer_sequence’ is not a member of ‘std’
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:160:70: error: template argument 4 is invalid
typename ExclusiveScanImpl<T, T(0), Seq, std::integer_sequence>::Type;
^
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:160:16: error: expected nested-name-specifier
typename ExclusiveScanImpl<T, T(0), Seq, std::integer_sequence>::Type;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/ceres/internal/autodiff.h:151:0,
from /usr/local/include/ceres/autodiff_cost_function.h:130,
from /usr/local/include/ceres/ceres.h:37,
from /home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/../bundle_adjuster.h:13,
from /home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:1:
/usr/local/include/ceres/internal/parameter_dims.h:44:55: error: ‘integer_sequence’ is not a member of ‘std’
constexpr bool IsValidParameterDimensionSequence(std::integer_sequence) {
^~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/parameter_dims.h:44:72: error: expected primary-expression before ‘int’
constexpr bool IsValidParameterDimensionSequence(std::integer_sequence) {
^~~
/usr/local/include/ceres/internal/parameter_dims.h:50:10: error: ‘template<int N, int ...Ts> constexpr const bool ceres::internal::IsValidParameterDimensionSequence’ redeclared as different kind of symbol
std::integer_sequence<int, N, Ts...>) {
^~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/parameter_dims.h:44:16: note: previous declaration ‘constexpr const bool ceres::internal::IsValidParameterDimensionSequence’
constexpr bool IsValidParameterDimensionSequence(std::integer_sequence) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/parameter_dims.h:50:10: error: ‘integer_sequence’ is not a member of ‘std’
std::integer_sequence<int, N, Ts...>) {
^~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/parameter_dims.h:50:27: error: expected primary-expression before ‘int’
std::integer_sequence<int, N, Ts...>) {
^~~
/usr/local/include/ceres/internal/parameter_dims.h:50:40: error: expected ‘)’ before ‘>’ token
std::integer_sequence<int, N, Ts...>) {
^
/usr/local/include/ceres/internal/parameter_dims.h:69:27: error: ‘integer_sequence’ in namespace ‘std’ does not name a template type
using Parameters = std::integer_sequence<int, Ns...>;
^~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/parameter_dims.h:74:41: error: there are no arguments to ‘Parameters’ that depend on a template parameter, so a declaration of ‘Parameters’ must be available [-fpermissive]
IsValidParameterDimensionSequence(Parameters());
^~~~~~~~~~
/usr/local/include/ceres/internal/parameter_dims.h:74:41: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/local/include/ceres/internal/parameter_dims.h:85:16: error: ‘integer_sequence’ is not a member of ‘std’
Sum<std::integer_sequence<int, Ns...>>::Value;
^~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/parameter_dims.h:85:16: error: ‘integer_sequence’ is not a member of ‘std’
/usr/local/include/ceres/internal/parameter_dims.h:85:43: error: template argument 1 is invalid
Sum<std::integer_sequence<int, Ns...>>::Value;
^~
/usr/local/include/ceres/internal/parameter_dims.h:101:20: error: ‘std::integer_sequence’ has not been declared
T* ptr, std::integer_sequence<int, Indices...>) {
^~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/parameter_dims.h:101:36: error: expected ‘,’ or ‘...’ before ‘<’ token
T* ptr, std::integer_sequence<int, Indices...>) {
^
/usr/local/include/ceres/internal/parameter_dims.h: In static member function ‘static std::array<T*, ceres::internal::ParameterDims<IsDynamic, Ns>::kNumParameterBlocks> ceres::internal::ParameterDims<IsDynamic, Ns>::GetUnpackedParameters(T*)’:
/usr/local/include/ceres/internal/parameter_dims.h:94:35: error: ‘Parameters’ was not declared in this scope
using Offsets = ExclusiveScan;
^~~~~~~~~~
/usr/local/include/ceres/internal/parameter_dims.h:94:35: note: suggested alternative: ‘ParameterDims’
using Offsets = ExclusiveScan;
^~~~~~~~~~
ParameterDims
/usr/local/include/ceres/internal/parameter_dims.h:94:45: error: template argument 1 is invalid
using Offsets = ExclusiveScan;
^
/usr/local/include/ceres/internal/parameter_dims.h:95:39: error: there are no arguments to ‘Offsets’ that depend on a template parameter, so a declaration of ‘Offsets’ must be available [-fpermissive]
return GetUnpackedParameters(ptr, Offsets());
^~~~~~~
In file included from /usr/local/include/ceres/internal/autodiff.h:152:0,
from /usr/local/include/ceres/autodiff_cost_function.h:130,
from /usr/local/include/ceres/ceres.h:37,
from /home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/../bundle_adjuster.h:13,
from /home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:1:
/usr/local/include/ceres/internal/variadic_evaluate.h: At global scope:
/usr/local/include/ceres/internal/variadic_evaluate.h:53:39: error: ‘std::integer_sequence’ has not been declared
std::integer_sequence<int, Indices...>) {
^~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/variadic_evaluate.h:53:55: error: expected ‘,’ or ‘...’ before ‘<’ token
std::integer_sequence<int, Indices...>) {
^
/usr/local/include/ceres/internal/variadic_evaluate.h:66:39: error: ‘std::integer_sequence’ has not been declared
std::integer_sequence) {
^~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/variadic_evaluate.h:66:55: error: expected ‘,’ or ‘...’ before ‘<’ token
std::integer_sequence) {
^
/usr/local/include/ceres/internal/variadic_evaluate.h: In function ‘bool ceres::internal::VariadicEvaluateImpl(const Functor&, const T* const*, T*, const void*)’:
/usr/local/include/ceres/internal/variadic_evaluate.h:77:12: error: ‘make_integer_sequence’ in namespace ‘std’ does not name a template type
std::make_integer_sequence<int, ParameterDims::kNumParameterBlocks>;
^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/variadic_evaluate.h:80:44: error: there are no arguments to ‘ParameterBlockIndices’ that depend on a template parameter, so a declaration of ‘ParameterBlockIndices’ must be available [-fpermissive]
functor, input, output, IsDynamic(), ParameterBlockIndices());
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/ceres/autodiff_cost_function.h:130:0,
from /usr/local/include/ceres/ceres.h:37,
from /home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/../bundle_adjuster.h:13,
from /home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:1:
/usr/local/include/ceres/internal/autodiff.h: At global scope:
/usr/local/include/ceres/internal/autodiff.h:217:39: error: ‘integer_sequence’ is not a member of ‘std’
struct Make1stOrderPerturbations<std::integer_sequence<int, N, Ns...>,
^~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/autodiff.h:217:39: error: ‘integer_sequence’ is not a member of ‘std’
/usr/local/include/ceres/internal/autodiff.h:217:69: error: template argument 1 is invalid
struct Make1stOrderPerturbations<std::integer_sequence<int, N, Ns...>,
^
/usr/local/include/ceres/internal/autodiff.h:232:39: error: ‘integer_sequence’ is not a member of ‘std’
struct Make1stOrderPerturbations<std::integer_sequence,
^~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/autodiff.h:232:39: error: ‘integer_sequence’ is not a member of ‘std’
/usr/local/include/ceres/internal/autodiff.h:232:59: error: template argument 1 is invalid
struct Make1stOrderPerturbations<std::integer_sequence,
^
/usr/local/include/ceres/internal/autodiff.h:282:31: error: ‘integer_sequence’ is not a member of ‘std’
struct Take1stOrderParts<std::integer_sequence<int, N, Ns...>,
^~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/autodiff.h:282:31: error: ‘integer_sequence’ is not a member of ‘std’
/usr/local/include/ceres/internal/autodiff.h:282:61: error: template argument 1 is invalid
struct Take1stOrderParts<std::integer_sequence<int, N, Ns...>,
^
/usr/local/include/ceres/internal/autodiff.h:298:31: error: ‘integer_sequence’ is not a member of ‘std’
struct Take1stOrderParts<std::integer_sequence, ParameterIdx, Offset> {
^~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/autodiff.h:298:31: error: ‘integer_sequence’ is not a member of ‘std’
/usr/local/include/ceres/internal/autodiff.h:298:51: error: template argument 1 is invalid
struct Take1stOrderParts<std::integer_sequence, ParameterIdx, Offset> {
^
In file included from /usr/local/include/ceres/ceres.h:42:0,
from /home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/../bundle_adjuster.h:13,
from /home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:1:
/usr/local/include/ceres/cost_function_to_functor.h:160:29: error: ‘std::integer_sequence’ has not been declared
std::integer_sequence<int, Indices...>) {
^~~~~~~~~~~~~~~~
/usr/local/include/ceres/cost_function_to_functor.h:160:45: error: expected ‘,’ or ‘...’ before ‘<’ token
std::integer_sequence<int, Indices...>) {
^
/usr/local/include/ceres/cost_function_to_functor.h: In member function ‘bool ceres::CostFunctionToFunctor<kNumResiduals, Ns>::operator()(const T*, Ts* ...) const’:
/usr/local/include/ceres/cost_function_to_functor.h:147:14: error: ‘make_integer_sequence’ in namespace ‘std’ does not name a template type
std::make_integer_sequence<int, ParameterDims::kNumParameterBlocks>;
^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/ceres/cost_function_to_functor.h:149:41: error: there are no arguments to ‘Indices’ that depend on a template parameter, so a declaration of ‘Indices’ must be available [-fpermissive]
GetParameterPointers(params, Indices());
^~~~~~~
In file included from /usr/local/include/ceres/dynamic_numeric_diff_cost_function.h:44:0,
from /usr/local/include/ceres/ceres.h:48,
from /home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/../bundle_adjuster.h:13,
from /home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:1:
/usr/local/include/ceres/internal/numeric_diff.h: At global scope:
/usr/local/include/ceres/internal/numeric_diff.h:445:48: error: ‘integer_sequence’ is not a member of ‘std’
std::integer_sequence<int, N, Ns...>,
^~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/numeric_diff.h:445:48: error: ‘integer_sequence’ is not a member of ‘std’
/usr/local/include/ceres/internal/numeric_diff.h:445:78: error: template argument 2 is invalid
std::integer_sequence<int, N, Ns...>,
^
/usr/local/include/ceres/internal/numeric_diff.h:490:48: error: ‘integer_sequence’ is not a member of ‘std’
std::integer_sequence,
^~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/numeric_diff.h:490:48: error: ‘integer_sequence’ is not a member of ‘std’
/usr/local/include/ceres/internal/numeric_diff.h:490:68: error: template argument 2 is invalid
std::integer_sequence,
^
In file included from /usr/local/include/ceres/internal/autodiff.h:151:0,
from /usr/local/include/ceres/autodiff_cost_function.h:130,
from /usr/local/include/ceres/ceres.h:37,
from /home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/../bundle_adjuster.h:13,
from /home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:1:
/usr/local/include/ceres/internal/parameter_dims.h: In instantiation of ‘constexpr const bool ceres::internal::ParameterDims<false, 1, 6, 3>::kIsValid’:
/usr/local/include/ceres/internal/parameter_dims.h:73:25: required from ‘class ceres::internal::ParameterDims<false, 1, 6, 3>’
/usr/local/include/ceres/sized_cost_function.h:49:47: required from ‘class ceres::SizedCostFunction<3, 1, 6, 3>’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/projection_errors.h:247:21: required from here
/usr/local/include/ceres/internal/parameter_dims.h:74:51: error: ‘Parameters’ was not declared in this scope
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
/usr/local/include/ceres/internal/parameter_dims.h:74:51: note: suggested alternative: ‘ParameterDims’
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
ParameterDims
/usr/local/include/ceres/internal/parameter_dims.h:74:40: error: ‘ceres::internal::IsValidParameterDimensionSequence’ cannot be used as a function
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/ceres/internal/parameter_dims.h: In instantiation of ‘constexpr const bool ceres::internal::ParameterDims<false, 4>::kIsValid’:
/usr/local/include/ceres/internal/parameter_dims.h:73:25: required from ‘class ceres::internal::ParameterDims<false, 4>’
/usr/local/include/ceres/sized_cost_function.h:49:47: required from ‘class ceres::SizedCostFunction<1, 4>’
/usr/local/include/ceres/autodiff_cost_function.h:154:7: required from ‘class ceres::AutoDiffCostFunction<BAParameterBarrier, 1, 4>’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:555:56: required from here
/usr/local/include/ceres/internal/parameter_dims.h:74:51: error: ‘Parameters’ was not declared in this scope
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
/usr/local/include/ceres/internal/parameter_dims.h:74:51: note: suggested alternative: ‘ParameterDims’
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
ParameterDims
/usr/local/include/ceres/internal/parameter_dims.h:74:40: error: ‘ceres::internal::IsValidParameterDimensionSequence’ cannot be used as a function
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/ceres/internal/parameter_dims.h: In instantiation of ‘constexpr const bool ceres::internal::ParameterDims<false, 6>::kIsValid’:
/usr/local/include/ceres/internal/parameter_dims.h:73:25: required from ‘class ceres::internal::ParameterDims<false, 6>’
/usr/local/include/ceres/sized_cost_function.h:49:47: required from ‘class ceres::SizedCostFunction<3, 6>’
/usr/local/include/ceres/autodiff_cost_function.h:154:7: required from ‘class ceres::AutoDiffCostFunction<RotationPriorError, 3, 6>’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:596:66: required from here
/usr/local/include/ceres/internal/parameter_dims.h:74:51: error: ‘Parameters’ was not declared in this scope
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
/usr/local/include/ceres/internal/parameter_dims.h:74:51: note: suggested alternative: ‘ParameterDims’
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
ParameterDims
/usr/local/include/ceres/internal/parameter_dims.h:74:40: error: ‘ceres::internal::IsValidParameterDimensionSequence’ cannot be used as a function
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/ceres/internal/parameter_dims.h: In instantiation of ‘constexpr const bool ceres::internal::ParameterDims<false, 3>::kIsValid’:
/usr/local/include/ceres/internal/parameter_dims.h:73:25: required from ‘class ceres::internal::ParameterDims<false, 3>’
/usr/local/include/ceres/sized_cost_function.h:49:47: required from ‘class ceres::SizedCostFunction<3, 3>’
/usr/local/include/ceres/autodiff_cost_function.h:154:7: required from ‘class ceres::AutoDiffCostFunction<PointPositionPriorError, 3, 3>’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:623:71: required from here
/usr/local/include/ceres/internal/parameter_dims.h:74:51: error: ‘Parameters’ was not declared in this scope
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
/usr/local/include/ceres/internal/parameter_dims.h:74:51: note: suggested alternative: ‘ParameterDims’
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
ParameterDims
/usr/local/include/ceres/internal/parameter_dims.h:74:40: error: ‘ceres::internal::IsValidParameterDimensionSequence’ cannot be used as a function
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/ceres/internal/parameter_dims.h: In instantiation of ‘constexpr const bool ceres::internal::ParameterDims<false, 6, 1, 6>::kIsValid’:
/usr/local/include/ceres/internal/parameter_dims.h:73:25: required from ‘class ceres::internal::ParameterDims<false, 6, 1, 6>’
/usr/local/include/ceres/sized_cost_function.h:49:47: required from ‘class ceres::SizedCostFunction<6, 6, 1, 6>’
/usr/local/include/ceres/autodiff_cost_function.h:154:7: required from ‘class ceres::AutoDiffCostFunction<BARelativeMotionError, 6, 6, 1, 6>’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:653:70: required from here
/usr/local/include/ceres/internal/parameter_dims.h:74:51: error: ‘Parameters’ was not declared in this scope
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
/usr/local/include/ceres/internal/parameter_dims.h:74:51: note: suggested alternative: ‘ParameterDims’
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
ParameterDims
/usr/local/include/ceres/internal/parameter_dims.h:74:40: error: ‘ceres::internal::IsValidParameterDimensionSequence’ cannot be used as a function
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/ceres/internal/parameter_dims.h: In instantiation of ‘constexpr const bool ceres::internal::ParameterDims<false, 6, 1, 6, 1>::kIsValid’:
/usr/local/include/ceres/internal/parameter_dims.h:73:25: required from ‘class ceres::internal::ParameterDims<false, 6, 1, 6, 1>’
/usr/local/include/ceres/sized_cost_function.h:49:47: required from ‘class ceres::SizedCostFunction<7, 6, 1, 6, 1>’
/usr/local/include/ceres/autodiff_cost_function.h:154:7: required from ‘class ceres::AutoDiffCostFunction<BARelativeSimilarityError, 7, 6, 1, 6, 1>’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:671:54: required from here
/usr/local/include/ceres/internal/parameter_dims.h:74:51: error: ‘Parameters’ was not declared in this scope
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
/usr/local/include/ceres/internal/parameter_dims.h:74:51: note: suggested alternative: ‘ParameterDims’
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
ParameterDims
/usr/local/include/ceres/internal/parameter_dims.h:74:40: error: ‘ceres::internal::IsValidParameterDimensionSequence’ cannot be used as a function
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/ceres/internal/parameter_dims.h: In instantiation of ‘constexpr const bool ceres::internal::ParameterDims<false, 6, 6>::kIsValid’:
/usr/local/include/ceres/internal/parameter_dims.h:73:25: required from ‘class ceres::internal::ParameterDims<false, 6, 6>’
/usr/local/include/ceres/sized_cost_function.h:49:47: required from ‘class ceres::SizedCostFunction<3, 6, 6>’
/usr/local/include/ceres/autodiff_cost_function.h:154:7: required from ‘class ceres::AutoDiffCostFunction<BARelativeRotationError, 3, 6, 6>’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:687:70: required from here
/usr/local/include/ceres/internal/parameter_dims.h:74:51: error: ‘Parameters’ was not declared in this scope
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
/usr/local/include/ceres/internal/parameter_dims.h:74:51: note: suggested alternative: ‘ParameterDims’
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
ParameterDims
/usr/local/include/ceres/internal/parameter_dims.h:74:40: error: ‘ceres::internal::IsValidParameterDimensionSequence’ cannot be used as a function
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/ceres/internal/parameter_dims.h: In instantiation of ‘constexpr const bool ceres::internal::ParameterDims<false, 1>::kIsValid’:
/usr/local/include/ceres/internal/parameter_dims.h:73:25: required from ‘class ceres::internal::ParameterDims<false, 1>’
/usr/local/include/ceres/sized_cost_function.h:49:47: required from ‘class ceres::SizedCostFunction<1, 1>’
/usr/local/include/ceres/autodiff_cost_function.h:154:7: required from ‘class ceres::AutoDiffCostFunction<BAStdDeviationConstraint, 1, 1>’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:750:45: required from here
/usr/local/include/ceres/internal/parameter_dims.h:74:51: error: ‘Parameters’ was not declared in this scope
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
/usr/local/include/ceres/internal/parameter_dims.h:74:51: note: suggested alternative: ‘ParameterDims’
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
ParameterDims
/usr/local/include/ceres/internal/parameter_dims.h:74:40: error: ‘ceres::internal::IsValidParameterDimensionSequence’ cannot be used as a function
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/ceres/internal/parameter_dims.h: In instantiation of ‘constexpr const bool ceres::internal::ParameterDims<false, 6, 6, 6>::kIsValid’:
/usr/local/include/ceres/internal/parameter_dims.h:73:25: required from ‘class ceres::internal::ParameterDims<false, 6, 6, 6>’
/usr/local/include/ceres/sized_cost_function.h:49:47: required from ‘class ceres::SizedCostFunction<6, 6, 6, 6>’
/usr/local/include/ceres/autodiff_cost_function.h:154:7: required from ‘class ceres::AutoDiffCostFunction<BALinearMotionError, 6, 6, 6, 6>’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:814:65: required from here
/usr/local/include/ceres/internal/parameter_dims.h:74:51: error: ‘Parameters’ was not declared in this scope
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
/usr/local/include/ceres/internal/parameter_dims.h:74:51: note: suggested alternative: ‘ParameterDims’
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
ParameterDims
/usr/local/include/ceres/internal/parameter_dims.h:74:40: error: ‘ceres::internal::IsValidParameterDimensionSequence’ cannot be used as a function
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
[ 46%] Building CXX object foundation/CMakeFiles/foundation_test.dir/test/union_find_test.cc.o
/usr/local/include/ceres/internal/parameter_dims.h: In instantiation of ‘constexpr const bool ceres::internal::ParameterDims<false, 3, 6, 3>::kIsValid’:
/usr/local/include/ceres/internal/parameter_dims.h:73:25: required from ‘class ceres::internal::ParameterDims<false, 3, 6, 3>’
/usr/local/include/ceres/sized_cost_function.h:49:47: required from ‘class ceres::SizedCostFunction<2, 3, 6, 3>’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/projection_errors.h:135:7: required from ‘class ReprojectionError2DAnalytic<3>’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:446:23: required from ‘static void AddProjectionError::Apply(bool, const BAPointProjectionObservation&, ceres::LossFunction*, ceres::Problem*) [with T = ProjectGeneric<PerspectiveProjection, Disto24, UniformScale>]’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/geometry/camera_functions.h:1449:46: required from ‘void Dispatch(const ProjectionType&, IN&& ...) [with FUNC = AddProjectionError; IN = {bool&, BAPointProjectionObservation&, ceres::LossFunction*&, ceres::Problem*}]’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:589:59: required from here
/usr/local/include/ceres/internal/parameter_dims.h:74:51: error: ‘Parameters’ was not declared in this scope
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
/usr/local/include/ceres/internal/parameter_dims.h:74:51: note: suggested alternative: ‘ParameterDims’
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
ParameterDims
/usr/local/include/ceres/internal/parameter_dims.h:74:40: error: ‘ceres::internal::IsValidParameterDimensionSequence’ cannot be used as a function
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/ceres/internal/parameter_dims.h: In instantiation of ‘constexpr const bool ceres::internal::ParameterDims<false, 9, 6, 3>::kIsValid’:
/usr/local/include/ceres/internal/parameter_dims.h:73:25: required from ‘class ceres::internal::ParameterDims<false, 9, 6, 3>’
/usr/local/include/ceres/sized_cost_function.h:49:47: required from ‘class ceres::SizedCostFunction<2, 9, 6, 3>’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/projection_errors.h:135:7: required from ‘class ReprojectionError2DAnalytic<9>’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:446:23: required from ‘static void AddProjectionError::Apply(bool, const BAPointProjectionObservation&, ceres::LossFunction*, ceres::Problem*) [with T = ProjectGeneric<PerspectiveProjection, DistoBrown, Affine>]’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/geometry/camera_functions.h:1452:40: required from ‘void Dispatch(const ProjectionType&, IN&& ...) [with FUNC = AddProjectionError; IN = {bool&, BAPointProjectionObservation&, ceres::LossFunction*&, ceres::Problem*}]’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:589:59: required from here
/usr/local/include/ceres/internal/parameter_dims.h:74:51: error: ‘Parameters’ was not declared in this scope
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
/usr/local/include/ceres/internal/parameter_dims.h:74:51: note: suggested alternative: ‘ParameterDims’
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
ParameterDims
/usr/local/include/ceres/internal/parameter_dims.h:74:40: error: ‘ceres::internal::IsValidParameterDimensionSequence’ cannot be used as a function
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/ceres/internal/parameter_dims.h: In instantiation of ‘constexpr const bool ceres::internal::ParameterDims<false, 8, 6, 3>::kIsValid’:
/usr/local/include/ceres/internal/parameter_dims.h:73:25: required from ‘class ceres::internal::ParameterDims<false, 8, 6, 3>’
/usr/local/include/ceres/sized_cost_function.h:49:47: required from ‘class ceres::SizedCostFunction<2, 8, 6, 3>’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/projection_errors.h:135:7: required from ‘class ReprojectionError2DAnalytic<8>’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:446:23: required from ‘static void AddProjectionError::Apply(bool, const BAPointProjectionObservation&, ceres::LossFunction*, ceres::Problem*) [with T = ProjectGeneric<FisheyeProjection, Disto2468, Affine>]’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/geometry/camera_functions.h:1458:48: required from ‘void Dispatch(const ProjectionType&, IN&& ...) [with FUNC = AddProjectionError; IN = {bool&, BAPointProjectionObservation&, ceres::LossFunction*&, ceres::Problem*}]’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:589:59: required from here
/usr/local/include/ceres/internal/parameter_dims.h:74:51: error: ‘Parameters’ was not declared in this scope
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
/usr/local/include/ceres/internal/parameter_dims.h:74:51: note: suggested alternative: ‘ParameterDims’
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
ParameterDims
/usr/local/include/ceres/internal/parameter_dims.h:74:40: error: ‘ceres::internal::IsValidParameterDimensionSequence’ cannot be used as a function
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/ceres/internal/parameter_dims.h: In instantiation of ‘constexpr const bool ceres::internal::ParameterDims<false, 12, 6, 3>::kIsValid’:
/usr/local/include/ceres/internal/parameter_dims.h:73:25: required from ‘class ceres::internal::ParameterDims<false, 12, 6, 3>’
/usr/local/include/ceres/sized_cost_function.h:49:47: required from ‘class ceres::SizedCostFunction<2, 12, 6, 3>’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/projection_errors.h:135:7: required from ‘class ReprojectionError2DAnalytic<12>’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:446:23: required from ‘static void AddProjectionError::Apply(bool, const BAPointProjectionObservation&, ceres::LossFunction*, ceres::Problem*) [with T = ProjectGeneric<FisheyeProjection, Disto62, Affine>]’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/geometry/camera_functions.h:1461:44: required from ‘void Dispatch(const ProjectionType&, IN&& ...) [with FUNC = AddProjectionError; IN = {bool&, BAPointProjectionObservation&, ceres::LossFunction*&, ceres::Problem*}]’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:589:59: required from here
/usr/local/include/ceres/internal/parameter_dims.h:74:51: error: ‘Parameters’ was not declared in this scope
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
/usr/local/include/ceres/internal/parameter_dims.h:74:51: note: suggested alternative: ‘ParameterDims’
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
ParameterDims
/usr/local/include/ceres/internal/parameter_dims.h:74:40: error: ‘ceres::internal::IsValidParameterDimensionSequence’ cannot be used as a function
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/ceres/internal/parameter_dims.h: In instantiation of ‘constexpr const bool ceres::internal::ParameterDims<false, 6, 6, 3>::kIsValid’:
/usr/local/include/ceres/internal/parameter_dims.h:73:25: required from ‘class ceres::internal::ParameterDims<false, 6, 6, 3>’
/usr/local/include/ceres/sized_cost_function.h:49:47: required from ‘class ceres::SizedCostFunction<2, 6, 6, 3>’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/projection_errors.h:135:7: required from ‘class ReprojectionError2DAnalytic<6>’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:446:23: required from ‘static void AddProjectionError::Apply(bool, const BAPointProjectionObservation&, ceres::LossFunction*, ceres::Problem*) [with T = ProjectGeneric<PerspectiveProjection, Disto24, Affine>]’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/geometry/camera_functions.h:1464:41: required from ‘void Dispatch(const ProjectionType&, IN&& ...) [with FUNC = AddProjectionError; IN = {bool&, BAPointProjectionObservation&, ceres::LossFunction*&, ceres::Problem*}]’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:589:59: required from here
/usr/local/include/ceres/internal/parameter_dims.h:74:51: error: ‘Parameters’ was not declared in this scope
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
/usr/local/include/ceres/internal/parameter_dims.h:74:51: note: suggested alternative: ‘ParameterDims’
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
ParameterDims
/usr/local/include/ceres/internal/parameter_dims.h:74:40: error: ‘ceres::internal::IsValidParameterDimensionSequence’ cannot be used as a function
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/ceres/internal/parameter_dims.h: In instantiation of ‘constexpr const bool ceres::internal::ParameterDims<false, 5, 6, 3>::kIsValid’:
/usr/local/include/ceres/internal/parameter_dims.h:73:25: required from ‘class ceres::internal::ParameterDims<false, 5, 6, 3>’
/usr/local/include/ceres/sized_cost_function.h:49:47: required from ‘class ceres::SizedCostFunction<2, 5, 6, 3>’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/projection_errors.h:135:7: required from ‘class ReprojectionError2DAnalytic<5>’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:446:23: required from ‘static void AddProjectionError::Apply(bool, const BAPointProjectionObservation&, ceres::LossFunction*, ceres::Problem*) [with T = ProjectGeneric<PerspectiveProjection, Disto2, Affine>]’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/geometry/camera_functions.h:1467:47: required from ‘void Dispatch(const ProjectionType&, IN&& ...) [with FUNC = AddProjectionError; IN = {bool&, BAPointProjectionObservation&, ceres::LossFunction*&, ceres::Problem*}]’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:589:59: required from here
/usr/local/include/ceres/internal/parameter_dims.h:74:51: error: ‘Parameters’ was not declared in this scope
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
/usr/local/include/ceres/internal/parameter_dims.h:74:51: note: suggested alternative: ‘ParameterDims’
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
ParameterDims
/usr/local/include/ceres/internal/parameter_dims.h:74:40: error: ‘ceres::internal::IsValidParameterDimensionSequence’ cannot be used as a function
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/ceres/internal/parameter_dims.h: In instantiation of ‘constexpr const bool ceres::internal::ParameterDims<false, 4, 6, 3>::kIsValid’:
/usr/local/include/ceres/internal/parameter_dims.h:73:25: required from ‘class ceres::internal::ParameterDims<false, 4, 6, 3>’
/usr/local/include/ceres/sized_cost_function.h:49:47: required from ‘class ceres::SizedCostFunction<2, 4, 6, 3>’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/projection_errors.h:135:7: required from ‘class ReprojectionError2DAnalytic<4>’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:446:23: required from ‘static void AddProjectionError::Apply(bool, const BAPointProjectionObservation&, ceres::LossFunction*, ceres::Problem*) [with T = ProjectGeneric<DualProjection, Disto24, UniformScale>]’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/geometry/camera_functions.h:1470:39: required from ‘void Dispatch(const ProjectionType&, IN&& ...) [with FUNC = AddProjectionError; IN = {bool&, BAPointProjectionObservation&, ceres::LossFunction*&, ceres::Problem*}]’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:589:59: required from here
/usr/local/include/ceres/internal/parameter_dims.h:74:51: error: ‘Parameters’ was not declared in this scope
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
/usr/local/include/ceres/internal/parameter_dims.h:74:51: note: suggested alternative: ‘ParameterDims’
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
ParameterDims
/usr/local/include/ceres/internal/parameter_dims.h:74:40: error: ‘ceres::internal::IsValidParameterDimensionSequence’ cannot be used as a function
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/ceres/internal/parameter_dims.h: In instantiation of ‘constexpr const bool ceres::internal::ParameterDims<false, 9>::kIsValid’:
/usr/local/include/ceres/internal/parameter_dims.h:73:25: required from ‘class ceres::internal::ParameterDims<false, 9>’
/usr/local/include/ceres/sized_cost_function.h:49:47: required from ‘class ceres::SizedCostFunction<9, 9>’
/usr/local/include/ceres/autodiff_cost_function.h:154:7: required from ‘class ceres::AutoDiffCostFunction<BADataPriorError, 9, 9>’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:512:9: required from ‘static void AddCameraPriorlError::Apply(BACamera&, ceres::Problem*) [with T = ProjectGeneric<PerspectiveProjection, DistoBrown, Affine>]’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/geometry/camera_functions.h:1452:40: required from ‘void Dispatch(const ProjectionType&, IN&& ...) [with FUNC = AddCameraPriorlError; IN = {BACamera&, ceres::Problem*}]’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:631:71: required from here
/usr/local/include/ceres/internal/parameter_dims.h:74:51: error: ‘Parameters’ was not declared in this scope
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
/usr/local/include/ceres/internal/parameter_dims.h:74:51: note: suggested alternative: ‘ParameterDims’
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
ParameterDims
/usr/local/include/ceres/internal/parameter_dims.h:74:40: error: ‘ceres::internal::IsValidParameterDimensionSequence’ cannot be used as a function
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/ceres/internal/parameter_dims.h: In instantiation of ‘constexpr const bool ceres::internal::ParameterDims<false, 8>::kIsValid’:
/usr/local/include/ceres/internal/parameter_dims.h:73:25: required from ‘class ceres::internal::ParameterDims<false, 8>’
/usr/local/include/ceres/sized_cost_function.h:49:47: required from ‘class ceres::SizedCostFunction<8, 8>’
/usr/local/include/ceres/autodiff_cost_function.h:154:7: required from ‘class ceres::AutoDiffCostFunction<BADataPriorError, 8, 8>’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:512:9: required from ‘static void AddCameraPriorlError::Apply(BACamera&, ceres::Problem*) [with T = ProjectGeneric<FisheyeProjection, Disto2468, Affine>]’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/geometry/camera_functions.h:1458:48: required from ‘void Dispatch(const ProjectionType&, IN&& ...) [with FUNC = AddCameraPriorlError; IN = {BACamera&, ceres::Problem*}]’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:631:71: required from here
/usr/local/include/ceres/internal/parameter_dims.h:74:51: error: ‘Parameters’ was not declared in this scope
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
/usr/local/include/ceres/internal/parameter_dims.h:74:51: note: suggested alternative: ‘ParameterDims’
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
ParameterDims
/usr/local/include/ceres/internal/parameter_dims.h:74:40: error: ‘ceres::internal::IsValidParameterDimensionSequence’ cannot be used as a function
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/ceres/internal/parameter_dims.h: In instantiation of ‘constexpr const bool ceres::internal::ParameterDims<false, 12>::kIsValid’:
/usr/local/include/ceres/internal/parameter_dims.h:73:25: required from ‘class ceres::internal::ParameterDims<false, 12>’
/usr/local/include/ceres/sized_cost_function.h:49:47: required from ‘class ceres::SizedCostFunction<12, 12>’
/usr/local/include/ceres/autodiff_cost_function.h:154:7: required from ‘class ceres::AutoDiffCostFunction<BADataPriorError, 12, 12>’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:512:9: required from ‘static void AddCameraPriorlError::Apply(BACamera&, ceres::Problem*) [with T = ProjectGeneric<FisheyeProjection, Disto62, Affine>]’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/geometry/camera_functions.h:1461:44: required from ‘void Dispatch(const ProjectionType&, IN&& ...) [with FUNC = AddCameraPriorlError; IN = {BACamera&, ceres::Problem*}]’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:631:71: required from here
/usr/local/include/ceres/internal/parameter_dims.h:74:51: error: ‘Parameters’ was not declared in this scope
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
/usr/local/include/ceres/internal/parameter_dims.h:74:51: note: suggested alternative: ‘ParameterDims’
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
ParameterDims
/usr/local/include/ceres/internal/parameter_dims.h:74:40: error: ‘ceres::internal::IsValidParameterDimensionSequence’ cannot be used as a function
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/include/ceres/internal/parameter_dims.h: In instantiation of ‘constexpr const bool ceres::internal::ParameterDims<false, 5>::kIsValid’:
/usr/local/include/ceres/internal/parameter_dims.h:73:25: required from ‘class ceres::internal::ParameterDims<false, 5>’
/usr/local/include/ceres/sized_cost_function.h:49:47: required from ‘class ceres::SizedCostFunction<5, 5>’
/usr/local/include/ceres/autodiff_cost_function.h:154:7: required from ‘class ceres::AutoDiffCostFunction<BADataPriorError, 5, 5>’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:512:9: required from ‘static void AddCameraPriorlError::Apply(BACamera&, ceres::Problem*) [with T = ProjectGeneric<PerspectiveProjection, Disto2, Affine>]’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/geometry/camera_functions.h:1467:47: required from ‘void Dispatch(const ProjectionType&, IN&& ...) [with FUNC = AddCameraPriorlError; IN = {BACamera&, ceres::Problem*}]’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:631:71: required from here
/usr/local/include/ceres/internal/parameter_dims.h:74:51: error: ‘Parameters’ was not declared in this scope
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
/usr/local/include/ceres/internal/parameter_dims.h:74:51: note: suggested alternative: ‘ParameterDims’
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~^~
ParameterDims
/usr/local/include/ceres/internal/parameter_dims.h:74:40: error: ‘ceres::internal::IsValidParameterDimensionSequence’ cannot be used as a function
IsValidParameterDimensionSequence(Parameters());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
[ 47%] Linking CXX static library libdense.a
[ 48%] Building CXX object geometry/CMakeFiles/geometry.dir/src/essential.cc.o
[ 48%] Built target dense
[ 49%] Building CXX object geometry/CMakeFiles/geometry.dir/src/triangulation.cc.o
[ 50%] Linking CXX executable foundation_test
[ 50%] Built target foundation_test
[ 51%] Building CXX object geometry/CMakeFiles/geometry.dir/src/absolute_pose.cc.o
Scanning dependencies of target features
[ 52%] Building CXX object features/CMakeFiles/features.dir/src/akaze_bind.cc.o
In file included from /usr/local/include/ceres/autodiff_cost_function.h:130:0,
from /usr/local/include/ceres/ceres.h:37,
from /home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/../bundle_adjuster.h:13,
from /home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:1:
/usr/local/include/ceres/internal/autodiff.h: In instantiation of ‘bool ceres::internal::AutoDifferentiate(const Functor&, const T* const*, int, T*, T**) [with int kNumResiduals = 1; ParameterDims = ceres::internal::ParameterDims<false, 1>; Functor = BADataPriorError; T = double]’:
/usr/local/include/ceres/autodiff_cost_function.h:210:69: required from ‘bool ceres::AutoDiffCostFunction<CostFunctor, kNumResiduals, Ns>::Evaluate(const double* const*, double*, double**) const [with CostFunctor = BADataPriorError; int kNumResiduals = 1; int ...Ns = {1}]’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:969:1: required from here
/usr/local/include/ceres/internal/autodiff.h:315:56: error: no type named ‘Parameters’ in ‘class ceres::internal::ParameterDims<false, 1>’
using Parameters = typename ParameterDims::Parameters;
^
/usr/local/include/ceres/internal/autodiff.h:348:47: error: no type named ‘Parameters’ in ‘class ceres::internal::ParameterDims<false, 1>’
Make1stOrderPerturbations::Apply(parameters,

                                             parameters_as_jets.data());
                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/autodiff.h:357:39: error: no type named ‘Parameters’ in ‘class ceres::internal::ParameterDims<false, 1>’
Take1stOrderParts<Parameters>::Apply(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    num_outputs, residuals_as_jets.data(), jacobians);
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/autodiff.h: In instantiation of ‘bool ceres::internal::AutoDifferentiate(const Functor&, const T* const*, int, T*, T**) [with int kNumResiduals = 4; ParameterDims = ceres::internal::ParameterDims<false, 4>; Functor = BADataPriorError<Camera>; T = double]’:
/usr/local/include/ceres/autodiff_cost_function.h:210:69:   required from ‘bool ceres::AutoDiffCostFunction<CostFunctor, kNumResiduals, Ns>::Evaluate(const double* const*, double*, double**) const [with CostFunctor = BADataPriorError<Camera>; int kNumResiduals = 4; int ...Ns = {4}]’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:969:1:   required from here
/usr/local/include/ceres/internal/autodiff.h:315:56: error: no type named ‘Parameters’ in ‘class ceres::internal::ParameterDims<false, 4>’
using Parameters = typename ParameterDims::Parameters;
                                                     ^
/usr/local/include/ceres/internal/autodiff.h:348:47: error: no type named ‘Parameters’ in ‘class ceres::internal::ParameterDims<false, 4>’
Make1stOrderPerturbations<Parameters>::Apply(parameters,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
                                             parameters_as_jets.data());
                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/autodiff.h:357:39: error: no type named ‘Parameters’ in ‘class ceres::internal::ParameterDims<false, 4>’
Take1stOrderParts<Parameters>::Apply(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    num_outputs, residuals_as_jets.data(), jacobians);
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/autodiff.h: In instantiation of ‘bool ceres::internal::AutoDifferentiate(const Functor&, const T* const*, int, T*, T**) [with int kNumResiduals = 6; ParameterDims = ceres::internal::ParameterDims<false, 6>; Functor = BADataPriorError<Camera>; T = double]’:
/usr/local/include/ceres/autodiff_cost_function.h:210:69:   required from ‘bool ceres::AutoDiffCostFunction<CostFunctor, kNumResiduals, Ns>::Evaluate(const double* const*, double*, double**) const [with CostFunctor = BADataPriorError<Camera>; int kNumResiduals = 6; int ...Ns = {6}]’
/home/ric/Documents/ENSTA/3/ProjetTutore/OpenSfM/opensfm/src/bundle/src/bundle_adjuster.cc:969:1:   required from here
/usr/local/include/ceres/internal/autodiff.h:315:56: error: no type named ‘Parameters’ in ‘class ceres::internal::ParameterDims<false, 6>’
using Parameters = typename ParameterDims::Parameters;
                                                     ^
/usr/local/include/ceres/internal/autodiff.h:348:47: error: no type named ‘Parameters’ in ‘class ceres::internal::ParameterDims<false, 6>’
Make1stOrderPerturbations<Parameters>::Apply(parameters,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
                                             parameters_as_jets.data());
                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/autodiff.h:357:39: error: no type named ‘Parameters’ in ‘class ceres::internal::ParameterDims<false, 6>’
Take1stOrderParts<Parameters>::Apply(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    num_outputs, residuals_as_jets.data(), jacobians);
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/autodiff.h: In instantiation of ‘bool ceres::internal::AutoDifferentiate(const Functor&, const T* const*

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the CMake build from the reported cmake_build directory and inspect the failure reached through bundle/src/bundle_adjuster.cc. Compare the configured Python and compiler/dependency versions with the Ceres headers producing the std::integer_sequence errors. Done means the project configures and completes the reported build successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp, opencv, python
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.