美文网首页
Make编译报错[ld: library not found f

Make编译报错[ld: library not found f

作者: PengPengPro | 来源:发表于2017-05-08 17:00 被阅读388次
    
    clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of iOS 7
    ld: library not found for -ldylib1.o
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make[2]: *** [obj/Peng.dylib.ba964c90.unsigned] Error 1
    make[1]: *** [internal-library-all_] Error 2
    make: *** [Peng.all.tweak.variables] Error 2
    PengPengs-MacBook-Pro:peng PengPeng$ 
    
    
    

    xcrun --sdk iphoneos --show-sdk-path
    得到你的SDK版本

    export SDKVERSION=10.3
    10.2 替换成你的SDK版本

    相关文章

      网友评论

          本文标题:Make编译报错[ld: library not found f

          本文链接:https://www.haomeiwen.com/subject/dnxvtxtx.html