I have compilation error with rev2402:
In file included from /usr/include/boost/python/instance_holder.hpp:11,
from /usr/include/boost/python/object/pointer_holder.hpp:14,
from /usr/include/boost/python/to_python_indirect.hpp:10,
from /usr/include/boost/python/converter/arg_to_python.hpp:10,
from /usr/include/boost/python/call.hpp:15,
from /usr/include/boost/python/object_core.hpp:12,
from /usr/include/boost/python/args.hpp:25,
from /usr/include/boost/python.hpp:11,
from /home/sega/build/yade/build-trunk/include/yade-trunk/yade/lib-serialization/Serializable.hpp:22,
from /home/sega/build/yade/build-trunk/include/yade-trunk/yade/core/Engine.hpp:13,
from /home/sega/build/yade/build-trunk/include/yade-trunk/yade/core/GlobalEngine.hpp:11,
from /home/sega/build/yade/build-trunk/include/yade-trunk/yade/pkg-common/PeriodicEngines.hpp:5,
from /home/sega/build/yade/build-trunk/include/yade-trunk/yade/pkg-common/Recorder.hpp:3,
from /home/sega/work/yade/trunk/pkg/common/Engine/GlobalEngine/Recorder.cpp:2,
from /home/sega/build/yade/build-trunk/plugins9.cpp:1:
/usr/include/boost/python/type_id.hpp: In function 'boost::python::type_info boost::python::type_id() [with T = const volatile InteractionPhysics&]':
/usr/include/boost/python/converter/registered.hpp:87: instantiated from 'const boost::python::converter::registration& boost::python::converter::detail::registry_lookup2(T& (*)()) [with T = const volatile InteractionPhysics]'
/usr/include/boost/python/converter/registered.hpp:94: instantiated from 'const boost::python::converter::registration& boost::python::converter::detail::registry_lookup1(boost::type<Target>) [with T = const volatile InteractionPhysics&]'
/usr/include/boost/python/converter/registered.hpp:105: instantiated from 'const boost::python::converter::registration& boost::python::converter::detail::registered_base<const volatile InteractionPhysics&>::converters'
/usr/include/boost/python/to_python_value.hpp:118: instantiated from 'const PyTypeObject* boost::python::detail::shared_ptr_to_python_value<T>::get_pytype(boost::type<boost::shared_ptr<Y>&>*) const [with U = InteractionPhysics, T = boost::shared_ptr<InteractionPhysics>&]'
/usr/include/boost/python/to_python_value.hpp:109: instantiated from 'const PyTypeObject* boost::python::detail::shared_ptr_to_python_value<T>::get_pytype() const [with T = boost::shared_ptr<InteractionPhysics>&]'
/usr/include/boost/python/detail/caller.hpp:102: instantiated from 'static const PyTypeObject* boost::python::detail::converter_target_type<ResultConverter>::get_pytype() [with ResultConverter = boost::python::to_python_value<boost::shared_ptr<InteractionPhysics>&>]'
/usr/include/boost/python/detail/caller.hpp:242: instantiated from 'static boost::python::detail::py_func_sig_info boost::python::detail::caller_arity<1u>::impl<F, Policies, Sig>::signature() [with F = boost::python::detail::member<boost::shared_ptr<InteractionPhysics>, Interaction>, Policies = boost::python::return_value_policy<boost::python::return_by_value, boost::python::default_call_policies>, Sig = boost::mpl::vector2<boost::shared_ptr<InteractionPhysics>&, boost::python::detail::make_getter(D C::*, const Policies&, mpl_::true_, int) [with C = Interaction, D = boost::shared_ptr<InteractionPhysics>, Policies = boost::python::return_value_policy<boost::python::return_by_value, boost::python::default_call_policies>]::Class&>]'
/usr/include/boost/python/object/py_function.hpp:48: instantiated from 'boost::python::detail::py_func_sig_info boost::python::objects::caller_py_function_impl<Caller>::signature() const [with Caller = boost::python::detail::caller<boost::python::detail::member<boost::shared_ptr<InteractionPhysics>, Interaction>, boost::python::return_value_policy<boost::python::return_by_value, boost::python::default_call_policies>, boost::mpl::vector2<boost::shared_ptr<InteractionPhysics>&, boost::python::detail::make_getter(D C::*, const Policies&, mpl_::true_, int) [with C = Interaction, D = boost::shared_ptr<InteractionPhysics>, Policies = boost::python::return_value_policy<boost::python::return_by_value, boost::python::default_call_policies>]::Class&> >]'
/home/sega/work/yade/trunk/pkg/common/Engine/PartialEngine/TranslationEngine.cpp:23: instantiated from here
/usr/include/boost/python/type_id.hpp:89: error: invalid use of incomplete type 'struct InteractionPhysics'
/home/sega/build/yade/build-trunk/include/yade-trunk/yade/core/Interaction.hpp:12: error: forward declaration of 'struct InteractionPhysics'
/usr/include/boost/python/type_id.hpp: In function 'boost::python::type_info boost::python::type_id() [with T = const volatile InteractionGeometry&]':
/usr/include/boost/python/converter/registered.hpp:87: instantiated from 'const boost::python::converter::registration& boost::python::converter::detail::registry_lookup2(T& (*)()) [with T = const volatile InteractionGeometry]'
/usr/include/boost/python/converter/registered.hpp:94: instantiated from 'const boost::python::converter::registration& boost::python::converter::detail::registry_lookup1(boost::type<Target>) [with T = const volatile InteractionGeometry&]'
/usr/include/boost/python/converter/registered.hpp:105: instantiated from 'const boost::python::converter::registration& boost::python::converter::detail::registered_base<const volatile InteractionGeometry&>::converters'
/usr/include/boost/python/to_python_value.hpp:118: instantiated from 'const PyTypeObject* boost::python::detail::shared_ptr_to_python_value<T>::get_pytype(boost::type<boost::shared_ptr<Y>&>*) const [with U = InteractionGeometry, T = boost::shared_ptr<InteractionGeometry>&]'
/usr/include/boost/python/to_python_value.hpp:109: instantiated from 'const PyTypeObject* boost::python::detail::shared_ptr_to_python_value<T>::get_pytype() const [with T = boost::shared_ptr<InteractionGeometry>&]'
/usr/include/boost/python/detail/caller.hpp:102: instantiated from 'static const PyTypeObject* boost::python::detail::converter_target_type<ResultConverter>::get_pytype() [with ResultConverter = boost::python::to_python_value<boost::shared_ptr<InteractionGeometry>&>]'
/usr/include/boost/python/detail/caller.hpp:242: instantiated from 'static boost::python::detail::py_func_sig_info boost::python::detail::caller_arity<1u>::impl<F, Policies, Sig>::signature() [with F = boost::python::detail::member<boost::shared_ptr<InteractionGeometry>, Interaction>, Policies = boost::python::return_value_policy<boost::python::return_by_value, boost::python::default_call_policies>, Sig = boost::mpl::vector2<boost::shared_ptr<InteractionGeometry>&, boost::python::detail::make_getter(D C::*, const Policies&, mpl_::true_, int) [with C = Interaction, D = boost::shared_ptr<InteractionGeometry>, Policies = boost::python::return_value_policy<boost::python::return_by_value, boost::python::default_call_policies>]::Class&>]'
/usr/include/boost/python/object/py_function.hpp:48: instantiated from 'boost::python::detail::py_func_sig_info boost::python::objects::caller_py_function_impl<Caller>::signature() const [with Caller = boost::python::detail::caller<boost::python::detail::member<boost::shared_ptr<InteractionGeometry>, Interaction>, boost::python::return_value_policy<boost::python::return_by_value, boost::python::default_call_policies>, boost::mpl::vector2<boost::shared_ptr<InteractionGeometry>&, boost::python::detail::make_getter(D C::*, const Policies&, mpl_::true_, int) [with C = Interaction, D = boost::shared_ptr<InteractionGeometry>, Policies = boost::python::return_value_policy<boost::python::return_by_value, boost::python::default_call_policies>]::Class&> >]'
/home/sega/work/yade/trunk/pkg/common/Engine/PartialEngine/TranslationEngine.cpp:23: instantiated from here
/usr/include/boost/python/type_id.hpp:89: error: invalid use of incomplete type 'struct InteractionGeometry'
/home/sega/build/yade/build-trunk/include/yade-trunk/yade/core/Interaction.hpp:11: error: forward declaration of 'struct InteractionGeometry'
In file included from /home/sega/build/yade/build-trunk/plugins9.cpp:2:
/home/sega/work/yade/trunk/pkg/common/Engine/GlobalEngine/Recorder.cpp: At global scope:
/home/sega/work/yade/trunk/pkg/common/Engine/GlobalEngine/Recorder.cpp:3: warning: 'boost::archive::detail::<unnamed>::init_guid<Recorder>::guid_initializer' defined but not used
/home/sega/work/yade/trunk/pkg/common/Engine/PartialEngine/TranslationEngine.cpp:23: warning: 'boost::archive::detail::<unnamed>::init_guid<TranslationEngine>::guid_initializer' defined but not used
scons: *** [/home/sega/build/yade/build-trunk/plugins9.os] Error 1
Hi,
I am not sure, it is the same bug, but I cant also compile the r2402
Thanks
======= ======= ======= ======= ======= ======= ======= ==== DataClass/ VelocityBins. cpp boost/python/ instance_ holder. hpp:11,
from boost/python/ object/ pointer_ holder. hpp:14,
from /usr/include/ boost/python/ to_python_ indirect. hpp:10,
from boost/python/ converter/ arg_to_ python. hpp:10,
from /usr/include/ boost/python/ call.hpp: 15,
from /usr/include/ boost/python/ object_ core.hpp: 12,
from /usr/include/ boost/python/ args.hpp: 25,
from /usr/include/ boost/python. hpp:11,
from dem/yade/ cleanCompNewQT4 /build- cleanCompNew/ include/ yade-cleanCompN ew/yade/ lib-serializati on/Serializable .hpp:22,
from dem/yade/ cleanCompNewQT4 /build- cleanCompNew/ include/ yade-cleanCompN ew/yade/ core/Interactio n.hpp:5,
from pkg/common/ DataClass/ VelocityBins. hpp:4,
from pkg/common/ DataClass/ VelocityBins. cpp:4: boost/python/ type_id. hpp: In function 'boost: :python: :type_info python: :type_id( ) [with T = const volatile InteractionPhys ics&]': boost/python/ converter/ registered. hpp:87: instantiated from python: :converter: :registration& python: :converter: :detail: :registry_ lookup2( T& (*)()) [with T = const ics]' boost/python/ converter/ registered. hpp:94: instantiated from python: :converter: :registration& python: :converter: :detail: :registry_ lookup1( boost:: type<Target> ) ics&]' boost/python/ converter/ registered. hpp:105: instantiated from python: :converter: :registration& python: :converter: :detail: :registered_ base<const volatile ics&>:: converters' boost/python/ to_python_ value.hpp: 118: instantiated from python: :detail: :shared_ ptr_to_ python_ value<T> ::get_pytype( boost:: type<boost: :shared_ ptr<Y>& >*) shared_ ptr<Interaction Physics> &]' boost/python/ to_python_ value.hpp: 109: instantiated from python: :detail: :shared_ ptr_to_ python_ value<T> ::get_pytype( ) const shared_ ptr<Interaction Physics> &]' boost/python/ detail/ caller. hpp:102: instantiated from 'static python: :detail: :converter_ target_ type<ResultConv erter>: :get_pytype( ) python: :to_python_ value<boost: :shared_ ptr<Interaction Physics> &>]' boost/python/ detail/ caller. hpp:242: instantiated from 'static python: :detail: :py_func_ sig_info python: :detail: :caller_ arity<1u> ::impl< F, Policies, Sig>::signature() python: :detail: :member< boost:: shared_ ptr<Interaction Physics> , python: :return_ value_policy< boost:: python: :return_ by_value, python: :default_ call_policies> , Sig = mpl::vector2< boost:: shared_ ptr<Interaction Phy...
C pkg/common/
In file included from /usr/include/
/usr/include/
/usr/include/
/home/anton/
/home/anton/
/usr/include/
boost::
/usr/include/
'const boost::
boost::
volatile InteractionPhys
/usr/include/
'const boost::
boost::
[with T = const volatile InteractionPhys
/usr/include/
'const boost::
boost::
InteractionPhys
/usr/include/
'const PyTypeObject*
boost::
const [with U = InteractionPhysics, T =
boost::
/usr/include/
'const PyTypeObject*
boost::
[with T = boost::
/usr/include/
const PyTypeObject*
boost::
[with ResultConverter =
boost::
/usr/include/
boost::
boost::
[with F =
boost::
Interaction>, Policies =
boost::
boost::
boost::