Open Ric-27 opened 3 years ago
Exactly the same error message for me. Using the docker file.
Exactly the same error message for me. Using the docker file.
I resolved this issue today on my side. It was caused by not allocating enough MEMORY to docker. I increased from 2MB RAM to the maximum (8MB RAM). Then everything worked smooth.
Are you building from 0.5.1
tag? It has CXX STANDARD forced to 11 and your ceres uses features from c++14
Configuring for python 3.6... -- Found OpenMP_C: -fopenmp struct ceres::internal::SumImpl’
struct SumImpl;
^ struct ceres::internal::SumImpl’
struct SumImpl;
^ struct ceres::internal::SumImpl’
struct SumImpl;
^ struct ceres::internal::SumImpl’
struct SumImpl;
^> {
^> {
^
/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...>,
^, SeqOut> {
^, 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;
^>::Type;
^>::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;
^) {
^) {
^~~
/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: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());
^) {
^) {
^
/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/autodiff.h:282:31: error: ‘integer_sequence’ is not a member of ‘std’
struct Take1stOrderParts<std::integer_sequence<int, N, Ns...>,
^, ParameterIdx, Offset> {
^, 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...>) {
^(params, Indices());
^,
^,
^
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());
-- 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~~ /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~~ /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~~ /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~~ /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: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~~~/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~~~~ /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~~~/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~~~~~~~~~~~~~~ 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: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~~ 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: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’ /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~~~/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~~~/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~~ 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/usr/local/include/ceres/internal/autodiff.h:357:39: error: no type named ‘Parameters’ in ‘class ceres::internal::ParameterDims<false, 1>’ Take1stOrderParts::Apply(
/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; 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 = 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::Apply(parameters,
/usr/local/include/ceres/internal/autodiff.h:357:39: error: no type named ‘Parameters’ in ‘class ceres::internal::ParameterDims<false, 4>’ Take1stOrderParts::Apply(
/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; 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 = 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::Apply(parameters,
/usr/local/include/ceres/internal/autodiff.h:357:39: error: no type named ‘Parameters’ in ‘class ceres::internal::ParameterDims<false, 6>’ Take1stOrderParts::Apply(
/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 = 3; ParameterDims = ceres::internal::ParameterDims<false, 3>; 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 = 3; int ...Ns = {3}]’
/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, 3>’
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, 3>’
Make1stOrderPerturbations::Apply(parameters,
/usr/local/include/ceres/internal/autodiff.h:357:39: error: no type named ‘Parameters’ in ‘class ceres::internal::ParameterDims<false, 3>’ Take1stOrderParts::Apply(
/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 = 3; ParameterDims = ceres::internal::ParameterDims<false, 1, 6, 3>; Functor = ReprojectionError3D; 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 = ReprojectionError3D; int kNumResiduals = 3; int ...Ns = {1, 6, 3}]’ /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, 6, 3>’ 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, 6, 3>’ Make1stOrderPerturbations::Apply(parameters,
/usr/local/include/ceres/internal/autodiff.h:357:39: error: no type named ‘Parameters’ in ‘class ceres::internal::ParameterDims<false, 1, 6, 3>’ Take1stOrderParts::Apply(
/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, 6, 6>; Functor = BALinearMotionError; 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 = BALinearMotionError; int kNumResiduals = 6; int ...Ns = {6, 6, 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, 6, 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, 6, 6>’ Make1stOrderPerturbations::Apply(parameters,
/usr/local/include/ceres/internal/autodiff.h:357:39: error: no type named ‘Parameters’ in ‘class ceres::internal::ParameterDims<false, 6, 6, 6>’ Take1stOrderParts::Apply(
/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, 6>; Functor = BARollAngleError; 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 = BARollAngleError; int kNumResiduals = 1; 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::Apply(parameters,
/usr/local/include/ceres/internal/autodiff.h:357:39: error: no type named ‘Parameters’ in ‘class ceres::internal::ParameterDims<false, 6>’ Take1stOrderParts::Apply(
/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, 6>; Functor = BATiltAngleError; 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 = BATiltAngleError; int kNumResiduals = 1; 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::Apply(parameters,
/usr/local/include/ceres/internal/autodiff.h:357:39: error: no type named ‘Parameters’ in ‘class ceres::internal::ParameterDims<false, 6>’ Take1stOrderParts::Apply(
/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, 6>; Functor = BAPanAngleError; 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 = BAPanAngleError; int kNumResiduals = 1; 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::Apply(parameters,
/usr/local/include/ceres/internal/autodiff.h:357:39: error: no type named ‘Parameters’ in ‘class ceres::internal::ParameterDims<false, 6>’ Take1stOrderParts::Apply(
/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 = 3; ParameterDims = ceres::internal::ParameterDims<false, 6>; Functor = BAUpVectorError; 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 = BAUpVectorError; int kNumResiduals = 3; 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::Apply(parameters,
/usr/local/include/ceres/internal/autodiff.h:357:39: error: no type named ‘Parameters’ in ‘class ceres::internal::ParameterDims<false, 6>’ Take1stOrderParts::Apply(
/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 = BAStdDeviationConstraint; 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 = BAStdDeviationConstraint; 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,
/usr/local/include/ceres/internal/autodiff.h:357:39: error: no type named ‘Parameters’ in ‘class ceres::internal::ParameterDims<false, 1>’ Take1stOrderParts::Apply(
/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 = 3; ParameterDims = ceres::internal::ParameterDims<false, 6, 6>; Functor = BACommonPositionError; 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 = BACommonPositionError; int kNumResiduals = 3; int ...Ns = {6, 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, 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, 6>’ Make1stOrderPerturbations::Apply(parameters,
/usr/local/include/ceres/internal/autodiff.h:357:39: error: no type named ‘Parameters’ in ‘class ceres::internal::ParameterDims<false, 6, 6>’ Take1stOrderParts::Apply(
/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 = 3; ParameterDims = ceres::internal::ParameterDims<false, 6, 6>; Functor = BARelativeRotationError; 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 = BARelativeRotationError; int kNumResiduals = 3; int ...Ns = {6, 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, 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, 6>’ Make1stOrderPerturbations::Apply(parameters,
/usr/local/include/ceres/internal/autodiff.h:357:39: error: no type named ‘Parameters’ in ‘class ceres::internal::ParameterDims<false, 6, 6>’ Take1stOrderParts::Apply(
/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 = 7; ParameterDims = ceres::internal::ParameterDims<false, 6, 1, 6, 1>; Functor = BARelativeSimilarityError; 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 = BARelativeSimilarityError; int kNumResiduals = 7; int ...Ns = {6, 1, 6, 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, 6, 1, 6, 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, 6, 1, 6, 1>’ Make1stOrderPerturbations::Apply(parameters,
/usr/local/include/ceres/internal/autodiff.h:357:39: error: no type named ‘Parameters’ in ‘class ceres::internal::ParameterDims<false, 6, 1, 6, 1>’ Take1stOrderParts::Apply(
/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, 1, 6>; Functor = BARelativeMotionError; 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 = BARelativeMotionError; int kNumResiduals = 6; int ...Ns = {6, 1, 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, 1, 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, 1, 6>’ Make1stOrderPerturbations::Apply(parameters,
/usr/local/include/ceres/internal/autodiff.h:357:39: error: no type named ‘Parameters’ in ‘class ceres::internal::ParameterDims<false, 6, 1, 6>’ Take1stOrderParts::Apply(
/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, 6>; Functor = UnitTranslationPriorError; 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 = UnitTranslationPriorError; int kNumResiduals = 1; 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::Apply(parameters,
/usr/local/include/ceres/internal/autodiff.h:357:39: error: no type named ‘Parameters’ in ‘class ceres::internal::ParameterDims<false, 6>’ Take1stOrderParts::Apply(
/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 = 3; ParameterDims = ceres::internal::ParameterDims<false, 3>; Functor = PointPositionPriorError; 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 = PointPositionPriorError; int kNumResiduals = 3; int ...Ns = {3}]’ /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, 3>’ 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, 3>’ Make1stOrderPerturbations::Apply(parameters,
/usr/local/include/ceres/internal/autodiff.h:357:39: error: no type named ‘Parameters’ in ‘class ceres::internal::ParameterDims<false, 3>’ Take1stOrderParts::Apply(
/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 = 3; ParameterDims = ceres::internal::ParameterDims<false, 6>; Functor = PositionPriorError; 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 = PositionPriorError; int kNumResiduals = 3; 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::Apply(parameters,
/usr/local/include/ceres/internal/autodiff.h:357:39: error: no type named ‘Parameters’ in ‘class ceres::internal::ParameterDims<false, 6>’ Take1stOrderParts::Apply(
/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 = 3; ParameterDims = ceres::internal::ParameterDims<false, 6>; Functor = TranslationPriorError; 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 = TranslationPriorError; int kNumResiduals = 3; 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::Apply(parameters,
/usr/local/include/ceres/internal/autodiff.h:357:39: error: no type named ‘Parameters’ in ‘class ceres::internal::ParameterDims<false, 6>’ Take1stOrderParts::Apply(
/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 = 3; ParameterDims = ceres::internal::ParameterDims<false, 6>; Functor = RotationPriorError; 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 = RotationPriorError; int kNumResiduals = 3; 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::Apply(parameters,
/usr/local/include/ceres/internal/autodiff.h:357:39: error: no type named ‘Parameters’ in ‘class ceres::internal::ParameterDims<false, 6>’ Take1stOrderParts::Apply(
/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, 4>; Functor = BAParameterBarrier; 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 = BAParameterBarrier; int kNumResiduals = 1; 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::Apply(parameters,
/usr/local/include/ceres/internal/autodiff.h:357:39: error: no type named ‘Parameters’ in ‘class ceres::internal::ParameterDims<false, 4>’ Take1stOrderParts::Apply(
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: In instantiation of ‘bool ceres::internal::VariadicEvaluateImpl(const Functor&, const T const, T, const void) [with ParameterDims = ceres::internal::ParameterDims<false, 1>; Functor = BADataPriorError; T = double]’:
/usr/local/include/ceres/internal/variadic_evaluate.h:108:45: required from ‘bool ceres::internal::VariadicEvaluate(const Functor&, const T const, T) [with ParameterDims = ceres::internal::ParameterDims<false, 1>; Functor = BADataPriorError; T = double]’
/usr/local/include/ceres/autodiff_cost_function.h:207:55: 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/variadic_evaluate.h:80:65: error: ‘ParameterBlockIndices’ was not declared in this scope
functor, input, output, IsDynamic(), ParameterBlockIndices());