[C++-sig] Building
Pedro Bolaños
psbolanos at hotmail.com
Mon Feb 14 16:41:25 CET 2005
Hi,
I've been trying to build Boost.Python, without success, both, using
bjam(3.1.10), and the visual studio project.
When I use bjam, I set the following environment variables:
VC7_ROOT = C:\Archivos de programa\Microsoft Visual Studio .NET\Vc7
PYTHON_ROOT = c:\desarrollo\python23
PYTHON_VERSION = 2.3
and invoke the command in "C:\Desarrollo\boost_1_32_0\libs\python\build" as
follows:
bjam "-sTOOLS=vc7"
When using the visual studio project I get the following output:
------ Build started: Project: boost_python, Configuration: Release Win32
------
Compiling...
type_id.cpp
tuple.cpp
str.cpp
registry.cpp
pickle_support.cpp
../../../../boost\python\args_fwd.hpp(45) : error C2118: negative subscript
or subscript is too large
../../../../boost\python\args_fwd.hpp(46) : 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(45) : error C2118: negative subscript
or subscript is too large
../../../../boost\python\args_fwd.hpp(46) : see reference to class
template instantiation
'boost::python::detail::error::more_keywords_than_function_arguments<,>'
being compiled
inheritance.cpp
../../../../boost\pending\detail\property.hpp(80) : error C2039:
'result<`template-parameter258'>' : is not a member of
'boost::detail::property_value_end<PropertyList>'
../../../../boost\pending\detail\property.hpp(80) : fatal error C1507:
previous user errors and subsequent error recovery halt further compilation
function.cpp
../../../../boost\python\args_fwd.hpp(45) : error C2118: negative subscript
or subscript is too large
../../../../boost\python\args_fwd.hpp(46) : 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_32_0\libs\python\src\converter\builtin_converters.cpp(77)
: warning C4244: '=' : conversion from 'double' to 'float', possible loss of
data
\Desarrollo\boost_1_32_0\libs\python\src\converter\builtin_converters.cpp(70)
: 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_32_0\libs\python\src\converter\builtin_converters.cpp(396)
: 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_32_0\libs\python\build\VisualStudio\release-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 missing any step?
Thank you very much.
Sebastian Bolaños.
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
More information about the Cplusplus-sig
mailing list