[英]WebAssembly emsdk installation fails
我想安裝EMSDK進行WASM編譯,但是EMSDK安裝失敗。
我已經在Ubuntu 16上安裝了Cmake(3.14.0-rc1也嘗試了3.5.2)。
當我運行./emsdk install sdk-incoming-64bit binaryen-master-64bit
會失敗:
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_ASM_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "/home/emsdk/clang/fastcomp/build_incoming_64/CMakeFiles/CMakeOutput.log".
CMake invocation failed due to exception!
Working directory: /home/emsdk/clang/fastcomp/build_incoming_64
Command '['cmake', '-G', 'Unix Makefiles', '-DCMAKE_BUILD_TYPE=Release', '-DPYTHON_EXECUTABLE=/usr/bin/python', '-DLLVM_TARGETS_TO_BUILD=X86;JSBackend', '-DLLVM_INCLUDE_EXAMPLES=OFF', '-DCLANG_INCLUDE_EXAMPLES=OFF', '-DLLVM_INCLUDE_TESTS=OFF', '-DCLANG_INCLUDE_TESTS=OFF', '-DLLVM_ENABLE_ASSERTIONS=OFF', '/home/emsdk/clang/fastcomp/src']' returned non-zero exit status 1
Installation failed!
您可能缺少make,因為cmake抱怨沒有make程序。 嘗試sudo apt-get install build-essential
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.