OpenSfM
OpenSfM copied to clipboard
error when building
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<class Seq> 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<class Seq> 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<class Seq> 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<class Seq> 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<T>> {
^~~~~~~~~~~~~~~~
/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<T>> {
^
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:91:39: error: expected unqualified-id before ‘>’ token
struct SumImpl<std::integer_sequence<T>> {
^~
/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<T>, 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<T>, 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<T>>::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<T>>::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<T>>::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
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*, int, T*, T**) [with int kNumResiduals = 3; ParameterDims = ceres::internal::ParameterDims<false, 3>; 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 = 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<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, 3>’
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 = 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<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, 1, 6, 3>’
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, 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<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, 6, 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*, 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<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*, 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<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*, 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<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*, 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<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*, 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<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, 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 = 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<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, 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*, 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<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, 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*, 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<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, 1, 6, 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 = 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<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, 1, 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*, 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<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*, 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<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, 3>’
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 = 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<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*, 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<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*, 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<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*, 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<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);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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<Camera>; 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<Camera>; 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<Camera>; 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());
~~~~~~~~~~~~~~~~~~~~~^~
/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, 4>; Functor = BADataPriorError<Camera>; 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, 4>; Functor = BADataPriorError<Camera>; 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<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/variadic_evaluate.h:80:65: error: ‘ParameterBlockIndices’ was not declared in this scope
/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, 6>; Functor = BADataPriorError<Camera>; 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, 6>; Functor = BADataPriorError<Camera>; 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<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/variadic_evaluate.h:80:65: error: ‘ParameterBlockIndices’ was not declared in this scope
/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, 3>; Functor = BADataPriorError<Camera>; 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, 3>; Functor = BADataPriorError<Camera>; 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<Camera>; 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/variadic_evaluate.h:80:65: error: ‘ParameterBlockIndices’ was not declared in this scope
/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, 6, 3>; Functor = ReprojectionError3D; 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, 6, 3>; Functor = ReprojectionError3D; 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 = 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/variadic_evaluate.h:80:65: error: ‘ParameterBlockIndices’ was not declared in this scope
/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, 6, 6, 6>; Functor = BALinearMotionError; 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, 6, 6, 6>; Functor = BALinearMotionError; 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 = 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/variadic_evaluate.h:80:65: error: ‘ParameterBlockIndices’ was not declared in this scope
/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, 6>; Functor = BARollAngleError; 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, 6>; Functor = BARollAngleError; 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 = 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/variadic_evaluate.h:80:65: error: ‘ParameterBlockIndices’ was not declared in this scope
/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, 6>; Functor = BATiltAngleError; 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, 6>; Functor = BATiltAngleError; 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 = 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/variadic_evaluate.h:80:65: error: ‘ParameterBlockIndices’ was not declared in this scope
/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, 6>; Functor = BAPanAngleError; 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, 6>; Functor = BAPanAngleError; 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 = 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/variadic_evaluate.h:80:65: error: ‘ParameterBlockIndices’ was not declared in this scope
/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, 6>; Functor = BAUpVectorError; 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, 6>; Functor = BAUpVectorError; 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 = 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/variadic_evaluate.h:80:65: error: ‘ParameterBlockIndices’ was not declared in this scope
/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 = BAStdDeviationConstraint; 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 = BAStdDeviationConstraint; 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 = 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/variadic_evaluate.h:80:65: error: ‘ParameterBlockIndices’ was not declared in this scope
/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, 6, 6>; Functor = BACommonPositionError; 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, 6, 6>; Functor = BACommonPositionError; 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 = 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/variadic_evaluate.h:80:65: error: ‘ParameterBlockIndices’ was not declared in this scope
/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, 6, 6>; Functor = BARelativeRotationError; 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, 6, 6>; Functor = BARelativeRotationError; 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 = 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/variadic_evaluate.h:80:65: error: ‘ParameterBlockIndices’ was not declared in this scope
/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, 6, 1, 6, 1>; Functor = BARelativeSimilarityError; 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, 6, 1, 6, 1>; Functor = BARelativeSimilarityError; 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 = 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/variadic_evaluate.h:80:65: error: ‘ParameterBlockIndices’ was not declared in this scope
/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, 6, 1, 6>; Functor = BARelativeMotionError; 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, 6, 1, 6>; Functor = BARelativeMotionError; 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 = 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/variadic_evaluate.h:80:65: error: ‘ParameterBlockIndices’ was not declared in this scope
/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, 6>; Functor = UnitTranslationPriorError; 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, 6>; Functor = UnitTranslationPriorError; 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 = 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/variadic_evaluate.h:80:65: error: ‘ParameterBlockIndices’ was not declared in this scope
/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, 3>; Functor = PointPositionPriorError; 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, 3>; Functor = PointPositionPriorError; 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 = 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/variadic_evaluate.h:80:65: error: ‘ParameterBlockIndices’ was not declared in this scope
/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, 6>; Functor = PositionPriorError; 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, 6>; Functor = PositionPriorError; 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 = 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/variadic_evaluate.h:80:65: error: ‘ParameterBlockIndices’ was not declared in this scope
/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, 6>; Functor = TranslationPriorError; 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, 6>; Functor = TranslationPriorError; 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 = 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/variadic_evaluate.h:80:65: error: ‘ParameterBlockIndices’ was not declared in this scope
/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, 6>; Functor = RotationPriorError; 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, 6>; Functor = RotationPriorError; 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 = 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/variadic_evaluate.h:80:65: error: ‘ParameterBlockIndices’ was not declared in this scope
/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, 4>; Functor = BAParameterBarrier; 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, 4>; Functor = BAParameterBarrier; 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 = 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/variadic_evaluate.h:80:65: error: ‘ParameterBlockIndices’ was not declared in this scope
[ 53%] Building CXX object features/CMakeFiles/features.dir/src/hahog.cc.o
[ 54%] Building CXX object features/CMakeFiles/features.dir/src/matching.cc.o
bundle/CMakeFiles/bundle.dir/build.make:62: recipe for target 'bundle/CMakeFiles/bundle.dir/src/bundle_adjuster.cc.o' failed
make[2]: *** [bundle/CMakeFiles/bundle.dir/src/bundle_adjuster.cc.o] Error 1
CMakeFiles/Makefile2:426: recipe for target 'bundle/CMakeFiles/bundle.dir/all' failed
make[1]: *** [bundle/CMakeFiles/bundle.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 55%] Building CXX object geometry/CMakeFiles/geometry.dir/src/relative_pose.cc.o
[ 56%] Linking CXX static library libfeatures.a
[ 56%] Built target features
[ 57%] Linking CXX static library libgeometry.a
[ 57%] Built target geometry
Makefile:94: recipe for target 'all' failed
make: *** [all] Error 2
Traceback (most recent call last):
File "setup.py", line 37, in <module>
build_c_extension()
File "setup.py", line 33, in build_c_extension
subprocess.check_call(['make', '-j4'], cwd='cmake_build')
File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', '-j4']' returned non-zero exit status 2.
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