I want to build Argos3 from the current sources, but there seems to be an issue with PhysX:
Any ideas?In file included from /home/ole/argos3/src/plugins/simulator/physics_engines/physx/physx_multi_body_object_model.cpp:1:0:
/home/ole/argos3/src/plugins/simulator/physics_engines/physx/physx_multi_body_object_model.h: In instantiation of ‘void std::vector<_Tp, _Alloc>::_M_insert_aux(std::vector<_Tp, _Alloc>::iterator, const _Tp&) [with _Tp = argos::CPhysXMultiBodyObjectModel::SBody; _Alloc = std::allocator<argos::CPhysXMultiBodyObjectModel::SBody>; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<argos::CPhysXMultiBodyObjectModel::SBody*, std::vector<argos::CPhysXMultiBodyObjectModel::SBody> >; typename std::_Vector_base<_Tp, _Alloc>::pointer = argos::CPhysXMultiBodyObjectModel::SBody*]’:
/usr/include/c++/4.8/bits/stl_vector.h:913:28: required from ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = argos::CPhysXMultiBodyObjectModel::SBody; _Alloc = std::allocator<argos::CPhysXMultiBodyObjectModel::SBody>; std::vector<_Tp, _Alloc>::value_type = argos::CPhysXMultiBodyObjectModel::SBody]’
/home/ole/argos3/src/plugins/simulator/physics_engines/physx/physx_multi_body_object_model.cpp:152:51: required from here
/home/ole/argos3/src/plugins/simulator/physics_engines/physx/physx_multi_body_object_model.h:118:14: error: non-static reference member ‘physx::PxRigidDynamic& argos::CPhysXMultiBodyObjectModel::SBody::Body’, can’t use default assignment operator
struct SBody {
^
In file included from /usr/include/c++/4.8/vector:69:0,
from /home/ole/argos3/src/argos3/core/utility/math/general.h:13,
from /home/ole/argos3/src/argos3/core/utility/math/vector3.h:17,
from /home/ole/argos3/src/argos3/core/simulator/physics_engine/physics_model.h:20,
from /home/ole/argos3/src/argos3/plugins/simulator/physics_engines/physx/physx_model.h:14,
from /home/ole/argos3/src/plugins/simulator/physics_engines/physx/physx_multi_body_object_model.h:14,
from /home/ole/argos3/src/plugins/simulator/physics_engines/physx/physx_multi_body_object_model.cpp:1:
/usr/include/c++/4.8/bits/vector.tcc:335:16: note: synthesized method ‘argos::CPhysXMultiBodyObjectModel::SBody& argos::CPhysXMultiBodyObjectModel::SBody::operator=(const argos::CPhysXMultiBodyObjectModel::SBody&)’ first required here
*__position = __x_copy;
^
make[2]: *** [plugins/simulator/physics_engines/physx/CMakeFiles/argos3plugin_simulator_physx.dir/physx_multi_body_object_model.cpp.o] Error 1
make[1]: *** [plugins/simulator/physics_engines/physx/CMakeFiles/argos3plugin_simulator_physx.dir/all] Error 2
make: *** [all] Error 2