cyclonedds-python icon indicating copy to clipboard operation
cyclonedds-python copied to clipboard

ddsperf is missing after installation from pip

Open morkovka1337 opened this issue 2 years ago • 1 comments
trafficstars

I've installed a python binding of the cyclones via pip as follows: pip install cyclonedds Now I'm running into an issue when I try to cyclonedds performance ping because ddsperf is missing. The issue is reproduced on macOS (M1 Pro) and Ubuntu 18 (x86). I've tried to create a new conda environment, no changes.

morkovka1337 avatar Feb 28 '23 14:02 morkovka1337

Hi @morkovka1337,

Sadly ddsperf is not included by default, packaging executables into wheels is an arcane art and hard to maintain, hence I've only tried to do it for idlc. If you install the main CycloneDDS library first and then do a python install from source instead of from a wheel (using --no-binary=cyclonedds) you'll have your own, shiny, ddsperf that the python package will then use.

This fact should be mentioned in the documentation, so lets leave this issue open for now 😄

thijsmie avatar Feb 28 '23 14:02 thijsmie