[C++-sig] Problems Compiling in VS 2005

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[C++-sig] Problems Compiling in VS 2005

Sergey Tiraspolsky
I'm attempting to upgrade my solution to 2005 from 2003 and it compiles 
fine until it gets to boost then I get errors. Here's the error:
Error 889 error C2665: 'boost::python::detail::make_getter' :
none of the 3 overloads could convert all the argument types
...\boost-1.32.0\include\boost\python\data_members.hpp 277

I thought it may be related to having an older version of Boost so I
upgraded to 1.33.1 and am still having the same error:

boost-1.33.1\include\boost\python\data_members.hpp(277) : error C2665:
'boost::python::detail::make_getter' : none of the 3 overloads could
convert all the argument types

Any ideas?


Brings words and photos together (easily) with
PhotoMail - it's free and works with Yahoo! Mail.
_______________________________________________
C++-sig mailing list
[hidden email]
http://mail.python.org/mailman/listinfo/c++-sig
Reply | Threaded
Open this post in threaded view
|

Re: [C++-sig] Problems Compiling in VS 2005

David Abrahams
Sergey Tiraspolsky <[hidden email]> writes:

> I'm attempting to upgrade my solution to 2005 from 2003 and it compiles
> fine until it gets to boost then I get errors.  Here's the error:
> Error    889      error C2665: 'boost::python::detail::make_getter' :
> none of the 3 overloads could convert all the argument types    
> ...\boost-1.32.0\include\boost\python\data_members.hpp     277
>
> I thought it may be related to having an older version of Boost so I
> upgraded to 1.33.1 and am still having the same error:
>
> boost-1.33.1\include\boost\python\data_members.hpp(277) : error C2665:  
> 'boost::python::detail::make_getter' : none of the 3 overloads could
> convert all  the argument types
>
> Any ideas?

Post a minimal, reproducible example, and we can try to debug it for
you.

--
Dave Abrahams
Boost Consulting
www.boost-consulting.com

_______________________________________________
C++-sig mailing list
[hidden email]
http://mail.python.org/mailman/listinfo/c++-sig
Reply | Threaded
Open this post in threaded view
|

Re: [C++-sig] Problems Compiling in VS 2005

Ralf W. Grosse-Kunstleve
--- David Abrahams <[hidden email]> wrote:

> Sergey Tiraspolsky <[hidden email]> writes:
>
> > I'm attempting to upgrade my solution to 2005 from 2003 and it compiles
> > fine until it gets to boost then I get errors.  Here's the error:
> > Error    889      error C2665: 'boost::python::detail::make_getter' :
> > none of the 3 overloads could convert all the argument types    
> > ...\boost-1.32.0\include\boost\python\data_members.hpp     277
> >
> > I thought it may be related to having an older version of Boost so I
> > upgraded to 1.33.1 and am still having the same error:
> >
> > boost-1.33.1\include\boost\python\data_members.hpp(277) : error C2665:  
> > 'boost::python::detail::make_getter' : none of the 3 overloads could
> > convert all  the argument types
> >
> > Any ideas?
>
> Post a minimal, reproducible example, and we can try to debug it for
> you.

FWIW: I am using Boost.Python (very recent CVS) with VS 2005 Professional. I
know all boost/libs/python/tests work OK. We have 50+ extensions which also
work just fine.
Once you get past the compilation errors: you have to run the "manifest tool"
on the .pyd files. Example cl, link and mt commands are here (the page will
disappear some time in the future):

http://cci.lbl.gov/cctbx_build/results/2006_01_31_2306/win_xp_vc80_py242_build_log

Cheers,
        Ralf


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com 
_______________________________________________
C++-sig mailing list
[hidden email]
http://mail.python.org/mailman/listinfo/c++-sig