eclipse-cyclonedds / cyclonedds

Eclipse Cyclone DDS project
https://projects.eclipse.org/projects/iot.cyclonedds
Other
854 stars 352 forks source link

CMake Error: install(EXPORT "CycloneDDS" ...) includes target "ddsc" #2017

Open felixf4xu opened 4 months ago

felixf4xu commented 4 months ago

Hi,

When I compiled this project, I got the following error:

[Processing: cyclonedds]
-- Configuring done (30.1s)
CMake Error: install(EXPORT "CycloneDDS" ...) includes target "ddsc" which requires target "security_core" that is not in any export set.
-- Generating done (0.2s)
CMake Generate step failed.  Build files cannot be regenerated correctly.
ninja: error: loading 'build.ninja': The system cannot find the file specified.

I'm compiling cyclonedds inside the ros2 workspace, by this command:

colcon build  --symlink-install --merge-install  --event-handlers console_direct+ --cmake-args -G "Ninja" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=OFF --no-warn-unused-cli  --packages-select cyclonedds --cmake-clean-cache

I'm using mingw (ucrt64) on windows, mingw-w64-ucrt-x86_64-gcc, cyclonedds version is releases/0.10.x