opendds 3.32.0 linux编译

`

sudo apt-get install build-essential libace-dev libssl-dev

安装依赖包

Ubuntu/Debian

sudo apt update

sudo apt install -y build-essential g++ make perl git libxerces-c-dev libssl-dev

下载对应版本

https://opendds.org/downloads.html

可以使用git下载代码
git clone https://github.com/OpenDDS/OpenDDS.git
cd OpenDDS
git checkout v3.32.0 # 切换到指定版本

configure会下载ACE+TAO网络包,如果访问github慢,可以在configure的878和886行添加镜像源https://mirror.ghproxy.com/

./configure

编译

使用多核编译加速(根据CPU核心数调整)

make -j$(nproc)

source setenv.sh
cd DevGuideExamples/DCPS/Messenger
./run_test.pl
`

posted on 2025-06-10 06:56  jobgeo  阅读(66)  评论(0)    收藏  举报

导航