[C++-sig] Boost-Python

Pedro Bolaños psbolanos at hotmail.com
Tue Aug 10 01:08:07 CEST 2004


Hi,

I've been trying to build boost-python both through the visual studio 
project file, and by using bjam. Either way I get the following output 
(errors):

------ Build started: Project: boost_python, Configuration: Debug Win32 
------

Compiling...
type_id.cpp
tuple.cpp
str.cpp
registry.cpp
pickle_support.cpp
../../../../boost\python\args_fwd.hpp(46) : error C2118: negative subscript 
or subscript is too large
        ../../../../boost\python\args_fwd.hpp(47) : see reference to class 
template instantiation 
'boost::python::detail::error::more_keywords_than_function_arguments<,>' 
being compiled
object_protocol.cpp
object_operators.cpp
numeric.cpp
module.cpp
long.cpp
list.cpp
life_support.cpp
iterator.cpp
../../../../boost\python\args_fwd.hpp(46) : error C2118: negative subscript 
or subscript is too large
        ../../../../boost\python\args_fwd.hpp(47) : see reference to class 
template instantiation 
'boost::python::detail::error::more_keywords_than_function_arguments<,>' 
being compiled
inheritance.cpp
../../../../boost\pending\detail\property.hpp(75) : error C2039: 
'result<`template-parameter258'>' : is not a member of 
'boost::detail::property_value_end<PropertyList>'
../../../../boost\pending\detail\property.hpp(75) : fatal error C1507: 
previous user errors and subsequent error recovery halt further compilation
function.cpp
../../../../boost\python\args_fwd.hpp(46) : error C2118: negative subscript 
or subscript is too large
        ../../../../boost\python\args_fwd.hpp(47) : see reference to class 
template instantiation 
'boost::python::detail::error::more_keywords_than_function_arguments<,>' 
being compiled
from_python.cpp
errors.cpp
enum.cpp
dict.cpp
class.cpp
Generating Code...
Compiling...
builtin_converters.cpp
\Desarrollo\boost_1_31_0\libs\python\src\converter\builtin_converters.cpp(78) 
: warning C4244: '=' : conversion from 'double' to 'float', possible loss of 
data
        
\Desarrollo\boost_1_31_0\libs\python\src\converter\builtin_converters.cpp(71) 
: while compiling class-template member function 'void 
boost::python::converter::`anonymous-namespace'::slot_rvalue_from_python<T,SlotPolicy>::construct(PyObject 
*,boost::python::converter::rvalue_from_python_stage1_data *)'
        with
        [
            T=float,
            
SlotPolicy=boost::python::converter::`anonymous-namespace'::float_rvalue_from_python
        ]
        
\Desarrollo\boost_1_31_0\libs\python\src\converter\builtin_converters.cpp(397) 
: see reference to class template instantiation 
'boost::python::converter::`anonymous-namespace'::slot_rvalue_from_python<T,SlotPolicy>' 
being compiled
        with
        [
            T=float,
            
SlotPolicy=boost::python::converter::`anonymous-namespace'::float_rvalue_from_python
        ]
arg_to_python_base.cpp
aix_init_module.cpp
Generating Code...

Build log was saved at 
"file://c:\Desarrollo\boost_1_31_0\libs\python\build\VisualStudio\debug-obj\BuildLog.htm"
boost_python - 5 error(s), 1 warning(s)


---------------------- Done ----------------------

    Build: 0 succeeded, 1 failed, 0 skipped


What can I do about it? Am I doing something wrong?
- I'm working on Windows XP
- I'm using Microsoft Visual Studio .NET 2003
- I'm using Boost 1.31 and boost-jam 3.1.10

Thanks,
Pedro Bolaños.

_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail




More information about the Cplusplus-sig mailing list