radxe
(radxe)
September 27, 2016, 4:20am
1
Hello, I build the moe according to the guide,
the error messages are:
Failed: Ld x86_64 dex2oat
Error log available at /Volumes/moe-robovm/moe/default/moe/moe-core/moe.apple/moe.core.native/android.art.dex2oat/build/dex2oat-Release-macos-macosx.log
:moe.apple:moe.core.native:android.art.dex2oat:build_dex2oat_macos_macosx_release FAILED
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ‘:moe.apple:moe.core.native:android.art.dex2oat:build_dex2oat_macos_macosx_release’.
Process ‘command ‘xcodebuild’’ finished with non-zero exit value 65
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Building Multi-OS Engine Core
The moe/moe-core repo contains the runtime (and some compile time) components of MOE. To build the frameworks and build tools, execute the following:
cd /moe/moe-core
./gradlew build
radxe
(radxe)
September 27, 2016, 4:21am
2
the log content:
COMMAND >>> [xcodebuild, -project, /Volumes/moe-robovm/moe/default/moe/moe-core/moe.apple/moe.core.native/android.art.dex2oat/android.art.dex2oat.xcodeproj, -configuration, Release-macos, -sdk, macosx, -target, dex2oat]
Build settings from command line:
SDKROOT = macosx10.12
=== BUILD TARGET dex2oat OF PROJECT android.art.dex2oat WITH CONFIGURATION Release-macos ===
Check dependencies
Ld build/xcode/Release-macos-macosx/dex2oat normal x86_64
cd /Volumes/moe-robovm/moe/default/moe/moe-core/moe.apple/moe.core.native/android.art.dex2oat
export MACOSX_DEPLOYMENT_TARGET=10.11
/Users/macos/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Users/macos/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -L/Volumes/moe-robovm/moe/default/moe/moe-core/moe.apple/moe.core.native/android.art.dex2oat/build/xcode/Release-macos-macosx -L/Volumes/moe-robovm/moe/default/moe/moe-core/moe.apple/moe.core.native/android.art.dex2oat/…/android.system.core.libnativebridge/build/xcode/Release-macos-macosx -L/Volumes/moe-robovm/moe/default/moe/moe-core/moe.apple/moe.core.native/android.art.dex2oat/…/android.system.core.libbase/build/xcode/Release-macos-macosx -L/Volumes/moe-robovm/moe/default/moe/moe-core/moe.apple/moe.core.native/android.art.dex2oat/…/android.system.core.libziparchive/build/xcode/Release-macos-macosx -L/Volumes/moe-robovm/moe/default/moe/moe-core/moe.apple/moe.core.native/android.art.dex2oat/…/android.system.core.libbacktrace/build/xcode/Release-macos-macosx -L/Volumes/moe-robovm/moe/default/moe/moe-core/moe.apple/moe.core.native/android.art.dex2oat/…/android.system.core.libutils/build/xcode/Release-macos-macosx -L/Volumes/moe-robovm/moe/default/moe/moe-core/moe.apple/moe.core.native/android.art.dex2oat/…/android.system.core.libcutils/build/xcode/Release-macos-macosx -L/Volumes/moe-robovm/moe/default/moe/moe-core/moe.apple/moe.core.native/android.art.dex2oat/…/android.system.core.liblog/build/xcode/Release-macos-macosx -L/Volumes/moe-robovm/moe/default/moe/moe-core/moe.apple/moe.core.native/android.art.dex2oat/…/android.art.runtime/build/xcode/Release-macos-macosx -L/Volumes/moe-robovm/moe/default/moe/moe-core/moe.apple/moe.core.native/android.art.dex2oat/…/android.art.sigchainlib/build/xcode/Release-macos-macosx -L/Volumes/moe-robovm/moe/default/moe/moe-core/moe.apple/moe.core.native/android.art.dex2oat/…/android.art.compiler/build/xcode/Release-macos-macosx -L/Volumes/moe-robovm/moe/default/moe/moe-core/moe.apple/moe.core.native/android.art.dex2oat/…/android.external.vixl/build/xcode/Release-macos-macosx -L/Volumes/moe-robovm/moe/default/moe/moe-core/moe.apple/moe.core.native/android.art.dex2oat/…/android.libnativehelper/build/xcode/Release-macos-macosx -F/Volumes/moe-robovm/moe/default/moe/moe-core/moe.apple/moe.core.native/android.art.dex2oat/build/xcode/Release-macos-macosx -filelist /Volumes/moe-robovm/moe/default/moe/moe-core/moe.apple/moe.core.native/android.art.dex2oat/build/xcode/android.art.dex2oat.build/Release-macos-macosx/dex2oat.build/Objects-normal/x86_64/dex2oat.LinkFileList -mmacosx-version-min=10.11 -dead_strip -Xlinker -object_path_lto -Xlinker /Volumes/moe-robovm/moe/default/moe/moe-core/moe.apple/moe.core.native/android.art.dex2oat/build/xcode/android.art.dex2oat.build/Release-macos-macosx/dex2oat.build/Objects-normal/x86_64/dex2oat_lto.o -stdlib=libc++ -llibnativebridge -llibziparchive -lliblog -llibbacktrace -llibbase -llibutils -llibcutils -lcompiler -lruntime -lsigchainlib -lvixl -pagezero_size 4096 -llibnativehelper -framework Foundation -lcrypto -framework IOKit -lz -Xlinker -dependency_info -Xlinker /Volumes/moe-robovm/moe/default/moe/moe-core/moe.apple/moe.core.native/android.art.dex2oat/build/xcode/android.art.dex2oat.build/Release-macos-macosx/dex2oat.build/Objects-normal/x86_64/dex2oat_dependency_info.dat -o /Volumes/moe-robovm/moe/default/moe/moe-core/moe.apple/moe.core.native/android.art.dex2oat/build/xcode/Release-macos-macosx/dex2oat
ld: warning: -pagezero_size not page aligned, rounding down
ld: library not found for -lcrypto
clang: error: linker command failed with exit code 1 (use -v to see invocation)
** BUILD FAILED **
The following build commands failed:
Ld build/xcode/Release-macos-macosx/dex2oat normal x86_64
(1 failure)
liliomk
(Kristóf Liliom - Migeran)
September 27, 2016, 7:01am
3
Dear radxe,
building MOE 1.1 is only supported with Xcode 7. Xcode 8 support will come with MOE 1.2.
radxe
(radxe)
September 27, 2016, 12:03pm
4
Dear liliomk,
I see, when will MOE 1.2 be released?
Thanks!
liliomk
(Kristóf Liliom - Migeran)
September 27, 2016, 12:04pm
5
Dear radxe,
we plan to release it this week.
radxe
(radxe)
September 27, 2016, 12:05pm
6
Dear liliomk,
Great news,
Thanks!
liliomk
(Kristóf Liliom - Migeran)
October 5, 2016, 12:16pm
7
Dear radxe,
has your issue been resolved in MOE 1.2?
radxe
(radxe)
October 9, 2016, 11:13am
8
Dear liliomk,
I just know MOE 1.2 has been released today.
I build it, It is perfect! All is built successfully !
Thanks for your great work!