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

推荐订阅源

Security Latest
Security Latest
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Stack Overflow Blog
Stack Overflow Blog
WordPress大学
WordPress大学
N
Netflix TechBlog - Medium
GbyAI
GbyAI
云风的 BLOG
云风的 BLOG
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
宝玉的分享
宝玉的分享
博客园 - 【当耐特】
C
Cyber Attacks, Cyber Crime and Cyber Security
雷峰网
雷峰网
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
T
Threat Research - Cisco Blogs
NISL@THU
NISL@THU
Spread Privacy
Spread Privacy
P
Proofpoint News Feed
J
Java Code Geeks
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
MyScale Blog
MyScale Blog
T
Tor Project blog
P
Proofpoint News Feed
C
CERT Recently Published Vulnerability Notes
P
Privacy & Cybersecurity Law Blog
MongoDB | Blog
MongoDB | Blog
Simon Willison's Weblog
Simon Willison's Weblog
C
Cybersecurity and Infrastructure Security Agency CISA
L
LINUX DO - 热门话题
小众软件
小众软件
G
GRAHAM CLULEY
P
Privacy International News Feed
AWS News Blog
AWS News Blog
Know Your Adversary
Know Your Adversary
P
Palo Alto Networks Blog
人人都是产品经理
人人都是产品经理
S
Schneier on Security
Scott Helme
Scott Helme
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
B
Blog RSS Feed
T
The Exploit Database - CXSecurity.com
Recent Announcements
Recent Announcements
E
Exploit-DB.com RSS Feed
C
CXSECURITY Database RSS Feed - CXSecurity.com
U
Unit 42
The Register - Security
The Register - Security
S
Securelist
Martin Fowler
Martin Fowler
Project Zero
Project Zero
大猫的无限游戏
大猫的无限游戏
Cisco Talos Blog
Cisco Talos Blog

博客园 - 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)  评论()    收藏  举报