1. Download OpenDDS-3.15.tar.gz
2. Unzip
tar -xzvf OpenDDS-3.15.tar.gz
3. Compile
(1) Enter the catalog
cd OpenDDS-3.15
(2) Download ACE+TAO-2.2a_with_latest_patches_NO_makefiles.tar.gz from the Internet or automatically download when running ./configure.
(3) If make install install, you need to set export INSTALL_PREFIX=/home/XXX/OpenDDS-3.15/install/
(4) If you run the use case in the tests directory, you need to download the googletest source code from the Internet and put it in the OpenDDS-3.15/tests/googletest directory. Modify the CMakeLists.txt file of googletest and add SET(CMAKE_INSTALL_PREFIX /home/XXX/OpenDDS-3.15/tests/googletest/googletest) after the project(googletest-distribution) line. Run make and make install to install googletest to the tests/googletest/googletest directory.
(5) Configure and generate Makefile
./configure --prefix=/home/XXX/OpenDDS-3.15/install --tests
(6)make并make install
4. Testing
source setenv.sh
cd bin
./auto_run_tests.pl
https://download.csdn.net/download/eidolon_foot/13907497
reference:
https://github.com/objectcomputing/OpenDDS/blob/master/INSTALL.md
https://github.com/google/googletest/blob/master/googletest/README.md
https://www.cnblogs.com/hanrp/p/11155909.html
https://blog.csdn.net/qq_27788177/article/details/110088365
https://blog.csdn.net/Fan0628/article/details/89494252