• 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) |
    给主人留下些什么吧!~~
    评论热议
  • 相关阅读:
    TextFlow with JavaFX 2
    搞IT的技术人员为什么会如此苦逼
    Spring MVC3.0.5搭建全程
    JetNuke笔记 ( by quqi99 )
    What is the difference between application server and web server?
    Customize Netbeans Platform Splash Screen and About Dialog
    caffe-win10-cifar10
    Ubuntu14.04+caffe+CPU
    win10+caffe+GPU
    Majority Element(169) && Majority Element II(229)
  • 原文地址:https://www.cnblogs.com/ztguang/p/12648792.html
Copyright © 2020-2023  润新知