Open DannyBoyKN opened 2 years ago
@DannyBoyKN Hello, and sorry for not reaching out for so long. Do you still have issues with this? I will close this for now though, since no further comments have been made. If you still have issues or questions, please re-open the issue and we can take a look.
Hi, just starting with DDS in general and with CycloneDDS in particular because it seems to be the only open DDS implementation as pure C implementation. Correct me if I'm wrong. There might be other (commercial) implementation that I had no time to investigate.
Under linux (Ubuntu 18) cloning and building is quite straight forward and I could test the examples.
Under Windows 7 it was hard to setup the environment (VSCode) to use cmake to build: I did follow your instructions using
For that VSCode
CMakeSettings.json
had to be created and configured asBison
was required at least in version 3.0.4 which was only available via Chocolatey.With all that
cmake --build
. is still failing with:There was no more output. I did not invest more time here since my primary intend is to use it under linux
Building worked perfectly:
Running the examples as well 😄
Now I wanted to go for some own development with FreeRTOS for the ARM Cortex M3 to get familiar with the API.
Without going into further details I stumbled upon a missing definition for
ddsrt_duration_to_msecs_ceil
!From
cyclonedds/src/ddsrt/src/time/freertos/time.c
it is declared as:but not defined anywhere. It is used by
void dds_sleepfor (dds_duration_t reltime)
only. This is also true for windows, but not for posix and others. Since I cannot get the compilation working under windows I cannot tell anything there. 'dds_sleepfor' however is a central function although but not define for posix ?Could you clarify a bit the differences in the platform tailorings ? What did I miss Many thanks