【发布时间】:2016-11-10 21:23:58
【问题描述】:
我想在 Windows 10(64 位,type = home)中从源代码重建 hhvm。
来源:https://github.com/facebook/hhvm/
链接 1:github.com/facebook/hhvm/wiki/Building-and-installing-HHVM-on-Windows-with-MSVC
链接 2:github.com/facebook/hhvm/wiki/Building-and-Installing-HHVM-on-Cygwin
cmake . 或 ./configure 的输出是:
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:18 (PROJECT):
No CMAKE_C_COMPILER could be found.
CMake Error at CMakeLists.txt:18 (PROJECT):
No CMAKE_CXX_COMPILER could be found.
-- Configuring incomplete, errors occurred!
See also "C:/hhvm-master/CMakeFiles/CMakeOutput.log".
See also "C:/hhvm-master/CMakeFiles/CMakeError.log".
我还在msys 1.0和cmd和VS2015 x86 x64 Cross Tools Command Prompt和VS2013 x64 Cross Tools Command Prompt和Developer Command Prompt for VS2013和Developer Command Prompt for VS2012和VS2012 x64 Cross Tools Command Prompt和...中测试cmake .评论。
信息:
$ gcc --version
gcc (i686-posix-dwarf-rev4, Built by MinGW-W64 project) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ g++ --version
g++ (i686-posix-dwarf-rev4, Built by MinGW-W64 project) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ cmake --version
cmake version 3.7.0-rc3
CMake suite maintained and supported by Kitware (kitware.com/cmake).
c:\hhvm-master\ 目录中的文件、文件夹:
$ ls
CMake CMakeCache.txt CMakeFiles CMakeLists.txt CONTRIBUTING.md ISSUE_TEMPLATE.md LICENSE.PHP LICENSE.ZEND README.md configure deps hphp third-party
c:\hhvm-master\deps\ 中的文件夹:
$ ls
include lib
还有 Cygwin B20(C:\cygnus\cygwin-b20\cygnus.bat)
bash-2.02$ cd c:/hhvm-master
bash-2.02$ cmake -DCMAKE_BUILD_TYPE=Debug .
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:18 (PROJECT):
No CMAKE_C_COMPILER could be found.
CMake Error at CMakeLists.txt:18 (PROJECT):
No CMAKE_CXX_COMPILER could be found.
-- Configuring incomplete, errors occurred!
See also "C:/hhvm-master/CMakeFiles/CMakeOutput.log".
See also "C:/hhvm-master/CMakeFiles/CMakeError.log".
如何解决cmake的问题?
【问题讨论】:
标签: c++ c facebook hhvm hiphop