[C++-sig] Re: no matching function for call

Cyril Bonnard cyril.bonnard at cirad.fr
Thu May 22 09:49:13 CEST 2003


David Abrahams wrote:

>Cyril Bonnard <cyril.bonnard at cirad.fr> writes:
>
>  
>
>>If someone could help me on theses errors.......
>>
>>1///
>>I just can't explain why the following code (line 17) doesn't work fine:
>>
>>error is:
>>appe_color.cpp: In function `void init_module_appe_color()':
>>appe_color.cpp:17: no matching function for call to
>>boost::python::class_<Color3, boost::python::detail::not_specified,
>>boost::python::detail::not_specified,
>>boost::python::detail::not_specified>::def_readonly(const char[6],
>>const Color3*)
>>
>>    
>>
>
>I think this one is fixed now.  Please try the latest CVS.
>
>  
>
i am sorry i've done a cvs update an try it again:
...
 .def_readonly("BLACK", &Color3::BLACK) //line 17
...

appe_color.cpp:17: no matching function for call to 
`boost::python::class_<Color3, boost::python::detail::not_specified, 
boost::python::detail::not_specified, 
boost::python::detail::not_specified>::def_readonly(const char[6], const 
Color3*)'
scons: *** [appe_color.os] Error 1
scons: done building targets.


it doesn't work .....





More information about the Cplusplus-sig mailing list