Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
7662 Discussions

Compilation error when building Boost.Python on OS X

Anwar_L_
Beginner
193 Views

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
193 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