Boost logo

Boost Users :

From: Steffen Rauh (steffen.rauh_at_[hidden])
Date: 2004-08-18 15:46:48


Hello,

creating a custom build, I get lots of compiler errors during Boost.Python
compilation. Some of these compiler errors are:

c:\...\boost_1_31_0\libs\python\build\../src/numeric.cpp:
Error E2231 C:\...\boost_1_31_0\boost/python/detail/value_is_shared_ptr.hpp
14:
Member value_is_shared_ptr<X_>::value cannot be used without an object.
Error E2299 C:\...\boost_1_31_0\boost/python/detail/value_is_shared_ptr.hpp
14:
Cannot generate template specialization from 'mpl::bool_<C_>'
Error E2040 C:\...\boost_1_31_0\boost/python/detail/value_is_shared_ptr.hpp
14:
Declaration syntax error

These error messages repeat in a lot of other files. Sometimes the compiler
aborts compilation because of too many errors or warnings. The rest of boost
seems to compile fine.

Does anybody have an idea on how to solve this problem? Is this difficulty
already known? I tried to compile with Python 2.3 at first but switched back
to Python 2.2 because I read somewhere that there may be some problems with
this version. But it did not solve the problem. I already tried to compile
the current CVS Snapshot but it did not change a thing.

My configuration is:
- Python 2.2
- Boost 1.31.0
- bjam 3.1.10
- Windows XP
- Borland C++ Builder 6 Personal

Building Boost with:
c:\...\boost_1_31_0>bjam -sTOOLS=borland -sPYTHON_ROOT=c:\...\python22
install

I would appreciate any suggestions.
Regards,
Steffen Rauh


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net