• fastdds测试


    源码编译

    准备

    为防止github下载失败或者太慢,使用github代理:

    zjr@zjr-Precision-3630-Tower:~/disk/prjs/test$ cat ~/.gitconfig 
    [url "https://ghproxy.com/https://github.com/"]
        insteadOf = https://github.com/

    依赖项

    fastCDR

     git clone https://github.com/eProsima/Fast-CDR.git
     cd Fast-CDR/
     git checkout v1.0.24 -b b_v1.0.24
     mkdir build
     cd build/
     cmake ..
     make -j4
     sudo make install

    ASIO LIB

    sudo apt install libasio-dev
    sudo apt install libasio-doc

    foonathan_memory

    git clone https://github.com/foonathan/memory.git
    cd memory/
    mkdir build
    cd build/
    cmake ..
    make -j4
    sudo make install
    zjr@zjr-Precision-3630-Tower:~/disk/prjs/test/memory$ git diff
    diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
    index 3c62619..6a890aa 100644
    --- a/test/CMakeLists.txt
    +++ b/test/CMakeLists.txt
    @@ -12,7 +12,7 @@ target_include_directories(foonathan_memory_profiling PRIVATE
     # Fetch doctest.
     message(STATUS "Fetching doctest")
     include(FetchContent)
    -FetchContent_Declare(doctest URL https://github.com/onqtam/doctest/archive/2.4.5.zip)
    +FetchContent_Declare(doctest URL https://ghproxy.com/https://github.com/onqtam/doctest/archive/2.4.5.zip)
     FetchContent_MakeAvailable(doctest)
     
     set(tests

    其他依赖项

    TinyXML2

    Gtest

  • 相关阅读:
    glibc源码下载
    指令查找工具
    ubuntu下ldd,查看程序动态库信息
    gdb使用记录
    找到返回地址(1)
    vim自动格式化
    android 注入so
    Mac下安装m2crypto 解决找不到openssl头文件的错误
    Mac下android studio卡,居然这么解决了。。。。
    git忽略文件
  • 原文地址:https://www.cnblogs.com/zengjianrong/p/16070936.html
Copyright © 2020-2023  润新知