关注this guid我尝试在OSX El Capitan(10.11.2)上构建V8。 在第1步,我执行以下操作:
make x64.release -j 4
这似乎很成功。然后我复制代码并且;来到第3步我收到以下错误:
v8 git:(4.8) ✗ g++ -I. hello_world.cpp -o hello_world -Wl,--start-group out/x64.release/obj.target/{tools/gyp/libv8_{base,libbase,external_snapshot,libplatform},third_party/icu/libicu{uc,i18n,data}}.a -Wl,--end-group -lrt -ldl -pthread -std=c++0x
clang: error: no such file or directory: 'out/x64.release/obj.target/tools/gyp/libv8_base.a'
clang: error: no such file or directory: 'out/x64.release/obj.target/tools/gyp/libv8_libbase.a'
clang: error: no such file or directory: 'out/x64.release/obj.target/tools/gyp/libv8_external_snapshot.a'
clang: error: no such file or directory: 'out/x64.release/obj.target/tools/gyp/libv8_libplatform.a'
clang: error: no such file or directory: 'out/x64.release/obj.target/third_party/icu/libicuuc.a'
clang: error: no such file or directory: 'out/x64.release/obj.target/third_party/icu/libicui18n.a'
clang: error: no such file or directory: 'out/x64.release/obj.target/third_party/icu/libicudata.a'
知道我做错了吗?