【发布时间】:2016-01-29 12:40:59
【问题描述】:
刚刚开始更新 MacBookPro 并尝试再次设置编码环境。我无法“制作”qt,我需要为 pythonic 程序生成 GUI。我已经安装了最新版本的 xcode,并且在 http://doc.qt.io/qt-4.8/install-mac.html 上进行了大约 20 小时的“make”之后,make 例程炸弹爆炸了,我得到了以下信息:
失败:如果 [ ! -e ffmpegsumo.so -o ! -e ffmpegsumo.so.TOC ] || otool -l ffmpegsumo.so | grep -q LC_REEXPORT_DYLIB ;然后 /usr/bin/clang++ -bundle -Wl,-search_paths_first -stdlib=libc++ -mmacosx-version-min=10.7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10 .11.sdk -Lgen/third_party/ffmpeg -arch x86_64 -L。 -o ffmpegsumo.so @ffmpegsumo.so.rsp && { otool -l ffmpegsumo.so | grep LC_ID_DYLIB -A 5; nm -gP ffmpegsumo.so |剪切-f1-2 -d' ' | grep -v U$;真的; } > ffmpegsumo.so.TOC;否则 /usr/bin/clang++ -bundle -Wl,-search_paths_first -stdlib=libc++ -mmacosx-version-min=10.7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10 .11.sdk -Lgen/third_party/ffmpeg -arch x86_64 -L。 -o ffmpegsumo.so @ffmpegsumo.so.rsp && { otool -l ffmpegsumo.so | grep LC_ID_DYLIB -A 5; nm -gP ffmpegsumo.so |剪切-f1-2 -d' ' | grep -v U$;真的; } > ffmpegsumo.so.tmp && 如果! cmp -s ffmpegsumo.so.tmp ffmpegsumo.so.TOC;然后 mv ffmpegsumo.so.tmp ffmpegsumo.so.TOC ;菲;菲
clang:错误:没有这样的文件或目录:'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libz.dylib'
[5479/10912] CXX obj/src/3rdparty/chromium/v8/tools/gyp/obj/src/3rdparty/chromium/v8/tools/gyp/v8_snapshot.gen/v8_snapshot.snapshot.o
ninja:构建停止:子命令失败。
make[5]: *** [invoke_ninja] 错误 1
make[4]: *** [debug-all] 错误 2
make[3]: *** [sub-gyp_run-pro-make_first] 错误 2
make[2]: *** [sub-core-make_first] 错误 2
make[1]: *** [sub-src-make_first] 错误 2
make: *** [module-qtwebengine-make_first] 错误2
任何有用的提示都会很棒,在此先感谢。
【问题讨论】:
-
所以 glennr 走在了正确的轨道上。看看我的回答,让我知道它是否适合你。刚刚完成了 El Capitan 的构建,但我没有使用 webkit
-
介意将两者之一标记为答案吗?谢谢