Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Anwar_L_
Beginner
73 Views

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

./bootstrap.sh --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

                  std::initializer_list<value_type>,

                  ^

 

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

0 Kudos
1 Reply
Feilong_H_Intel
Employee
73 Views

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 14.0.1.103 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
$ ./bootstrap.sh --with-toolset=intel-darwin --with-libraries=python
$ ./b2 variant=release threading=multi link=shared

 

Thanks.

Reply