[CMake] Possible Windows regression in CMake 3.5?
Bob Summerwill
bob at summerwill.net
Fri Feb 19 17:04:40 EST 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160219/7e20d336/attachment.html>
More information about the CMake
mailing list