惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

C
Cisco Blogs
爱范儿
爱范儿
有赞技术团队
有赞技术团队
博客园 - 【当耐特】
Jina AI
Jina AI
Project Zero
Project Zero
宝玉的分享
宝玉的分享
Martin Fowler
Martin Fowler
WordPress大学
WordPress大学
Simon Willison's Weblog
Simon Willison's Weblog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Tenable Blog
F
Fortinet All Blogs
大猫的无限游戏
大猫的无限游戏
Last Week in AI
Last Week in AI
月光博客
月光博客
雷峰网
雷峰网
G
Google Developers Blog
V
V2EX
T
Tor Project blog
罗磊的独立博客
Schneier on Security
Schneier on Security
Know Your Adversary
Know Your Adversary
W
WeLiveSecurity
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
P
Privacy International News Feed
S
Securelist
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
P
Proofpoint News Feed
Blog — PlanetScale
Blog — PlanetScale
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
小众软件
小众软件
Scott Helme
Scott Helme
I
Intezer
T
Threat Research - Cisco Blogs
The GitHub Blog
The GitHub Blog
N
Netflix TechBlog - Medium
C
CERT Recently Published Vulnerability Notes
Security Archives - TechRepublic
Security Archives - TechRepublic
酷 壳 – CoolShell
酷 壳 – CoolShell
L
LINUX DO - 最新话题
N
News | PayPal Newsroom
L
Lohrmann on Cybersecurity
T
Troy Hunt's Blog
Google DeepMind News
Google DeepMind News
P
Proofpoint News Feed
人人都是产品经理
人人都是产品经理
Latest news
Latest news
AWS News Blog
AWS News Blog
Apple Machine Learning Research
Apple Machine Learning Research

博客园 - xcywt

IT人备考心得分享 一个大龄程序员的回乡记 一种刚接触的语法。只在linux可用 固件打包流程 malloc底层实现以及和new的比较 C++异步调用 future async promise packaged_task 如果在单例模式中返回share_ptr ??? 记录一道面试题(哈希表 稀疏矩阵) Qt实现自定义控件-按钮 一个线程池的例子 C++ 条件变量condition_variable的例子 C++中share_ptr中循环引用的问题 C++14的一些新特性 C++11的一些特性 ubuntu编译grpc & protobuf perf笔记 一个cmakelist的例子(自动处理多个proto) Linux下eCal测试计划及进度记录 记录一次重装gitlab
windows编译ecal
xcywt · 2024-09-14 · via 博客园 - xcywt

下载:

git clone https://github.com/eclipse-ecal/ecal.git

cd ecal

git checkout

v5.12.0

git submodule init

# 这一步耗时会有点长,有些可能需要多次尝试才成功

# 若一直不成功,可以跳过,等cmake报错时根据报错的提示手动处理,见下文cmake报错的处理

git submodule update

编译:

生成工程文件:

win_make_cmake.bat

win_make_build.bat

win_make_setup.bat

执行download_npcap.ps1的时候可能会失败,我选择手动下载(不清楚这两个文件有啥用),放到如下目录:

同时还要修改一些配置,去除Qt5.

ecal/build_win/win_make_cmake.bat:

改完后,执行完如下两步,就会生成工程文件。(好像还有Debug的dll)为了保险起见,我用vs重新编译生成了一下。

win_make_build.bat

win_make_setup.bat

vs2017编译:

工程文件存放在:ecal\_build\sdk\eCAL.sln:

直接build一下 ALL_BUILD(注意切换debug和Release):

lib存放目录:

对应的dll和lib均放到Shared了:

测试:

编译自己工程:

为了方便管理相关头文件和库均放在shared工程中,需要包含进来即可。

头文件:

运行:

参数文件(ecal.ini)说明:

默认的参数文件是这个:ecal.ini。win和ubuntu都是放当前目录即可生效。

详情请参考:https://eclipse-ecal.github.io/ecal/configuration/options.html

使用UDP发送:

实测环境如下:

192.168.1.224 ubuntu16.04 作为发送方。

192.168.1.207 win10 作为接收方。

192.168.1.52 ubuntu16.04 作为接收方。

posted @ 2024-09-14 14:38  xcywt  阅读(216)  评论()    收藏  举报