首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Windows上重建hhvm

在Windows上重建hhvm
EN

Stack Overflow用户
提问于 2016-11-11 05:23:58
回答 1查看 263关注 0票数 0

我想从windows10(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的输出为:

代码语言:javascript
复制
-- 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.0cmdVS2015 x86 x64 Cross Tools Command PromptVS2013 x64 Cross Tools Command PromptDeveloper Command Prompt for VS2013Developer Command Prompt for VS2012VS2012 x64 Cross Tools Command Prompt中测试了cmake .注释。

信息:

代码语言:javascript
复制
$ 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\目录中的文件、文件夹:

代码语言:javascript
复制
$ 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\中的文件夹:

代码语言:javascript
复制
$ ls
include  lib

还有Cygwin B20(C:\cygnus\cygwin-b20\cygnus.bat)

代码语言:javascript
复制
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的问题?

EN

回答 1

Stack Overflow用户

发布于 2017-07-12 22:43:33

我已经达到了让HHVM在基于Docker和远程项目功能的Windows上的Nuclide中工作。你可以检查我的repo,以便让它也能为你工作:

https://github.com/nahuelhds/nuclide-hhvm-windows

您只需要使用Docker,然后使用docker命令构建和运行其他任何东西,真的。这一切都在回购中得到了解释。

我知道这不是你问题的确切答案,但也许你可以试一试。

希望它能为你工作。问候

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/40537245

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档