activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Auerbach <auerb...@ict.usc.edu>
Subject error when compiling pyactiveMQ
Date Mon, 22 Dec 2008 19:19:45 GMT

Hello,

I know this forum concerns activeMQ itself and not pyactiveMQ, but I'm
having some difficulties and I was hoping somebody here might have an idea. 
I'm trying to compile pyactiveMQ so that it incorporates the latest version
of activeMQ-cpp.  I've built all of the dependent libraries and resources,
and now I am trying to compile pyactiveMQ itself.  The problem I'm having is
this.  I need to compile this within Visual Studio 2005. The solution file
that comes with pyactiveMQ is a visual studio 2008.  Consequently I'm having
to build my own solution in visual studio 2005.  When I try to compile this
solution, I get the following error:




1>C:\Program Files\boost\boost_1_36_0\boost/python/detail/caller.hpp(102) :
error C2039: 'get_pytype' : is not a member of 'to_python_Message<T>'
1>        with
1>        [
1>            T=result_t 
1>        ]
1>        C:\Program
Files\boost\boost_1_36_0\boost/python/detail/caller.hpp(101) : while
compiling class template member function 'const PyTypeObject
*boost::python::detail::converter_target_type<ResultConverter>::get_pytype(void)'
1>        with
1>        [
1>            ResultConverter=result_converter
1>        ]
1>        C:\Program
Files\boost\boost_1_36_0\boost/python/detail/caller.hpp(240) : see reference
to class template instantiation
'boost::python::detail::converter_target_type<ResultConverter>' being
compiled
1>        with
1>        [
1>            ResultConverter=result_converter
1>        ]
1>        C:\Program
Files\boost\boost_1_36_0\boost/python/detail/caller.hpp(231) : while
compiling class template member function
'boost::python::detail::py_func_sig_info
boost::python::detail::caller_arity<1>::impl<F,Policies,Sig>::signature(void)'
1>        with
1>        [
1>            F=cms::Message *(__thiscall cms::MessageConsumer::* )(void),
1>           
Policies=boost::python::return_value_policy<manage_new_Message>,
1>            Sig=boost::mpl::vector2<cms::Message *,cms::MessageConsumer &>
1>        ]
1>        C:\Program
Files\boost\boost_1_36_0\boost/python/detail/caller.hpp(169) : see reference
to class template instantiation
'boost::python::detail::caller_arity<1>::impl<F,Policies,Sig>' being
compiled
1>        with
1>        [
1>            F=cms::Message *(__thiscall cms::MessageConsumer::* )(void),
1>           
Policies=boost::python::return_value_policy<manage_new_Message>,
1>            Sig=boost::mpl::vector2<cms::Message *,cms::MessageConsumer &>
1>        ]
1>        C:\Program
Files\boost\boost_1_36_0\boost/python/make_function.hpp(61) : see reference
to class template instantiation
'boost::python::detail::caller<F,CallPolicies,Sig>' being compiled
1>        with
1>        [
1>            F=cms::Message *(__thiscall cms::MessageConsumer::* )(void),
1>           
CallPolicies=boost::python::return_value_policy<manage_new_Message>,
1>            Sig=boost::mpl::vector2<cms::Message *,cms::MessageConsumer &>
1>        ]
1>        C:\Program
Files\boost\boost_1_36_0\boost/python/make_function.hpp(146) : see reference
to function template instantiation 'boost::python::api::object
boost::python::detail::make_function_aux<F,CallPolicies,Signature,boost::mpl::int_<N>>(F,const
CallPolicies &,const Sig &,const boost::python::detail::keyword_range
&,NumKeywords)' being compiled
1>        with
1>        [
1>            F=cms::Message *(__thiscall cms::MessageConsumer::* )(void),
1>           
CallPolicies=boost::python::return_value_policy<manage_new_Message>,
1>            Signature=boost::mpl::vector2<cms::Message
*,cms::MessageConsumer &>,
1>            N=0,
1>            Sig=boost::mpl::vector2<cms::Message *,cms::MessageConsumer
&>,
1>            NumKeywords=boost::mpl::int_<0>
1>        ]
1>        C:\Program Files\boost\boost_1_36_0\boost/python/class.hpp(544) :
see reference to function template instantiation 'boost::python::api::object
boost::python::make_function<Fn,T1,boost::python::detail::keywords<0>,boost::mpl::vector2<T0,cms::MessageConsumer
&>>(F,const CallPolicies &,const Keywords &,const Signature &)' being
compiled
1>        with
1>        [
1>            Fn=cms::Message *(__thiscall cms::MessageConsumer::* )(void),
1>            T1=boost::python::return_value_policy<manage_new_Message>,
1>            T0=cms::Message *,
1>            F=cms::Message *(__thiscall cms::MessageConsumer::* )(void),
1>           
CallPolicies=boost::python::return_value_policy<manage_new_Message>,
1>            Keywords=boost::python::detail::keywords<0>,
1>            Signature=boost::mpl::vector2<cms::Message
*,cms::MessageConsumer &>
1>        ]
1>        C:\Program Files\boost\boost_1_36_0\boost/python/class.hpp(259) :
see reference to function template instantiation 'void
boost::python::class_<W,X1,X2>::def_impl<cms::MessageConsumer,Fn,boost::python::detail::def_helper<T1,T2>>(T
*,const char *,Fn,const Helper &,...)' being compiled
1>        with
1>        [
1>            W=cms::MessageConsumer,
1>            X1=boost::python::bases<cms::Closeable>,
1>            X2=boost::noncopyable,
1>            Fn=cms::Message *(__thiscall cms::MessageConsumer::* )(void),
1>            T1=boost::python::return_value_policy<manage_new_Message>,
1>            T2=const char *,
1>            T=cms::MessageConsumer,
1>           
Helper=boost::python::detail::def_helper<boost::python::return_value_policy<manage_new_Message>,const
char *>
1>        ]
1>       
..\..\..\..\..\..\..\svn\pyactivemq\src\main\MessageConsumer.cpp(95) : see
reference to function template instantiation 'boost::python::class_<W,X1,X2>
&boost::python::class_<W,X1,X2>::def<cms::Message*(__thiscall
cms::MessageConsumer::*
)(void),boost::python::return_value_policy<ResultConverterGenerator>,const
char*>(const char *,Fn,const A1 &,const A2 &)' being compiled
1>        with
1>        [
1>            W=cms::MessageConsumer,
1>            X1=boost::python::bases<cms::Closeable>,
1>            X2=boost::noncopyable,
1>            ResultConverterGenerator=manage_new_Message,
1>            Fn=cms::Message *(__thiscall cms::MessageConsumer::* )(void),
1>            A1=boost::python::return_value_policy<manage_new_Message>,
1>            A2=const char *
1>        ]


If anybody has any idea what this error may be, I'd appreciate it.  Thanks.
-- 
View this message in context: http://www.nabble.com/error-when-compiling-pyactiveMQ-tp21133405p21133405.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message