• cBPM-android



    1.1) 配置全局环境

        S1:  打开  Settings-> Compiler

        S2:  选择 Selected complier ->  GNU GCC Complier, 选择 Toolchain executables

        S3:  设置android-ndk路径( Complier's installation directory )  ,如 /opt/android-on-linux/android-ndk-r10d/toolchains/x86-4.9/prebuilt/linux-x86/

        S4:  设置Program Files各个编译程序(x86-4.9/prebuilt/linux-x86/bin/)
            C complier:                    i686-linux-android-gcc
            C++ compiler:                i686-linux-android-g++
            Linker for dynamic libs:        i686-linux-android-g++
            Linker for static libs:        i686-linux-android-ar

        S5:  打开  Settings-> debugger
            Debugger:                    i686-linux-android-gdb

        S6: 选择 Selected complier ->  GNU GCC Complier, 选择 Toolchain executables, 设置Additional Paths,  增加(Add)  :  /opt/android-on-linux/android-ndk-r10d/toolchains/x86-4.9/prebuilt/linux-x86/i686-linux-android/bin

        S7: 选择 Selected complier ->  GNU GCC Complier, 选择  Search directories -> Compiler,  增加(Add)  :
            /opt/android-on-linux/android-ndk-r10d/toolchains/x86-4.9/prebuilt/linux-x86/include
            /usr/include

        S8: 选择 Selected complier ->  GNU GCC Complier, 选择  Search directories -> Linker, 增加(Add)  :
            /opt/android-on-linux/android-ndk-r10d/toolchains/x86-4.9/prebuilt/linux-x86/lib
            /opt/android-on-linux/android-ndk-r10d/toolchains/x86-4.9/prebuilt/linux-x86/lib/gcc/i686-linux-android/4.9

        S9:  设置完成,点击确定                

    1.2) 配置项目的环境    //bOS
        S1:  右击项目,选择Build options,  Selected Complier选择刚才设置的那?? GUN GCC Compiler
        S2:  Compler settings -> Other options , 写入  -pie -fPIE
        S3:  设置 Search directories -> Linker,  Add :
            /opt/android-on-linux/android-ndk-r10d/platforms/android-21/arch-x86/usr/lib
        S4:  设置 Search directories -> Complier, Add
            /opt/android-on-linux/android-ndk-r10d/platforms/android-21/arch-x86/usr/include
            /opt/cBPM-android/criteria-lin/include/bOS
            /opt/cBPM-android/criteria-lin/include/
            /usr/include

        //WorkflowEngine
        S1:  右击项目,选择Build options,  Selected Complier选择刚才设置的那?? GUN GCC Compiler
        S2:  Compler settings -> Other options , 写入  -pie -fPIE
        S3:  设置 Search directories -> Linker,  Add :
            /opt/android-on-linux/android-ndk-r10d/platforms/android-21/arch-x86/usr/lib
        S4:  设置 Search directories -> Complier, Add
            /opt/android-on-linux/android-ndk-r10d/platforms/android-21/arch-x86/usr/include
            /opt/cBPM-android/criteria-lin/include/WorkflowEngine
            /opt/cBPM-android/criteria-lin/include/bOS
            /opt/cBPM-android/criteria-lin/include/
            /usr/include

        //Executor
        S1:  右击项目,选择Build options,  Selected Complier选择刚才设置的那?? GUN GCC Compiler
        S2:  Compler settings -> Other options , 写入  -pie -fPIE
        S3:  设置 Search directories -> Linker,  Add :
            /opt/android-on-linux/android-ndk-r10d/platforms/android-21/arch-x86/usr/lib
            /usr/lib64/
            /usr/lib64/mysql/
        S4:  设置 Search directories -> Complier, Add
            /opt/android-on-linux/android-ndk-r10d/platforms/android-21/arch-x86/usr/include
            /opt/cBPM-android/criteria-lin/include/bOS
            /opt/cBPM-android/criteria-lin/include/WorkflowEngine
            /opt/cBPM-android/criteria-lin/include/
            /usr/include

    <script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
    阅读(98) | 评论(0) | 转发(0) |
    给主人留下些什么吧!~~
    评论热议
  • 相关阅读:
    为不喝的朋友准备的!如何委婉地拒绝劝酒
    参加Windows 7 成都软件俱乐部 发布活动
    解决CalendarExtender控件被遮挡的问题,并加上白色背景,以避免多层影响
    VS2008开发环境中容易遇到的3个问题之解决办法
    大开眼界的梦幻PHOTO
    51aspx是流氓!自动修改F5快捷键为打开它的站!
    ASP.NET DropDownList1 数据绑定的效率
    Repeater两层嵌套和三层嵌套repeater1_ItemDataBound绑定
    CuteEditor6.0使用配置心得体会
    谷歌Analytics添加到您的SharePoint 2010网站的2种方法
  • 原文地址:https://www.cnblogs.com/ztguang/p/12648792.html
Copyright © 2020-2023  润新知