← Back to team overview

yade-dev team mailing list archive

Re: [Bug 618766] [NEW] compilation error rev2402

 

Hi,
I am not sure, it is the same bug, but I cant also compile the r2402

Thanks


=====================================================
C pkg/common/DataClass/VelocityBins.cpp
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/anton/dem/yade/cleanCompNewQT4/build-cleanCompNew/include/yade-cleanCompNew/yade/lib-serialization/Serializable.hpp:22,
                 from
/home/anton/dem/yade/cleanCompNewQT4/build-cleanCompNew/include/yade-cleanCompNew/yade/core/Interaction.hpp:5,
                 from pkg/common/DataClass/VelocityBins.hpp:4,
                 from pkg/common/DataClass/VelocityBins.cpp:4:
/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&> >]'
pkg/common/DataClass/VelocityBins.cpp:112:   instantiated from here
/usr/include/boost/python/type_id.hpp:89: error: invalid use of incomplete
type 'struct InteractionPhysics'
/home/anton/dem/yade/cleanCompNewQT4/build-cleanCompNew/include/yade-cleanCompNew/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&> >]'
pkg/common/DataClass/VelocityBins.cpp:112:   instantiated from here
/usr/include/boost/python/type_id.hpp:89: error: invalid use of incomplete
type 'struct InteractionGeometry'
/home/anton/dem/yade/cleanCompNewQT4/build-cleanCompNew/include/yade-cleanCompNew/yade/core/Interaction.hpp:11:
error: forward declaration of 'struct InteractionGeometry'
scons: ***
[/home/anton/dem/yade/cleanCompNewQT4/build-cleanCompNew/pkg/common/DataClass/VelocityBins.os]
Error 1
scons: building terminated because of errors.

-- 
compilation error rev2402
https://bugs.launchpad.net/bugs/618766
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.

Status in Yet Another Dynamic Engine: New

Bug description:
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





References