-
Notifications
You must be signed in to change notification settings - Fork 44
Closed
Labels
Description
Description
Looks like Ubuntu 18 no longer works to build FastDDS from source due the following:
- CMake is too old if you install it from apt
root@docker-desktop:~/Fast-DDS/foonathan_memory_vendor/build# cmake .. -DCMAKE_INSTALL_PREFIX=~/Fast-DDS/install -DBUILD_SHARED_LIBS=ON
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
CMake 3.14 or higher is required. You are running version 3.10.2
- It requires the version of libasio on Ubuntu 22. While this works with FastDDS 2.6.6, it does not in 2.6.9. Although these are patch versions, there was an ABI break by introducing a dependency on a verion of asio only available on Ubuntu 20.
If it is not the intent of eProsima to support Ubuntu 18, can you please verify a minimum requirement of Ubuntu 20 in the source install page?
Demo
docker run --net host -it ubuntu:18.04 bash
apt update
apt install -y libasio-dev libtinyxml2-dev libssl-dev softhsm2 git cmake
mkdir ~/Fast-DDS
cd ~/Fast-DDS
git clone https://github.com/eProsima/foonathan_memory_vendor.git
mkdir foonathan_memory_vendor/build
cd foonathan_memory_vendor/build
cmake .. -DCMAKE_INSTALL_PREFIX=~/Fast-DDS/install -DBUILD_SHARED_LIBS=ON