zoukankan      html  css  js  c++  java
  • linux arm 交叉编译ACE(ubuntu16.04)

    解压ace包 tar zxvf ACE_6.1.0.tar.gz

    在终端设置环境变量

    sudo gedit /etc/profile

    在打开的内容添加

    export ACE_ROOT=/home/xxxxx/ACE_wrappers

    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ACE_ROOT/ace

    注:xxxx的部分是解压后的文件夹的具体路径。

    安装编译

    1 进入ACE_wrappers/ace 目录,创建一个文本config.h, 内容输入:

    #include “ace/config-linux.h"

    保存退出

    或者用ln -s config-linux.h config.h命令进行软链接

    2 进入ACE_wrappers/include/makeinclude 目录,创建一个文件夹platform_macros.GNU, 内容:

     #include ”$(ACE_ROOT)/include/makeinclude/platform_linux.GNU“

    保存退出

    或者软链接 ln -s platform_linux.GNU platform_macros.GNU

    然后进入ace文件夹

    输入make 命令进行编译

    编译完成后无错误后编译成功  库文件在lib文件夹中

    如果无 进行make install 进行编译

    在这里需要注意,make可以在管理员用户编译,但make install必须要有root用户编译,否则会报错

  • 相关阅读:
    1.28
    1.27
    1.26
    如果给你以下功能怎么测试
    测试面试题
    对h5页面的测试方式
    完美解决linux下Django报错Error: That port is already in use.
    KeyError:使用Python的Appium中的“ touchAction” 错误码
    Appium自动化测试
    selenium IDE使用
  • 原文地址:https://www.cnblogs.com/wenhuakulv1989/p/7027647.html
Copyright © 2011-2022 走看看