Home Features Docs Blog Support GitHub

Link errors when building ios-moe


(Guilherme Campos Hazan) #1

Hi,

I created a LibGDX project with the setup tool, and imported it into an Android Studio configured with the MOE plugin.

I then created a new run configuration for the ios-moe, to run on device (or in emulator, doesnt matters).

I’m getting link errors. Here is the full output. Any help is greatly appreciated

thanks

… guich

Configuration on demand is an incubating feature.
Using already downloaded SDK: /Users/guich/.moe/moe-sdk-1.4.0
:ios-moe:copyNatives
:core:compileJava UP-TO-DATE
:core:processResources UP-TO-DATE
:core:classes UP-TO-DATE
:core:jar UP-TO-DATE
:ios-moe:compileJava UP-TO-DATE
:ios-moe:processResources UP-TO-DATE
:ios-moe:classes UP-TO-DATE
:ios-moe:moeMainProGuard
:ios-moe:moeMainRetrolambda
:ios-moe:moeGenerateUIObjCInterfaces
:ios-moe:moeMainDex
:ios-moe:moeMainDebugArm64Dex2Oat
:ios-moe:moeMainResourcePackager
:ios-moe:moeMainStartupProvider
:ios-moe:moeMainDebugArm64IphoneosXcodeProvider
:ios-moe:moeMainDebugArmDex2Oat
:ios-moe:moeMainDebugArmv7IphoneosXcodeProvider
:ios-moe:moeMainDebugArmv7sIphoneosXcodeProvider
:ios-moe:moeMainDebugIphoneosXcodeBuild
###########
# ERROR LOG
###########


Build settings from command line:
    CONFIGURATION_BUILD_DIR = /Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/Debug-iphoneos
    DSTROOT = /Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/dst
    MOE_GRADLE_EXTERNAL_BUILD = YES
    OBJROOT = /Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj
    ONLY_ACTIVE_ARCH = NO
    SDKROOT = iphoneos10.2
    SHARED_PRECOMPS_DIR = /Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/shared_precomps
    SYMROOT = /Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/sym

=== BUILD TARGET ios-moe OF PROJECT ios-moe WITH CONFIGURATION Debug ===

Check dependencies

PhaseScriptExecution Compile\ Sources\ (MOE) /Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/Script-F461487E379A46F550F0C10A.sh

CompileC /Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/Objects-normal/armv7/moe-main-interfaces.o /Users/guich/Downloads/test/ios-moe/build/moe/main/ui-headers/moe-main-interfaces.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/guich/Downloads/test/ios-moe/xcode
    export LANG=en_US.US-ASCII
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch armv7 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/cf/ps23j7ks68175f0st1tcr1b00000gn/C/org.llvm.clang/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -miphoneos-version-min=9.3 -g -Wno-sign-conversion -Winfinite-recursion -iquote /Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/testGDX-generated-files.hmap -I/Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/testGDX-own-target-headers.hmap -I/Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/testGDX-all-target-headers.hmap -iquote /Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/testGDX-project-headers.hmap -I/Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/Debug-iphoneos/include -I/Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/DerivedSources/armv7 -I/Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/DerivedSources -F/Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/Debug-iphoneos -F/Users/guich/Downloads/test/ios-moe/xcode/../build/moe/sdk/sdk/iphoneos -MMD -MT dependencies -MF /Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/Objects-normal/armv7/moe-main-interfaces.d --serialize-diagnostics /Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/Objects-normal/armv7/moe-main-interfaces.dia -c /Users/guich/Downloads/test/ios-moe/build/moe/main/ui-headers/moe-main-interfaces.m -o /Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/Objects-normal/armv7/moe-main-interfaces.o

CompileC /Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/Objects-normal/arm64/moe-main-interfaces.o /Users/guich/Downloads/test/ios-moe/build/moe/main/ui-headers/moe-main-interfaces.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/guich/Downloads/test/ios-moe/xcode
    export LANG=en_US.US-ASCII
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch arm64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/cf/ps23j7ks68175f0st1tcr1b00000gn/C/org.llvm.clang/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -miphoneos-version-min=9.3 -g -Wno-sign-conversion -Winfinite-recursion -iquote /Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/testGDX-generated-files.hmap -I/Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/testGDX-own-target-headers.hmap -I/Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/testGDX-all-target-headers.hmap -iquote /Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/testGDX-project-headers.hmap -I/Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/Debug-iphoneos/include -I/Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/DerivedSources/arm64 -I/Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/DerivedSources -F/Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/Debug-iphoneos -F/Users/guich/Downloads/test/ios-moe/xcode/../build/moe/sdk/sdk/iphoneos -MMD -MT dependencies -MF /Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/Objects-normal/arm64/moe-main-interfaces.d --serialize-diagnostics /Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/Objects-normal/arm64/moe-main-interfaces.dia -c /Users/guich/Downloads/test/ios-moe/build/moe/main/ui-headers/moe-main-interfaces.m -o /Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/Objects-normal/arm64/moe-main-interfaces.o

Ld /Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/Objects-normal/armv7/testGDX normal armv7
    cd /Users/guich/Downloads/test/ios-moe/xcode
    export IPHONEOS_DEPLOYMENT_TARGET=9.3
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk -L/Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/Debug-iphoneos -F/Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/Debug-iphoneos -F/Users/guich/Downloads/test/ios-moe/xcode/../build/moe/sdk/sdk/iphoneos -filelist /Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/Objects-normal/armv7/testGDX.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=9.3 -Xlinker -object_path_lto -Xlinker /Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/Objects-normal/armv7/testGDX_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -sectcreate __OATDATA __oatdata /Users/guich/Downloads/test/ios-moe/xcode/..//build/moe/main/xcode/Debug-iphoneos/armv7.oat -sectcreate __ARTDATA __artdata /Users/guich/Downloads/test/ios-moe/xcode/..//build/moe/main/xcode/Debug-iphoneos/armv7.art -segprot __OATDATA rx rx -segprot __ARTDATA rw rw -lstdc++ -framework MOE -force_load /Users/guich/Downloads/test/ios-moe/xcode/native/ios/libObjectAL.a -force_load /Users/guich/Downloads/test/ios-moe/xcode/native/ios/libgdx.a -force_load /Users/guich/Downloads/test/ios-moe/xcode/native/ios/libgdx-box2d.a -force_load /Users/guich/Downloads/test/ios-moe/xcode/native/ios/libgdx-bullet.a -force_load /Users/guich/Downloads/test/ios-moe/xcode/native/ios/libgdx-freetype.a -framework AudioToolbox -framework AVFoundation -framework CoreGraphics -framework CoreMotion -framework OpenAL -framework OpenGLES -framework QuartzCore -framework UIKit -Xlinker -dependency_info -Xlinker /Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/Objects-normal/armv7/testGDX_dependency_info.dat -o /Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/Objects-normal/armv7/testGDX
Undefined symbols for architecture armv7:
  "std::string::_Rep::_M_destroy(std::allocator<char> const&)", referenced from:
      std::map<int, std::string, std::less<int>, std::allocator<std::pair<int const, std::string> > >::operator[](int const&) in libgdx-bullet.a(MultiBodyNameMap.o)
      std::map<std::string, int, std::less<std::string>, std::allocator<std::pair<std::string const, int> > >::operator[](std::string const&) in libgdx-bullet.a(MultiBodyNameMap.o)
      btInverseDynamicsBullet3::writeGraphvizDotFile(btInverseDynamicsBullet3::MultiBodyTree const*, btInverseDynamicsBullet3::MultiBodyNameMap const*, char const*) in libgdx-bullet.a(MultiBodyTreeDebugGraph.o)
      std::_Rb_tree<std::string, std::pair<std::string const, int>, std::_Select1st<std::pair<std::string const, int> >, std::less<std::string>, std::allocator<std::pair<std::string const, int> > >::_M_erase(std::_Rb_tree_node<std::pair<std::string const, int> >*) in libgdx-bullet.a(extras_wrap.o)
      std::_Rb_tree<int, std::pair<int const, std::string>, std::_Select1st<std::pair<int const, std::string> >, std::less<int>, std::allocator<std::pair<int const, std::string> > >::_M_erase(std::_Rb_tree_node<std::pair<int const, std::string> >*) in libgdx-bullet.a(extras_wrap.o)
  "std::string::_Rep::_S_empty_rep_storage", referenced from:
      std::map<int, std::string, std::less<int>, std::allocator<std::pair<int const, std::string> > >::operator[](int const&) in libgdx-bullet.a(MultiBodyNameMap.o)
      std::map<std::string, int, std::less<std::string>, std::allocator<std::pair<std::string const, int> > >::operator[](std::string const&) in libgdx-bullet.a(MultiBodyNameMap.o)
      btInverseDynamicsBullet3::writeGraphvizDotFile(btInverseDynamicsBullet3::MultiBodyTree const*, btInverseDynamicsBullet3::MultiBodyNameMap const*, char const*) in libgdx-bullet.a(MultiBodyTreeDebugGraph.o)
      std::_Rb_tree<std::string, std::pair<std::string const, int>, std::_Select1st<std::pair<std::string const, int> >, std::less<std::string>, std::allocator<std::pair<std::string const, int> > >::_M_erase(std::_Rb_tree_node<std::pair<std::string const, int> >*) in libgdx-bullet.a(extras_wrap.o)
      std::_Rb_tree<int, std::pair<int const, std::string>, std::_Select1st<std::pair<int const, std::string> >, std::less<int>, std::allocator<std::pair<int const, std::string> > >::_M_erase(std::_Rb_tree_node<std::pair<int const, std::string> >*) in libgdx-bullet.a(extras_wrap.o)
      std::map<int, std::string, std::less<int>, std::allocator<std::pair<int const, std::string> > >::operator[](int const&) in libgdx-bullet.a(MultiBodyNameMap.o)
      std::map<std::string, int, std::less<std::string>, std::allocator<std::pair<std::string const, int> > >::operator[](std::string const&) in libgdx-bullet.a(MultiBodyNameMap.o)
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk -L/Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/Debug-iphoneos -F/Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/Debug-iphoneos -F/Users/guich/Downloads/test/ios-moe/xcode/../build/moe/sdk/sdk/iphoneos -filelist /Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/Objects-normal/arm64/testGDX.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=9.3 -Xlinker -object_path_lto -Xlinker /Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/Objects-normal/arm64/testGDX_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -sectcreate __OATDATA __oatdata /Users/guich/Downloads/test/ios-moe/xcode/..//build/moe/main/xcode/Debug-iphoneos/arm64.oat -sectcreate __ARTDATA __artdata /Users/guich/Downloads/test/ios-moe/xcode/..//build/moe/main/xcode/Debug-iphoneos/arm64.art -segprot __OATDATA rx rx -segprot __ARTDATA rw rw -lstdc++ -framework MOE -force_load /Users/guich/Downloads/test/ios-moe/xcode/native/ios/libObjectAL.a -force_load /Users/guich/Downloads/test/ios-moe/xcode/native/ios/libgdx.a -force_load /Users/guich/Downloads/test/ios-moe/xcode/native/ios/libgdx-box2d.a -force_load /Users/guich/Downloads/test/ios-moe/xcode/native/ios/libgdx-bullet.a -force_load /Users/guich/Downloads/test/ios-moe/xcode/native/ios/libgdx-freetype.a -framework AudioToolbox -framework AVFoundation -framework CoreGraphics -framework CoreMotion -framework OpenAL -framework OpenGLES -framework QuartzCore -framework UIKit -Xlinker -dependency_info -Xlinker /Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/Objects-normal/arm64/testGDX_dependency_info.dat -o /Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/Objects-normal/arm64/testGDX
Undefined symbols for architecture arm64:
  "std::string::_Rep::_M_destroy(std::allocator<char> const&)", referenced from:
      std::map<int, std::string, std::less<int>, std::allocator<std::pair<int const, std::string> > >::operator[](int const&) in libgdx-bullet.a(MultiBodyNameMap.o)
      std::map<std::string, int, std::less<std::string>, std::allocator<std::pair<std::string const, int> > >::operator[](std::string const&) in libgdx-bullet.a(MultiBodyNameMap.o)
      btInverseDynamicsBullet3::writeGraphvizDotFile(btInverseDynamicsBullet3::MultiBodyTree const*, btInverseDynamicsBullet3::MultiBodyNameMap const*, char const*) in libgdx-bullet.a(MultiBodyTreeDebugGraph.o)
      std::_Rb_tree<std::string, std::pair<std::string const, int>, std::_Select1st<std::pair<std::string const, int> >, std::less<std::string>, std::allocator<std::pair<std::string const, int> > >::_M_erase(std::_Rb_tree_node<std::pair<std::string const, int> >*) in libgdx-bullet.a(extras_wrap.o)
      std::_Rb_tree<int, std::pair<int const, std::string>, std::_Select1st<std::pair<int const, std::string> >, std::less<int>, std::allocator<std::pair<int const, std::string> > >::_M_erase(std::_Rb_tree_node<std::pair<int const, std::string> >*) in libgdx-bullet.a(extras_wrap.o)
  "std::string::_Rep::_S_empty_rep_storage", referenced from:
      std::map<int, std::string, std::less<int>, std::allocator<std::pair<int const, std::string> > >::operator[](int const&) in libgdx-bullet.a(MultiBodyNameMap.o)
      std::map<std::string, int, std::less<std::string>, std::allocator<std::pair<std::string const, int> > >::operator[](std::string const&) in libgdx-bullet.a(MultiBodyNameMap.o)
      btInverseDynamicsBullet3::writeGraphvizDotFile(btInverseDynamicsBullet3::MultiBodyTree const*, btInverseDynamicsBullet3::MultiBodyNameMap const*, char const*) in libgdx-bullet.a(MultiBodyTreeDebugGraph.o)
      std::_Rb_tree<std::string, std::pair<std::string const, int>, std::_Select1st<std::pair<std::string const, int> >, std::less<std::string>, std::allocator<std::pair<std::string const, int> > >::_M_erase(std::_Rb_tree_node<std::pair<std::string const, int> >*) in libgdx-bullet.a(extras_wrap.o)
      std::_Rb_tree<int, std::pair<int const, std::string>, std::_Select1st<std::pair<int const, std::string> >, std::less<int>, std::allocator<std::pair<int const, std::string> > >::_M_erase(std::_Rb_tree_node<std::pair<int const, std::string> >*) in libgdx-bullet.a(extras_wrap.o)
  "std::string::assign(std::string const&)", referenced from:
      btInverseDynamicsBullet3::MultiBodyNameMap::addBody(int, std::string const&) in libgdx-bullet.a(MultiBodyNameMap.o)
      btInverseDynamicsBullet3::MultiBodyNameMap::addJoint(int, std::string const&) in libgdx-bullet.a(MultiBodyNameMap.o)
      btInverseDynamicsBullet3::MultiBodyNameMap::getBodyName(int, std::string*) const in libgdx-bullet.a(MultiBodyNameMap.o)
      btInverseDynamicsBullet3::MultiBodyNameMap::getJointName(int, std::string*) const in libgdx-bullet.a(MultiBodyNameMap.o)
  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&)", referenced from:
      std::map<int, std::string, std::less<int>, std::allocator<std::pair<int const, std::string> > >::operator[](int const&) in libgdx-bullet.a(MultiBodyNameMap.o)
      std::map<std::string, int, std::less<std::string>, std::allocator<std::pair<std::string const, int> > >::operator[](std::string const&) in libgdx-bullet.a(MultiBodyNameMap.o)
      std::_Rb_tree<int, std::pair<int const, std::string>, std::_Select1st<std::pair<int const, std::string> >, std::less<int>, std::allocator<std::pair<int const, std::string> > >::_M_create_node(std::pair<int const, std::string> const&) in libgdx-bullet.a(MultiBodyNameMap.o)
      std::_Rb_tree<std::string, std::pair<std::string const, int>, std::_Select1st<std::pair<std::string const, int> >, std::less<std::string>, std::allocator<std::pair<std::string const, int> > >::_M_create_node(std::pair<std::string const, int> const&) in libgdx-bullet.a(MultiBodyNameMap.o)
  "std::_Rb_tree_decrement(std::_Rb_tree_node_base*)", referenced from:
      std::_Rb_tree<int, std::pair<int const, std::string>, std::_Select1st<std::pair<int const, std::string> >, std::less<int>, std::allocator<std::pair<int const, std::string> > >::_M_insert_unique(std::_Rb_tree_iterator<std::pair<int const, std::string> >, std::pair<int const, std::string> const&) in libgdx-bullet.a(MultiBodyNameMap.o)
      std::_Rb_tree<int, std::pair<int const, std::string>, std::_Select1st<std::pair<int const, std::string> >, std::less<int>, std::allocator<std::pair<int const, std::string> > >::_M_insert_unique(std::pair<int const, std::string> const&) in libgdx-bullet.a(MultiBodyNameMap.o)
      std::_Rb_tree<std::string, std::pair<std::string const, int>, std::_Select1st<std::pair<std::string const, int> >, std::less<std::string>, std::allocator<std::pair<std::string const, int> > >::_M_insert_unique(std::_Rb_tree_iterator<std::pair<std::string const, int> >, std::pair<std::string const, int> const&) in libgdx-bullet.a(MultiBodyNameMap.o)
      std::_Rb_tree<std::string, std::pair<std::string const, int>, std::_Select1st<std::pair<std::string const, int> >, std::less<std::string>, std::allocator<std::pair<std::string const, int> > >::_M_insert_unique(std::pair<std::string const, int> const&) in libgdx-bullet.a(MultiBodyNameMap.o)
      std::_Rb_tree<int, std::pair<int const, int>, std::_Select1st<std::pair<int const, int> >, std::less<int>, std::allocator<std::pair<int const, int> > >::_M_insert_unique(std::_Rb_tree_iterator<std::pair<int const, int> >, std::pair<int const, int> const&) in libgdx-bullet.a(User2InternalIndex.o)
      std::_Rb_tree<int, std::pair<int const, int>, std::_Select1st<std::pair<int const, int> >, std::less<int>, std::allocator<std::pair<int const, int> > >::_M_insert_unique(std::pair<int const, int> const&) in libgdx-bullet.a(User2InternalIndex.o)
      std::_Rb_tree<int, std::pair<int const, std::vector<int, std::allocator<int> > >, std::_Select1st<std::pair<int const, std::vector<int, std::allocator<int> > > >, std::less<int>, std::allocator<std::pair<int const, std::vector<int, std::allocator<int> > > > >::_M_insert_unique(std::_Rb_tree_iterator<std::pair<int const, std::vector<int, std::allocator<int> > > >, std::pair<int const, std::vector<int, std::allocator<int> > > const&) in libgdx-bullet.a(User2InternalIndex.o)
      ...
  "std::_Rb_tree_increment(std::_Rb_tree_node_base*)", referenced from:
      std::_Rb_tree<int, std::pair<int const, std::string>, std::_Select1st<std::pair<int const, std::string> >, std::less<int>, std::allocator<std::pair<int const, std::string> > >::_M_insert_unique(std::_Rb_tree_iterator<std::pair<int const, std::string> >, std::pair<int const, std::string> const&) in libgdx-bullet.a(MultiBodyNameMap.o)
      std::_Rb_tree<std::string, std::pair<std::string const, int>, std::_Select1st<std::pair<std::string const, int> >, std::less<std::string>, std::allocator<std::pair<std::string const, int> > >::_M_insert_unique(std::_Rb_tree_iterator<std::pair<std::string const, int> >, std::pair<std::string const, int> const&) in libgdx-bullet.a(MultiBodyNameMap.o)
      btInverseDynamicsBullet3::User2InternalIndex::buildMapping() in libgdx-bullet.a(User2InternalIndex.o)
      std::_Rb_tree<int, std::pair<int const, int>, std::_Select1st<std::pair<int const, int> >, std::less<int>, std::allocator<std::pair<int const, int> > >::_M_insert_unique(std::_Rb_tree_iterator<std::pair<int const, int> >, std::pair<int const, int> const&) in libgdx-bullet.a(User2InternalIndex.o)
      std::_Rb_tree<int, std::pair<int const, std::vector<int, std::allocator<int> > >, std::_Select1st<std::pair<int const, std::vector<int, std::allocator<int> > > >, std::less<int>, std::allocator<std::pair<int const, std::vector<int, std::allocator<int> > > > >::_M_insert_unique(std::_Rb_tree_iterator<std::pair<int const, std::vector<int, std::allocator<int> > > >, std::pair<int const, std::vector<int, std::allocator<int> > > const&) in libgdx-bullet.a(User2InternalIndex.o)
  "std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)", referenced from:
      std::_Rb_tree<int, std::pair<int const, std::string>, std::_Select1st<std::pair<int const, std::string> >, std::less<int>, std::allocator<std::pair<int const, std::string> > >::_M_insert_unique(std::_Rb_tree_iterator<std::pair<int const, std::string> >, std::pair<int const, std::string> const&) in libgdx-bullet.a(MultiBodyNameMap.o)
      std::_Rb_tree<int, std::pair<int const, std::string>, std::_Select1st<std::pair<int const, std::string> >, std::less<int>, std::allocator<std::pair<int const, std::string> > >::_M_insert_unique(std::pair<int const, std::string> const&) in libgdx-bullet.a(MultiBodyNameMap.o)
      std::_Rb_tree<std::string, std::pair<std::string const, int>, std::_Select1st<std::pair<std::string const, int> >, std::less<std::string>, std::allocator<std::pair<std::string const, int> > >::_M_insert_unique(std::_Rb_tree_iterator<std::pair<std::string const, int> >, std::pair<std::string const, int> const&) in libgdx-bullet.a(MultiBodyNameMap.o)
      std::_Rb_tree<std::string, std::pair<std::string const, int>, std::_Select1st<std::pair<std::string const, int> >, std::less<std::string>, std::allocator<std::pair<std::string const, int> > >::_M_insert_unique(std::pair<std::string const, int> const&) in libgdx-bullet.a(MultiBodyNameMap.o)
      std::_Rb_tree<int, std::pair<int const, int>, std::_Select1st<std::pair<int const, int> >, std::less<int>, std::allocator<std::pair<int const, int> > >::_M_insert_unique(std::_Rb_tree_iterator<std::pair<int const, int> >, std::pair<int const, int> const&) in libgdx-bullet.a(User2InternalIndex.o)
      std::_Rb_tree<int, std::pair<int const, int>, std::_Select1st<std::pair<int const, int> >, std::less<int>, std::allocator<std::pair<int const, int> > >::_M_insert_unique(std::pair<int const, int> const&) in libgdx-bullet.a(User2InternalIndex.o)
      std::_Rb_tree<int, std::pair<int const, std::vector<int, std::allocator<int> > >, std::_Select1st<std::pair<int const, std::vector<int, std::allocator<int> > > >, std::less<int>, std::allocator<std::pair<int const, std::vector<int, std::allocator<int> > > > >::_M_insert_unique(std::_Rb_tree_iterator<std::pair<int const, std::vector<int, std::allocator<int> > > >, std::pair<int const, std::vector<int, std::allocator<int> > > const&) in libgdx-bullet.a(User2InternalIndex.o)
      ...
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** BUILD FAILED **


The following build commands failed:
	Ld /Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/obj/ios-moe.build/Debug-iphoneos/ios-moe.build/Objects-normal/arm64/testGDX normal arm64
(1 failure)




FAILURE: Build failed with an exception.

* What went wrong:
 FAILED
Execution failed for task ':ios-moe:moeMainDebugIphoneosXcodeBuild'.
> Task failed, you can find the log file here: /Users/guich/Downloads/test/ios-moe/build/moe/xcodebuild/XcodeBuild-main-debug-iphoneos.log

* Try:
BUILD FAILED

Total time: 2 mins 42.4 secs

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

(Guilherme Campos Hazan) #2

Hi,

I just realized that MOE 1.4.0 requires xcode 9, and i’m running xcode 8.2.1.
May this be the problem? If yes, which MOE version i need to work with this xcode version?


(Roland Vigh - Migeran) #3

Hi!

MOE 1.3 support Xcode 8.x.

Best Regards,
Roland