[CMake] CMake Error at build/modules/add_boost.cmake:156 (message):

Raymond Wan rwan.work at gmail.com
Fri Aug 14 00:55:48 EDT 2015


Hi Sonya,


On Fri, Aug 14, 2015 at 12:46 PM, Sonya Blade
<sonyablade2010 at hotmail.com> wrote:
> Where do you see all of this, I couldn't even make out single meaningfu
> sentence out of it.
> The only  thing that I can understand is that bootstrap cmake file is
> executed but bootstrap.sh
> file is failing. I don't even understand from where and how boost has
> dependency on bootstrap.
> Cmake GUI downloaded the boost, does that mean that I have downloaded also
> the bootstrap
> automatically? At the attachment you can find the fulll error log during
> that execution,


I don't know the program you are trying to compile, but bootstrap.sh
is how Boost compiles itself.  i.e., it is included in the Boost
distribution.  See:

http://www.boost.org/doc/libs/1_55_0/more/getting_started/windows.html#simplified-build-from-source

Without looking at the CMake module myself, I guess it has gone off
and downloaded Boost, unpacked it, and is trying to compile it using
the bootstrap.sh / bootstrap.bat command and is failing.  Sounds like
a problem with the developers of the program and how they made the
CMake module?

You could probably look at the lines in the modules, according to the
error message.  I'm not sure if it's just a problem of the formatting
of the error message, but this looked funny to me:

> Failed running ./bootstrap.sh;--with-toolset=gcc:

--with-toolset=gcc is an argument to the bootstrap.sh script.  Why is
there a semi-colon between them?

But maybe this is nothing...

Ray


More information about the CMake mailing list