cBPM-android - Code::Blocks环境搭建


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) |
给主人留下些什么吧!~~
评论热议
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值