POV-Ray : Newsgroups : povray.unix : Compiling with icc 12.1 : Re: Compiling with icc 12.1 Server Time
1 May 2024 19:46:10 EDT (-0400)
  Re: Compiling with icc 12.1  
From: clipka
Date: 15 Dec 2011 13:36:52
Message: <4eea3e44$1@news.povray.org>
Am 15.12.2011 19:28, schrieb jhu:
> Ok, started compiling boost using icc. There are a bunch of libs that won't
> compile, one of which is the thread lib:
>
> [jhu@PhenomIIx6:~/temp/boost_1_47_0/libs/thread/build]$ ~/temp/bo*/bjam
> --toolset=intel-linux
>
> .....patience...
> .....found 513 targets...
> .....updating 6 targets...
> common.mkdir ../../../bin.v2/libs/thread/build/intel-linux-linux/debug
> common.mkdir
> ..../../../bin.v2/libs/thread/build/intel-linux-linux/debug/threading-multi
> common.mkdir
> ..../../../bin.v2/libs/thread/build/intel-linux-linux/debug/threading-multi/pthread
> intel-linux.compile.c++
>
..../../../bin.v2/libs/thread/build/intel-linux-linux/debug/threading-multi/pthread/thread.o
> ..../../../boost/smart_ptr/detail/shared_count.hpp(321): error: copy constructor
> for class "boost::detail::shared_count" may not have a parameter of type
> "boost::detail::shared_count"
>        shared_count(shared_count&&  r): pi_(r.pi_) // nothrow
>                     ^
>
> ..../../../boost/smart_ptr/detail/shared_count.hpp(321): error: expected a ")"
>        shared_count(shared_count&&  r): pi_(r.pi_) // nothrow
>                                  ^
> .....etc, etc.
>
> If I use the gcc toolset, it compiles just fine. Halp!


Try an earlier version of boost (1.45 is recommended).


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.