Compilation error when building Boost.Python on OS X

Compilation error when building Boost.Python on OS X

I'm trying to build boost.Python with composer xe 2013 sp1:

boost version: 1_55

./ --with-toolset=intel-darwin --with-libraries=python

./b2 variant=release threading=multi link=shared

intel-darwin.compile.c++ bin.v2/libs/python/build/intel-darwin/release/threading-multi/object/inheritance.o

In file included from ./boost/unordered_set.hpp(16),

                 from ./boost/graph/adjacency_list.hpp(21),

                 from libs/python/src/object/inheritance.cpp(11):

./boost/unordered/unordered_set.hpp(136): error: qualified name is not allowed




Am I missing something? Xcode command line tools have been installed and I can compile other problems without problems

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi Anwar,

I tried to build it with icc in Composer XE 2013 SP1 Update 1.  No errors was observed.  My boost source code version is 1.55.0.  And followed your instructions exactly.  What's your icc version?  Could you please untar boost source package and restart compiling from scatch?  Not sure if that helps.  At least it is something we can try.

$ icc -V
Intel(R) C Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version Build 20131010
Copyright (C) 1985-2013 Intel Corporation.  All rights reserved.


BTW, here is what I did.

$ tar xjvf boost_1_55_0.tar.bz2
$ cd boost_1_55_0
$ ./ --with-toolset=intel-darwin --with-libraries=python
$ ./b2 variant=release threading=multi link=shared



Login to leave a comment.