[CMake] Possible Windows regression in CMake 3.5?

Bob Summerwill bob at summerwill.net
Fri Feb 19 17:48:02 EST 2016


Sorry - wrong log file:

     https://github.com/ethereum/webthree-umbrella/files/136058/console.txt

And the actual crux of the failure is failing to find ONLY boost atomic
library, when it is actually present, and works just fine on CMake 3.4.3.
 Were there changes to the Boost-related functions in CMake 3.5?


CMake Error at C:/Program Files
(x86)/CMake/share/cmake-3.5/Modules/FindBoost.cm
ake:1647 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.55.0

  Boost include path:
  D:/webthree-umbrella/webthree-helpers/extdep/install/win
dows/x64/include


  Could not find the following static Boost libraries:

          boost_atomic

  Some (but not all) of the required Boost libraries were found.  You may
  need to install these additional Boost libraries.  Alternatively, set
  BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
  to the location of Boost.

On Fri, Feb 19, 2016 at 2:04 PM, Bob Summerwill <bob at summerwill.net> wrote:

> Does this issue look familiar to anybody:
>
>     https://github.com/ethereum/webthree-umbrella/issues/235
>
> Windows Windows 8.1 with VS12.  Works with CMake 3.4.   Broken with CMake
> 3.5.
>
> There isn't much to go on in the log file the OP attached:
>
> https://github.com/ethereum/webthree-umbrella/files/134182/CMakeError.txt
>
> But the crux appears to be:
>
> "D:\webthree-umbrella\build\CMakeFiles\CMakeTmp\cmTC_5b2cf.vcxproj"
> (destinazione predefinita) (1) ->
>
> (destinazione: ClCompile) ->
>
>   D:\webthree-umbrella\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1):
> fatal error C1083: Cannot open include file: 'pthread.h': No such file or
> directory
> [D:\webthree-umbrella\build\CMakeFiles\CMakeTmp\cmTC_5b2cf.vcxproj]
>
>
>   D:\webthree-umbrella\build\CMakeFiles\CMakeTmp\CheckSymbolExists.c(8):
> error C2065: 'CL_VERSION_2_0' : undeclared identifier
> [D:\webthree-umbrella\build\CMakeFiles\CMakeTmp\cmTC_ab7a5.vcxproj]
>
>
>
>     Avvisi: 0
>
>     Errori: 1
>
>
>
> Tempo trascorso 00:00:00.29
>
>
> File D:/webthree-umbrella/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
> /* */
> #include
> <D:/webthree-umbrella/webthree-helpers/extdep/install/windows/x64/include/CL/cl.h>
>
> int main(int argc, char** argv)
> {
>   (void)argv;
> #ifndef CL_VERSION_2_0
>   return ((int*)(&CL_VERSION_2_0))[argc];
> #else
>   (void)argc;
>   return 0;
> #endif
> }
>
>
> --
> bob at summerwill.net
>
>


-- 
bob at summerwill.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160219/c72e7bdb/attachment.html>


More information about the CMake mailing list