zju3dv / pvnet

Code for "PVNet: Pixel-wise Voting Network for 6DoF Pose Estimation" CVPR 2019 oral
Apache License 2.0
814 stars 145 forks source link

python build_extend_utils_cffi.py Error #155

Closed 1574849739 closed 2 years ago

1574849739 commented 2 years ago

尊敬的博主您好~我的系统的ubuntu18.04,CUDA版本是11.1,gcc版本是7.5.4,python版本是3.6.8 然后在编译一些扩展库的时候发现那三个指定的库无法安装,后来安装了 libatlas_base_dev_3.10.3-5 libgoogle_glog_dev_0.3.5-1 和libsuitesparse1:5.1:2-2但在接下来进入utils/extend_utils进行编译python build_extend_utils_cffi.py时一直会出现 In file included from ./include/eigen3/Eigen/Core:316:0, from ./include/ceres/jet.h:166, from ./include/ceres/internal/autodiff.h:145, from ./include/ceres/autodiff_cost_function.h:133, from ./include/ceres/ceres.h:37, from src/uncertainty_pnp.cpp:3: ./include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h:60:39: warning: ignoring attributes on template argument ‘m128 {aka vector(4) float}’ [-Wignored-attributes] template<> struct is_arithmetic<__m128> { enum { value = true }; }; ^ ./include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h:61:40: warning: ignoring attributes on template argument ‘m128i {aka vector(2) long long int}’ [-Wignored-attributes] template<> struct is_arithmetic<__m128i> { enum { value = true }; }; ^ ./include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h:62:40: warning: ignoring attributes on template argument ‘m128d {aka vector(2) double}’ [-Wignored-attributes] template<> struct is_arithmetic<__m128d> { enum { value = true }; }; ^ ./include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h:160:43: warning: ignoring attributes on template argument ‘Eigen::internal::Packet4f {aka vector(4) float}’ [-Wignored-attributes] template<> struct unpacket_traits { typedef float type; enum {size=4, alignment=Aligned16}; typedef Packet4f half; }; ^ In file included from ./include/eigen3/Eigen/Core:316:0, from ./include/ceres/jet.h:166, from ./include/ceres/internal/autodiff.h:145, from ./include/ceres/autodiff_cost_function.h:133, from ./include/ceres/ceres.h:37, from src/uncertainty_pnp.cpp:3: ./include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h:161:43: warning: ignoring attributes on template argument ‘Eigen::internal::Packet2d {aka vector(2) double}’ [-Wignored-attributes] template<> struct unpacket_traits { typedef double type; enum {size=2, alignment=Aligned16}; typedef Packet2d half; }; ^ ./include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h:162:43: warning: ignoring attributes on template argument ‘Eigen::internal::Packet4i {aka vector(2) long long int}’ [-Wignored-attributes] template<> struct unpacket_traits { typedef int type; enum {size=4, alignment=Aligned16}; typedef Packet4i half; }; ^ ./include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h:468:37: warning: ignoring attributes on template argument ‘Eigen::internal::Packet4f {aka __vector(4) float}’ [-Wignored-attributes] struct protate_impl<offset, Packet4f> ^ ./include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h:476:37: warning: ignoring attributes on template argument ‘Eigen::internal::Packet4i {aka vector(2) long long int}’ [-Wignored-attributes] struct protate_impl<offset, Packet4i> ^ ./include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h:484:37: warning: ignoring attributes on template argument ‘Eigen::internal::Packet2d {aka vector(2) double}’ [-Wignored-attributes] struct protate_impl<offset, Packet2d> ^ ./include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h:755:35: warning: ignoring attributes on template argument ‘Eigen::internal::Packet4f {aka __vector(4) float}’ [-Wignored-attributes] struct palign_impl<Offset,Packet4f> ^ ./include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h:778:35: warning: ignoring attributes on template argument ‘Eigen::internal::Packet4i {aka vector(2) long long int}’ [-Wignored-attributes] struct palign_impl<Offset,Packet4i> ^ ./include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h:801:35: warning: ignoring attributes on template argument ‘Eigen::internal::Packet2d {aka vector(2) double}’ [-Wignored-attributes] struct palign_impl<Offset,Packet2d> ^ ./include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h:815:34: warning: ignoring attributes on template argument ‘Eigen::internal::Packet4f {aka vector(4) float}’ [-Wignored-attributes] ptranspose(PacketBlock<Packet4f,4>& kernel) { ^ ./include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h:820:34: warning: ignoring attributes on template argument ‘Eigen::internal::Packet2d {aka vector(2) double}’ [-Wignored-attributes] ptranspose(PacketBlock<Packet2d,2>& kernel) { ^ ./include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h:827:34: warning: ignoring attributes on template argument ‘Eigen::internal::Packet4i {aka __vector(2) long long int}’ [-Wignored-attributes] ptranspose(PacketBlock<Packet4i,4>& kernel) { ^ In file included from ./include/eigen3/Eigen/Core:318:0, from ./include/ceres/jet.h:166, from ./include/ceres/internal/autodiff.h:145, from ./include/ceres/autodiff_cost_function.h:133, from ./include/ceres/ceres.h:37, from src/uncertainty_pnp.cpp:3: ./include/eigen3/Eigen/src/Core/arch/SSE/Complex.h:232:63: warning: ignoring attributes on template argument ‘Eigen::internal::Packet4f {aka vector(4) float}’ [-Wignored-attributes] template<> struct conj_helper<Packet4f, Packet2cf, false,false> ^ ./include/eigen3/Eigen/src/Core/arch/SSE/Complex.h:241:63: warning: ignoring attributes on template argument ‘Eigen::internal::Packet4f {aka vector(4) float}’ [-Wignored-attributes] template<> struct conj_helper<Packet2cf, Packet4f, false,false> ^ ./include/eigen3/Eigen/src/Core/arch/SSE/Complex.h:433:63: warning: ignoring attributes on template argument ‘Eigen::internal::Packet2d {aka __vector(2) double}’ [-Wignored-attributes] template<> struct conj_helper<Packet2d, Packet1cd, false,false> ^ ./include/eigen3/Eigen/src/Core/arch/SSE/Complex.h:442:63: warning: ignoring attributes on template argument ‘Eigen::internal::Packet2d {aka vector(2) double}’ [-Wignored-attributes] template<> struct conj_helper<Packet1cd, Packet2d, false,false> ^ In file included from ./include/eigen3/Eigen/Core:298:0, from ./include/ceres/jet.h:166, from ./include/ceres/internal/autodiff.h:145, from ./include/ceres/autodiff_cost_function.h:133, from ./include/ceres/ceres.h:37, from src/uncertainty_pnp.cpp:3: ./include/eigen3/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet<float, 4>’: ./include/eigen3/Eigen/src/Core/Matrix.h:144:57: required from ‘struct Eigen::internal::traits<Eigen::Matrix<float, 4, 1> >’ ./include/eigen3/Eigen/src/Geometry/Quaternion.h:219:7: required from ‘struct Eigen::internal::traits<Eigen::Quaternion >’ ./include/eigen3/Eigen/src/Geometry/RotationBase.h:34:56: required from ‘class Eigen::RotationBase<Eigen::Quaternion, 3>’ ./include/eigen3/Eigen/src/Geometry/Quaternion.h:35:7: required from ‘class Eigen::QuaternionBase<Eigen::Quaternion >’ ./include/eigen3/Eigen/src/Geometry/Quaternion.h:227:7: required from ‘class Eigen::Quaternion’ ./include/eigen3/Eigen/src/Geometry/arch/Geometry_SSE.h:22:3: required from here ./include/eigen3/Eigen/src/Core/util/XprHelper.h:130:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type {aka __vector(4) float}’ [-Wignored-attributes] bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same<PacketType,typename unpacket_traits::half>::value>


./include/eigen3/Eigen/src/Core/util/XprHelper.h:130:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<float>::type {aka __vector(4) float}’ [-Wignored-attributes]
          bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/eigen3/Eigen/src/Core/util/XprHelper.h:130:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<float>::type {aka __vector(4) float}’ [-Wignored-attributes]
./include/eigen3/Eigen/src/Core/util/XprHelper.h:130:83: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(4) float>::half {aka __vector(4) float}’ [-Wignored-attributes]
In file included from ./include/eigen3/Eigen/Core:298:0,
                 from ./include/ceres/jet.h:166,
                 from ./include/ceres/internal/autodiff.h:145,
                 from ./include/ceres/autodiff_cost_function.h:133,
                 from ./include/ceres/ceres.h:37,
                 from src/uncertainty_pnp.cpp:3:
./include/eigen3/Eigen/src/Core/util/XprHelper.h:148:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<float>::type {aka __vector(4) float}’ [-Wignored-attributes]
   typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
                                                                                        ^~~~
In file included from ./include/eigen3/Eigen/Core:343:0,
                 from ./include/ceres/jet.h:166,
                 from ./include/ceres/internal/autodiff.h:145,
                 from ./include/ceres/autodiff_cost_function.h:133,
                 from ./include/ceres/ceres.h:37,
                 from src/uncertainty_pnp.cpp:3:
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 0>’:
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:288:7:   required from ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 1>’
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:527:7:   required from ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 3>’
./include/eigen3/Eigen/src/Core/util/XprHelper.h:457:8:   required from ‘struct Eigen::internal::special_scalar_op_base<Eigen::Matrix<float, 4, 1>, float, float, Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 3>, false>’
./include/eigen3/Eigen/src/Core/DenseBase.h:41:34:   required from ‘class Eigen::DenseBase<Eigen::Matrix<float, 4, 1> >’
./include/eigen3/Eigen/src/Core/MatrixBase.h:48:34:   required from ‘class Eigen::MatrixBase<Eigen::Matrix<float, 4, 1> >’
./include/eigen3/Eigen/src/Core/PlainObjectBase.h:91:7:   required from ‘class Eigen::PlainObjectBase<Eigen::Matrix<float, 4, 1> >’
./include/eigen3/Eigen/src/Core/Matrix.h:178:7:   required from ‘class Eigen::Matrix<float, 4, 1>’
./include/eigen3/Eigen/src/Geometry/Quaternion.h:287:16:   required from ‘class Eigen::Quaternion<float>’
./include/eigen3/Eigen/src/Geometry/arch/Geometry_SSE.h:22:3:   required from here
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:55:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<float>::type {aka __vector(4) float}’ [-Wignored-attributes]
                      >::type PacketReturnType;
                              ^~~~~~~~~~~~~~~~
In file included from ./include/eigen3/Eigen/Core:298:0,
                 from ./include/ceres/jet.h:166,
                 from ./include/ceres/internal/autodiff.h:145,
                 from ./include/ceres/autodiff_cost_function.h:133,
                 from ./include/ceres/ceres.h:37,
                 from src/uncertainty_pnp.cpp:3:
./include/eigen3/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet<double, 4>’:
./include/eigen3/Eigen/src/Core/Matrix.h:144:57:   required from ‘struct Eigen::internal::traits<Eigen::Matrix<double, 4, 1> >’
./include/eigen3/Eigen/src/Geometry/Quaternion.h:219:7:   required from ‘struct Eigen::internal::traits<Eigen::Quaternion<double> >’
./include/eigen3/Eigen/src/Geometry/RotationBase.h:34:56:   required from ‘class Eigen::RotationBase<Eigen::Quaternion<double>, 3>’
./include/eigen3/Eigen/src/Geometry/Quaternion.h:35:7:   required from ‘class Eigen::QuaternionBase<Eigen::Quaternion<double> >’
./include/eigen3/Eigen/src/Geometry/Quaternion.h:227:7:   required from ‘class Eigen::Quaternion<double>’
./include/eigen3/Eigen/src/Geometry/arch/Geometry_SSE.h:75:3:   required from here
./include/eigen3/Eigen/src/Core/util/XprHelper.h:130:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type {aka __vector(2) double}’ [-Wignored-attributes]
          bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
                                       ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/eigen3/Eigen/src/Core/util/XprHelper.h:130:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type {aka __vector(2) double}’ [-Wignored-attributes]
          bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/eigen3/Eigen/src/Core/util/XprHelper.h:130:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type {aka __vector(2) double}’ [-Wignored-attributes]
./include/eigen3/Eigen/src/Core/util/XprHelper.h:130:83: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half {aka __vector(2) double}’ [-Wignored-attributes]
In file included from ./include/eigen3/Eigen/Core:298:0,
                 from ./include/ceres/jet.h:166,
                 from ./include/ceres/internal/autodiff.h:145,
                 from ./include/ceres/autodiff_cost_function.h:133,
                 from ./include/ceres/ceres.h:37,
                 from src/uncertainty_pnp.cpp:3:
./include/eigen3/Eigen/src/Core/util/XprHelper.h:148:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type {aka __vector(2) double}’ [-Wignored-attributes]
   typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
                                                                                        ^~~~
In file included from ./include/eigen3/Eigen/Core:343:0,
                 from ./include/ceres/jet.h:166,
                 from ./include/ceres/internal/autodiff.h:145,
                 from ./include/ceres/autodiff_cost_function.h:133,
                 from ./include/ceres/ceres.h:37,
                 from src/uncertainty_pnp.cpp:3:
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 0>’:
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:288:7:   required from ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 1>’
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:527:7:   required from ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 3>’
./include/eigen3/Eigen/src/Core/util/XprHelper.h:457:8:   required from ‘struct Eigen::internal::special_scalar_op_base<Eigen::Matrix<double, 4, 1>, double, double, Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 3>, false>’
./include/eigen3/Eigen/src/Core/DenseBase.h:41:34:   required from ‘class Eigen::DenseBase<Eigen::Matrix<double, 4, 1> >’
./include/eigen3/Eigen/src/Core/MatrixBase.h:48:34:   required from ‘class Eigen::MatrixBase<Eigen::Matrix<double, 4, 1> >’
./include/eigen3/Eigen/src/Core/PlainObjectBase.h:91:7:   required from ‘class Eigen::PlainObjectBase<Eigen::Matrix<double, 4, 1> >’
./include/eigen3/Eigen/src/Core/Matrix.h:178:7:   required from ‘class Eigen::Matrix<double, 4, 1>’
./include/eigen3/Eigen/src/Geometry/Quaternion.h:287:16:   required from ‘class Eigen::Quaternion<double>’
./include/eigen3/Eigen/src/Geometry/arch/Geometry_SSE.h:75:3:   required from here
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:55:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type {aka __vector(2) double}’ [-Wignored-attributes]
                      >::type PacketReturnType;
                              ^~~~~~~~~~~~~~~~
In file included from ./include/eigen3/Eigen/Core:298:0,
                 from ./include/ceres/jet.h:166,
                 from ./include/ceres/internal/autodiff.h:145,
                 from ./include/ceres/autodiff_cost_function.h:133,
                 from ./include/ceres/ceres.h:37,
                 from src/uncertainty_pnp.cpp:3:
./include/eigen3/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet<double, -1>’:
./include/eigen3/Eigen/src/Core/Matrix.h:144:57:   required from ‘struct Eigen::internal::traits<Eigen::Matrix<double, -1, 1> >’
./include/eigen3/Eigen/src/Core/PlainObjectBase.h:91:7:   required from ‘class Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 1> >’
./include/eigen3/Eigen/src/Core/Matrix.h:178:7:   required from ‘class Eigen::Matrix<double, -1, 1>’
./include/ceres/gradient_checker.h:87:12:   required from here
./include/eigen3/Eigen/src/Core/util/XprHelper.h:130:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type {aka __vector(2) double}’ [-Wignored-attributes]
          bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
                                       ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/eigen3/Eigen/src/Core/util/XprHelper.h:130:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type {aka __vector(2) double}’ [-Wignored-attributes]
          bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/eigen3/Eigen/src/Core/util/XprHelper.h:130:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type {aka __vector(2) double}’ [-Wignored-attributes]
./include/eigen3/Eigen/src/Core/util/XprHelper.h:130:83: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half {aka __vector(2) double}’ [-Wignored-attributes]
In file included from ./include/eigen3/Eigen/Core:298:0,
                 from ./include/ceres/jet.h:166,
                 from ./include/ceres/internal/autodiff.h:145,
                 from ./include/ceres/autodiff_cost_function.h:133,
                 from ./include/ceres/ceres.h:37,
                 from src/uncertainty_pnp.cpp:3:
./include/eigen3/Eigen/src/Core/util/XprHelper.h:148:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type {aka __vector(2) double}’ [-Wignored-attributes]
   typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
                                                                                        ^~~~
In file included from ./include/eigen3/Eigen/Core:343:0,
                 from ./include/ceres/jet.h:166,
                 from ./include/ceres/internal/autodiff.h:145,
                 from ./include/ceres/autodiff_cost_function.h:133,
                 from ./include/ceres/ceres.h:37,
                 from src/uncertainty_pnp.cpp:3:
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, 1>, 0>’:
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:288:7:   required from ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, 1>, 1>’
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:527:7:   required from ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, 1>, 3>’
./include/eigen3/Eigen/src/Core/util/XprHelper.h:457:8:   required from ‘struct Eigen::internal::special_scalar_op_base<Eigen::Matrix<double, -1, 1>, double, double, Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, 1>, 3>, false>’
./include/eigen3/Eigen/src/Core/DenseBase.h:41:34:   required from ‘class Eigen::DenseBase<Eigen::Matrix<double, -1, 1> >’
./include/eigen3/Eigen/src/Core/MatrixBase.h:48:34:   required from ‘class Eigen::MatrixBase<Eigen::Matrix<double, -1, 1> >’
./include/eigen3/Eigen/src/Core/PlainObjectBase.h:91:7:   required from ‘class Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 1> >’
./include/eigen3/Eigen/src/Core/Matrix.h:178:7:   required from ‘class Eigen::Matrix<double, -1, 1>’
./include/ceres/gradient_checker.h:87:12:   required from here
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:55:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type {aka __vector(2) double}’ [-Wignored-attributes]
                      >::type PacketReturnType;
                              ^~~~~~~~~~~~~~~~
In file included from ./include/eigen3/Eigen/Core:298:0,
                 from ./include/ceres/jet.h:166,
                 from ./include/ceres/internal/autodiff.h:145,
                 from ./include/ceres/autodiff_cost_function.h:133,
                 from ./include/ceres/ceres.h:37,
                 from src/uncertainty_pnp.cpp:3:
./include/eigen3/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet<double, 6>’:
./include/eigen3/Eigen/src/Core/Matrix.h:144:57:   required from ‘struct Eigen::internal::traits<Eigen::Matrix<double, 6, 1, 0, 6, 1> >’
./include/eigen3/Eigen/src/Core/PlainObjectBase.h:91:7:   required from ‘class Eigen::PlainObjectBase<Eigen::Matrix<double, 6, 1, 0, 6, 1> >’
./include/eigen3/Eigen/src/Core/Matrix.h:178:7:   required from ‘class Eigen::Matrix<double, 6, 1, 0, 6, 1>’
./include/ceres/jet.h:306:59:   required from ‘struct ceres::Jet<double, 6>’
./include/ceres/internal/autodiff.h:232:40:   required from ‘static bool ceres::internal::AutoDiff<Functor, T, N0, N1, N2, N3, N4, N5, N6, N7, N8, N9>::Differentiate(const Functor&, const T* const*, int, T*, T**) [with Functor = ReprojectionErrorArray; T = double; int N0 = 6; int N1 = 0; int N2 = 0; int N3 = 0; int N4 = 0; int N5 = 0; int N6 = 0; int N7 = 0; int N8 = 0; int N9 = 0]’
./include/ceres/autodiff_cost_function.h:211:66:   required from ‘bool ceres::AutoDiffCostFunction<CostFunctor, kNumResiduals, N0, N1, N2, N3, N4, N5, N6, N7, N8, N9>::Evaluate(const double* const*, double*, double**) const [with CostFunctor = ReprojectionErrorArray; int kNumResiduals = 2; int N0 = 6; int N1 = 0; int N2 = 0; int N3 = 0; int N4 = 0; int N5 = 0; int N6 = 0; int N7 = 0; int N8 = 0; int N9 = 0]’
src/uncertainty_pnp.cpp:156:1:   required from here
./include/eigen3/Eigen/src/Core/util/XprHelper.h:130:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type {aka __vector(2) double}’ [-Wignored-attributes]
          bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
                                       ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/eigen3/Eigen/src/Core/util/XprHelper.h:130:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type {aka __vector(2) double}’ [-Wignored-attributes]
          bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/eigen3/Eigen/src/Core/util/XprHelper.h:130:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type {aka __vector(2) double}’ [-Wignored-attributes]
./include/eigen3/Eigen/src/Core/util/XprHelper.h:130:83: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half {aka __vector(2) double}’ [-Wignored-attributes]
In file included from ./include/eigen3/Eigen/Core:298:0,
                 from ./include/ceres/jet.h:166,
                 from ./include/ceres/internal/autodiff.h:145,
                 from ./include/ceres/autodiff_cost_function.h:133,
                 from ./include/ceres/ceres.h:37,
                 from src/uncertainty_pnp.cpp:3:
./include/eigen3/Eigen/src/Core/util/XprHelper.h:148:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type {aka __vector(2) double}’ [-Wignored-attributes]
   typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
                                                                                        ^~~~
In file included from ./include/eigen3/Eigen/Core:343:0,
                 from ./include/ceres/jet.h:166,
                 from ./include/ceres/internal/autodiff.h:145,
                 from ./include/ceres/autodiff_cost_function.h:133,
                 from ./include/ceres/ceres.h:37,
                 from src/uncertainty_pnp.cpp:3:
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 6, 1, 0, 6, 1>, 0>’:
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:288:7:   required from ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 6, 1, 0, 6, 1>, 1>’
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:527:7:   required from ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 6, 1, 0, 6, 1>, 3>’
./include/eigen3/Eigen/src/Core/util/XprHelper.h:457:8:   required from ‘struct Eigen::internal::special_scalar_op_base<Eigen::Matrix<double, 6, 1, 0, 6, 1>, double, double, Eigen::DenseCoeffsBase<Eigen::Matrix<double, 6, 1, 0, 6, 1>, 3>, false>’
./include/eigen3/Eigen/src/Core/DenseBase.h:41:34:   required from ‘class Eigen::DenseBase<Eigen::Matrix<double, 6, 1, 0, 6, 1> >’
./include/eigen3/Eigen/src/Core/MatrixBase.h:48:34:   required from ‘class Eigen::MatrixBase<Eigen::Matrix<double, 6, 1, 0, 6, 1> >’
./include/eigen3/Eigen/src/Core/PlainObjectBase.h:91:7:   required from ‘class Eigen::PlainObjectBase<Eigen::Matrix<double, 6, 1, 0, 6, 1> >’
./include/eigen3/Eigen/src/Core/Matrix.h:178:7:   required from ‘class Eigen::Matrix<double, 6, 1, 0, 6, 1>’
./include/ceres/jet.h:306:59:   required from ‘struct ceres::Jet<double, 6>’
./include/ceres/internal/autodiff.h:232:40:   required from ‘static bool ceres::internal::AutoDiff<Functor, T, N0, N1, N2, N3, N4, N5, N6, N7, N8, N9>::Differentiate(const Functor&, const T* const*, int, T*, T**) [with Functor = ReprojectionErrorArray; T = double; int N0 = 6; int N1 = 0; int N2 = 0; int N3 = 0; int N4 = 0; int N5 = 0; int N6 = 0; int N7 = 0; int N8 = 0; int N9 = 0]’
./include/ceres/autodiff_cost_function.h:211:66:   required from ‘bool ceres::AutoDiffCostFunction<CostFunctor, kNumResiduals, N0, N1, N2, N3, N4, N5, N6, N7, N8, N9>::Evaluate(const double* const*, double*, double**) const [with CostFunctor = ReprojectionErrorArray; int kNumResiduals = 2; int N0 = 6; int N1 = 0; int N2 = 0; int N3 = 0; int N4 = 0; int N5 = 0; int N6 = 0; int N7 = 0; int N8 = 0; int N9 = 0]’
src/uncertainty_pnp.cpp:156:1:   required from here
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:55:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type {aka __vector(2) double}’ [-Wignored-attributes]
                      >::type PacketReturnType;
                              ^~~~~~~~~~~~~~~~
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 6, 1, 0, 6, 1> >, 0>’:
./include/eigen3/Eigen/src/Core/util/XprHelper.h:457:8:   required from ‘struct Eigen::internal::special_scalar_op_base<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 6, 1, 0, 6, 1> >, double, double, Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 6, 1, 0, 6, 1> >, 0>, false>’
./include/eigen3/Eigen/src/Core/DenseBase.h:41:34:   required from ‘class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 6, 1, 0, 6, 1> > >’
./include/eigen3/Eigen/src/Core/MatrixBase.h:48:34:   required from ‘class Eigen::MatrixBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 6, 1, 0, 6, 1> > >’
./include/eigen3/Eigen/src/Core/CwiseNullaryOp.h:44:7:   required from ‘class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 6, 1, 0, 6, 1> >’
./include/eigen3/Eigen/src/Core/CwiseNullaryOp.h:338:30:   required from ‘Derived& Eigen::DenseBase<Derived>::setConstant(const Scalar&) [with Derived = Eigen::Matrix<double, 6, 1, 0, 6, 1>; Eigen::DenseBase<Derived>::Scalar = double]’
./include/ceres/internal/autodiff.h:266:7:   required from ‘static bool ceres::internal::AutoDiff<Functor, T, N0, N1, N2, N3, N4, N5, N6, N7, N8, N9>::Differentiate(const Functor&, const T* const*, int, T*, T**) [with Functor = ReprojectionErrorArray; T = double; int N0 = 6; int N1 = 0; int N2 = 0; int N3 = 0; int N4 = 0; int N5 = 0; int N6 = 0; int N7 = 0; int N8 = 0; int N9 = 0]’
./include/ceres/autodiff_cost_function.h:211:66:   required from ‘bool ceres::AutoDiffCostFunction<CostFunctor, kNumResiduals, N0, N1, N2, N3, N4, N5, N6, N7, N8, N9>::Evaluate(const double* const*, double*, double**) const [with CostFunctor = ReprojectionErrorArray; int kNumResiduals = 2; int N0 = 6; int N1 = 0; int N2 = 0; int N3 = 0; int N4 = 0; int N5 = 0; int N6 = 0; int N7 = 0; int N8 = 0; int N9 = 0]’
src/uncertainty_pnp.cpp:156:1:   required from here
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:55:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type {aka __vector(2) double}’ [-Wignored-attributes]
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, 6, 1, 0, 6, 1>, 0, Eigen::Stride<0, 0> >, 0>’:
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:288:7:   required from ‘class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, 6, 1, 0, 6, 1>, 0, Eigen::Stride<0, 0> >, 1>’
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:527:7:   required from ‘class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, 6, 1, 0, 6, 1>, 0, Eigen::Stride<0, 0> >, 3>’
./include/eigen3/Eigen/src/Core/util/XprHelper.h:457:8:   required from ‘struct Eigen::internal::special_scalar_op_base<Eigen::Map<Eigen::Matrix<double, 6, 1, 0, 6, 1>, 0, Eigen::Stride<0, 0> >, double, double, Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, 6, 1, 0, 6, 1>, 0, Eigen::Stride<0, 0> >, 3>, false>’
./include/eigen3/Eigen/src/Core/DenseBase.h:41:34:   required from ‘class Eigen::DenseBase<Eigen::Map<Eigen::Matrix<double, 6, 1, 0, 6, 1>, 0, Eigen::Stride<0, 0> > >’
./include/eigen3/Eigen/src/Core/MatrixBase.h:48:34:   [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
./include/eigen3/Eigen/src/Core/MapBase.h:177:34:   required from ‘class Eigen::MapBase<Eigen::Map<Eigen::Matrix<double, 6, 1, 0, 6, 1>, 0, Eigen::Stride<0, 0> >, 1>’
./include/eigen3/Eigen/src/Core/Map.h:89:79:   required from ‘class Eigen::Map<Eigen::Matrix<double, 6, 1, 0, 6, 1>, 0, Eigen::Stride<0, 0> >’
./include/ceres/internal/autodiff.h:196:12:   required from ‘void ceres::internal::Take1stOrderPart(int, const JetT*, T*) [with JetT = ceres::Jet<double, 6>; T = double; int N0 = 0; int N = 6]’
./include/ceres/internal/autodiff.h:306:5:   required from ‘static bool ceres::internal::AutoDiff<Functor, T, N0, N1, N2, N3, N4, N5, N6, N7, N8, N9>::Differentiate(const Functor&, const T* const*, int, T*, T**) [with Functor = ReprojectionErrorArray; T = double; int N0 = 6; int N1 = 0; int N2 = 0; int N3 = 0; int N4 = 0; int N5 = 0; int N6 = 0; int N7 = 0; int N8 = 0; int N9 = 0]’
./include/ceres/autodiff_cost_function.h:211:66:   required from ‘bool ceres::AutoDiffCostFunction<CostFunctor, kNumResiduals, N0, N1, N2, N3, N4, N5, N6, N7, N8, N9>::Evaluate(const double* const*, double*, double**) const [with CostFunctor = ReprojectionErrorArray; int kNumResiduals = 2; int N0 = 6; int N1 = 0; int N2 = 0; int N3 = 0; int N4 = 0; int N5 = 0; int N6 = 0; int N7 = 0; int N8 = 0; int N9 = 0]’
src/uncertainty_pnp.cpp:156:1:   required from here
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:55:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type {aka __vector(2) double}’ [-Wignored-attributes]
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Matrix<double, 6, 1, 0, 6, 1>, 6, 1, false>, 0>’:
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:454:7:   required from ‘class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Matrix<double, 6, 1, 0, 6, 1>, 6, 1, false>, 2>’
./include/eigen3/Eigen/src/Core/util/XprHelper.h:457:8:   required from ‘struct Eigen::internal::special_scalar_op_base<Eigen::Block<const Eigen::Matrix<double, 6, 1, 0, 6, 1>, 6, 1, false>, double, double, Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Matrix<double, 6, 1, 0, 6, 1>, 6, 1, false>, 2>, false>’
./include/eigen3/Eigen/src/Core/DenseBase.h:41:34:   required from ‘class Eigen::DenseBase<Eigen::Block<const Eigen::Matrix<double, 6, 1, 0, 6, 1>, 6, 1, false> >’
./include/eigen3/Eigen/src/Core/MatrixBase.h:48:34:   required from ‘class Eigen::MatrixBase<Eigen::Block<const Eigen::Matrix<double, 6, 1, 0, 6, 1>, 6, 1, false> >’
./include/eigen3/Eigen/src/Core/MapBase.h:27:34:   required from ‘class Eigen::MapBase<Eigen::Block<const Eigen::Matrix<double, 6, 1, 0, 6, 1>, 6, 1, false>, 0>’
./include/eigen3/Eigen/src/Core/Block.h:333:7:   [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
./include/eigen3/Eigen/src/Core/Block.h:104:81:   required from ‘class Eigen::Block<const Eigen::Matrix<double, 6, 1, 0, 6, 1>, 6, 1, false>’
./include/eigen3/Eigen/src/Core/VectorBlock.h:57:47:   required from ‘class Eigen::VectorBlock<const Eigen::Matrix<double, 6, 1, 0, 6, 1>, 6>’
./include/ceres/internal/autodiff.h:196:56:   required from ‘void ceres::internal::Take1stOrderPart(int, const JetT*, T*) [with JetT = ceres::Jet<double, 6>; T = double; int N0 = 0; int N = 6]’
./include/ceres/internal/autodiff.h:306:5:   required from ‘static bool ceres::internal::AutoDiff<Functor, T, N0, N1, N2, N3, N4, N5, N6, N7, N8, N9>::Differentiate(const Functor&, const T* const*, int, T*, T**) [with Functor = ReprojectionErrorArray; T = double; int N0 = 6; int N1 = 0; int N2 = 0; int N3 = 0; int N4 = 0; int N5 = 0; int N6 = 0; int N7 = 0; int N8 = 0; int N9 = 0]’
./include/ceres/autodiff_cost_function.h:211:66:   required from ‘bool ceres::AutoDiffCostFunction<CostFunctor, kNumResiduals, N0, N1, N2, N3, N4, N5, N6, N7, N8, N9>::Evaluate(const double* const*, double*, double**) const [with CostFunctor = ReprojectionErrorArray; int kNumResiduals = 2; int N0 = 6; int N1 = 0; int N2 = 0; int N3 = 0; int N4 = 0; int N5 = 0; int N6 = 0; int N7 = 0; int N8 = 0; int N9 = 0]’
src/uncertainty_pnp.cpp:156:1:   required from here
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:55:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type {aka __vector(2) double}’ [-Wignored-attributes]
In file included from ./include/eigen3/Eigen/Core:298:0,
                 from ./include/ceres/jet.h:166,
                 from ./include/ceres/internal/autodiff.h:145,
                 from ./include/ceres/autodiff_cost_function.h:133,
                 from ./include/ceres/ceres.h:37,
                 from src/uncertainty_pnp.cpp:3:
./include/eigen3/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet<double, 0>’:
./include/eigen3/Eigen/src/Core/Matrix.h:144:57:   required from ‘struct Eigen::internal::traits<Eigen::Matrix<double, 0, 1, 0, 0, 1> >’
./include/eigen3/Eigen/src/Core/Map.h:69:8:   required from ‘struct Eigen::internal::traits<Eigen::Map<Eigen::Matrix<double, 0, 1, 0, 0, 1>, 0, Eigen::Stride<0, 0> > >’
./include/eigen3/Eigen/src/Core/util/ForwardDeclarations.h:32:54:   required from ‘struct Eigen::internal::accessors_level<Eigen::Map<Eigen::Matrix<double, 0, 1, 0, 0, 1>, 0, Eigen::Stride<0, 0> > >’
./include/eigen3/Eigen/src/Core/util/ForwardDeclarations.h:116:75:   required from ‘class Eigen::Map<Eigen::Matrix<double, 0, 1, 0, 0, 1>, 0, Eigen::Stride<0, 0> >’
./include/ceres/internal/autodiff.h:196:12:   required from ‘void ceres::internal::Take1stOrderPart(int, const JetT*, T*) [with JetT = ceres::Jet<double, 6>; T = double; int N0 = 6; int N = 0]’
./include/ceres/internal/autodiff.h:307:5:   required from ‘static bool ceres::internal::AutoDiff<Functor, T, N0, N1, N2, N3, N4, N5, N6, N7, N8, N9>::Differentiate(const Functor&, const T* const*, int, T*, T**) [with Functor = ReprojectionErrorArray; T = double; int N0 = 6; int N1 = 0; int N2 = 0; int N3 = 0; int N4 = 0; int N5 = 0; int N6 = 0; int N7 = 0; int N8 = 0; int N9 = 0]’
./include/ceres/autodiff_cost_function.h:211:66:   required from ‘bool ceres::AutoDiffCostFunction<CostFunctor, kNumResiduals, N0, N1, N2, N3, N4, N5, N6, N7, N8, N9>::Evaluate(const double* const*, double*, double**) const [with CostFunctor = ReprojectionErrorArray; int kNumResiduals = 2; int N0 = 6; int N1 = 0; int N2 = 0; int N3 = 0; int N4 = 0; int N5 = 0; int N6 = 0; int N7 = 0; int N8 = 0; int N9 = 0]’
src/uncertainty_pnp.cpp:156:1:   required from here
./include/eigen3/Eigen/src/Core/util/XprHelper.h:130:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type {aka __vector(2) double}’ [-Wignored-attributes]
          bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
                                       ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/eigen3/Eigen/src/Core/util/XprHelper.h:130:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type {aka __vector(2) double}’ [-Wignored-attributes]
          bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/eigen3/Eigen/src/Core/util/XprHelper.h:130:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type {aka __vector(2) double}’ [-Wignored-attributes]
./include/eigen3/Eigen/src/Core/util/XprHelper.h:130:83: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half {aka __vector(2) double}’ [-Wignored-attributes]
In file included from ./include/eigen3/Eigen/Core:298:0,
                 from ./include/ceres/jet.h:166,
                 from ./include/ceres/internal/autodiff.h:145,
                 from ./include/ceres/autodiff_cost_function.h:133,
                 from ./include/ceres/ceres.h:37,
                 from src/uncertainty_pnp.cpp:3:
./include/eigen3/Eigen/src/Core/util/XprHelper.h:148:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type {aka __vector(2) double}’ [-Wignored-attributes]
   typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
                                                                                        ^~~~
In file included from ./include/eigen3/Eigen/Core:343:0,
                 from ./include/ceres/jet.h:166,
                 from ./include/ceres/internal/autodiff.h:145,
                 from ./include/ceres/autodiff_cost_function.h:133,
                 from ./include/ceres/ceres.h:37,
                 from src/uncertainty_pnp.cpp:3:
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 0, 1, 0, 0, 1>, 0>’:
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:288:7:   required from ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 0, 1, 0, 0, 1>, 1>’
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:527:7:   required from ‘class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 0, 1, 0, 0, 1>, 3>’
./include/eigen3/Eigen/src/Core/util/XprHelper.h:457:8:   required from ‘struct Eigen::internal::special_scalar_op_base<Eigen::Matrix<double, 0, 1, 0, 0, 1>, double, double, Eigen::DenseCoeffsBase<Eigen::Matrix<double, 0, 1, 0, 0, 1>, 3>, false>’
./include/eigen3/Eigen/src/Core/DenseBase.h:41:34:   required from ‘class Eigen::DenseBase<Eigen::Matrix<double, 0, 1, 0, 0, 1> >’
./include/eigen3/Eigen/src/Core/MatrixBase.h:48:34:   required from ‘class Eigen::MatrixBase<Eigen::Matrix<double, 0, 1, 0, 0, 1> >’
./include/eigen3/Eigen/src/Core/PlainObjectBase.h:91:7:   [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
./include/eigen3/Eigen/src/Core/util/ForwardDeclarations.h:32:54:   required from ‘struct Eigen::internal::accessors_level<Eigen::Map<Eigen::Matrix<double, 0, 1, 0, 0, 1>, 0, Eigen::Stride<0, 0> > >’
./include/eigen3/Eigen/src/Core/util/ForwardDeclarations.h:116:75:   required from ‘class Eigen::Map<Eigen::Matrix<double, 0, 1, 0, 0, 1>, 0, Eigen::Stride<0, 0> >’
./include/ceres/internal/autodiff.h:196:12:   required from ‘void ceres::internal::Take1stOrderPart(int, const JetT*, T*) [with JetT = ceres::Jet<double, 6>; T = double; int N0 = 6; int N = 0]’
./include/ceres/internal/autodiff.h:307:5:   required from ‘static bool ceres::internal::AutoDiff<Functor, T, N0, N1, N2, N3, N4, N5, N6, N7, N8, N9>::Differentiate(const Functor&, const T* const*, int, T*, T**) [with Functor = ReprojectionErrorArray; T = double; int N0 = 6; int N1 = 0; int N2 = 0; int N3 = 0; int N4 = 0; int N5 = 0; int N6 = 0; int N7 = 0; int N8 = 0; int N9 = 0]’
./include/ceres/autodiff_cost_function.h:211:66:   required from ‘bool ceres::AutoDiffCostFunction<CostFunctor, kNumResiduals, N0, N1, N2, N3, N4, N5, N6, N7, N8, N9>::Evaluate(const double* const*, double*, double**) const [with CostFunctor = ReprojectionErrorArray; int kNumResiduals = 2; int N0 = 6; int N1 = 0; int N2 = 0; int N3 = 0; int N4 = 0; int N5 = 0; int N6 = 0; int N7 = 0; int N8 = 0; int N9 = 0]’
src/uncertainty_pnp.cpp:156:1:   required from here
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:55:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type {aka __vector(2) double}’ [-Wignored-attributes]
                      >::type PacketReturnType;
                              ^~~~~~~~~~~~~~~~
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, 0, 1, 0, 0, 1>, 0, Eigen::Stride<0, 0> >, 0>’:
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:288:7:   required from ‘class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, 0, 1, 0, 0, 1>, 0, Eigen::Stride<0, 0> >, 1>’
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:527:7:   required from ‘class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, 0, 1, 0, 0, 1>, 0, Eigen::Stride<0, 0> >, 3>’
./include/eigen3/Eigen/src/Core/util/XprHelper.h:457:8:   required from ‘struct Eigen::internal::special_scalar_op_base<Eigen::Map<Eigen::Matrix<double, 0, 1, 0, 0, 1>, 0, Eigen::Stride<0, 0> >, double, double, Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, 0, 1, 0, 0, 1>, 0, Eigen::Stride<0, 0> >, 3>, false>’
./include/eigen3/Eigen/src/Core/DenseBase.h:41:34:   required from ‘class Eigen::DenseBase<Eigen::Map<Eigen::Matrix<double, 0, 1, 0, 0, 1>, 0, Eigen::Stride<0, 0> > >’
./include/eigen3/Eigen/src/Core/MatrixBase.h:48:34:   [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
./include/eigen3/Eigen/src/Core/MapBase.h:177:34:   required from ‘class Eigen::MapBase<Eigen::Map<Eigen::Matrix<double, 0, 1, 0, 0, 1>, 0, Eigen::Stride<0, 0> >, 1>’
./include/eigen3/Eigen/src/Core/Map.h:89:79:   required from ‘class Eigen::Map<Eigen::Matrix<double, 0, 1, 0, 0, 1>, 0, Eigen::Stride<0, 0> >’
./include/ceres/internal/autodiff.h:196:12:   required from ‘void ceres::internal::Take1stOrderPart(int, const JetT*, T*) [with JetT = ceres::Jet<double, 6>; T = double; int N0 = 6; int N = 0]’
./include/ceres/internal/autodiff.h:307:5:   required from ‘static bool ceres::internal::AutoDiff<Functor, T, N0, N1, N2, N3, N4, N5, N6, N7, N8, N9>::Differentiate(const Functor&, const T* const*, int, T*, T**) [with Functor = ReprojectionErrorArray; T = double; int N0 = 6; int N1 = 0; int N2 = 0; int N3 = 0; int N4 = 0; int N5 = 0; int N6 = 0; int N7 = 0; int N8 = 0; int N9 = 0]’
./include/ceres/autodiff_cost_function.h:211:66:   required from ‘bool ceres::AutoDiffCostFunction<CostFunctor, kNumResiduals, N0, N1, N2, N3, N4, N5, N6, N7, N8, N9>::Evaluate(const double* const*, double*, double**) const [with CostFunctor = ReprojectionErrorArray; int kNumResiduals = 2; int N0 = 6; int N1 = 0; int N2 = 0; int N3 = 0; int N4 = 0; int N5 = 0; int N6 = 0; int N7 = 0; int N8 = 0; int N9 = 0]’
src/uncertainty_pnp.cpp:156:1:   required from here
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:55:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type {aka __vector(2) double}’ [-Wignored-attributes]
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Matrix<double, 6, 1, 0, 6, 1>, 0, 1, false>, 0>’:
./include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:454:7:   required from ‘class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Matrix<double, 6, 1, 0, 6, 1>, 0, 1, false>, 2>’
./include/eigen3/Eigen/src/Core/util/XprHelper.h:457:8:   required from ‘struct Eigen::internal::special_scalar_op_base<Eigen::Block<const Eigen::Matrix<double, 6, 1, 0, 6, 1>, 0, 1, false>, double, double, Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Matrix<double, 6, 1, 0, 6, 1>, 0, 1, false>, 2>, false>’
./include/eigen3/Eigen/src/Core/DenseBase.h:41:34:   required from ‘class Eigen::DenseBase<Eigen::Block<const Eigen::Matrix<double, 6, 1, 0, 6, 1>, 0, 1, false> >’
./include/eigen3/Eigen/src/Core/MatrixBase.h:48:34:   required from ‘class Eigen::MatrixBase<Eigen::Block<const Eigen::Matrix<double, 6, 1, 0, 6, 1>, 0, 1, false> >’
./include/eigen3/Eigen/src/Core/MapBase.h:27:34:   required from ‘class Eigen::MapBase<Eigen::Block<const Eigen::Matrix<double, 6, 1, 0, 6, 1>, 0, 1, false>, 0>’
./include/eigen3/Eigen/src/Core/Block.h:333:7:   [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
./include/eigeneighborhood.cu.o ./lib/libceres.so ./lib/libglog.so /usr/local/cuda-8.0/lib64/libcudart.so -lstdc++ -o ./_extend_utils.cpython-36m-x86_64-linux-gnu.so
gcc: error: /usr/local/cuda-8.0/lib64/libcudart.so: 没有那个文件或目录
Traceback (most recent call last):
  File "/home/chen/anaconda3/envs/pvnet/lib/python3.6/distutils/unixccompiler.py", line 197, in link
    self.spawn(linker + ld_args)
  File "/home/chen/anaconda3/envs/pvnet/lib/python3.6/distutils/ccompiler.py", line 909, in spawn
    spawn(cmd, dry_run=self.dry_run)
  File "/home/chen/anaconda3/envs/pvnet/lib/python3.6/distutils/spawn.py", line 36, in spawn
    _spawn_posix(cmd, search_path, dry_run=dry_run)
  File "/home/chen/anaconda3/envs/pvnet/lib/python3.6/distutils/spawn.py", line 159, in _spawn_posix
    % (cmd, exit_status))
distutils.errors.DistutilsExecError: command 'gcc' failed with exit status 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/chen/anaconda3/envs/pvnet/lib/python3.6/site-packages/cffi/ffiplatform.py", line 51, in _build
    dist.run_command('build_ext')
  File "/home/chen/anaconda3/envs/pvnet/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/home/chen/anaconda3/envs/pvnet/lib/python3.6/distutils/command/build_ext.py", line 339, in run
    self.build_extensions()
  File "/home/chen/anaconda3/envs/pvnet/lib/python3.6/distutils/command/build_ext.py", line 448, in build_extensions
    self._build_extensions_serial()
  File "/home/chen/anaconda3/envs/pvnet/lib/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/chen/anaconda3/envs/pvnet/lib/python3.6/distutils/command/build_ext.py", line 558, in build_extension
    target_lang=language)
  File "/home/chen/anaconda3/envs/pvnet/lib/python3.6/distutils/ccompiler.py", line 717, in link_shared_object
    extra_preargs, extra_postargs, build_temp, target_lang)
  File "/home/chen/anaconda3/envs/pvnet/lib/python3.6/distutils/unixccompiler.py", line 199, in link
    raise LinkError(msg)
distutils.errors.LinkError: command 'gcc' failed with exit status 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "build_extend_utils_cffi.py", line 39, in <module>
    ffibuilder.compile(verbose=True)
  File "/home/chen/anaconda3/envs/pvnet/lib/python3.6/site-packages/cffi/api.py", line 697, in compile
    compiler_verbose=verbose, debug=debug, **kwds)
  File "/home/chen/anaconda3/envs/pvnet/lib/python3.6/site-packages/cffi/recompiler.py", line 1520, in recompile
    compiler_verbose, debug)
  File "/home/chen/anaconda3/envs/pvnet/lib/python3.6/site-packages/cffi/ffiplatform.py", line 22, in compile
    outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
  File "/home/chen/anaconda3/envs/pvnet/lib/python3.6/site-packages/cffi/ffiplatform.py", line 58, in _build
    raise VerificationError('%s: %s' % (e.__class__.__name__, e))
cffi.error.VerificationError: LinkError: command 'gcc' failed with exit status 1

 so i want ask you what should i do
pengsida commented 2 years ago

报错信息里有‘gcc: error: /usr/local/cuda-8.0/lib64/libcudart.so: 没有那个文件或目录’ 你需要修改这个文件里的cuda路径:https://github.com/zju3dv/pvnet/blob/master/lib/utils/extend_utils/build_extend_utils_cffi.py#L7

image