Skip to content

atolab/ocaml-cdds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ocaml-cdds

This is the OCaml API for Cyclone DDS.

Installing ocaml-cdds

To install ocaml-dds make sure you to have installed:

Once the dependencies listed above are satisfied, you'll have to install a few OCaml tools and packages by executing the following command:

opam install ctypes ctypes-foreign jbuilder

Then from the ocam-cdds directory do the following:

$ ./configure # on Linux you'll have to be sudoer
$ make
$ make install

That's it.

ocaml-dds examples

To build the example shipped with ocaml-cdds do the following:

$ make demo

Then to run the example, on one terminal do:

$ ./demo/simple/_build/default/simple.exe sub-wl

Then to run the example, on another terminal do:

$ ./demo/simple/_build/default/simple.exe pub

You should see data being printed on the console showing what the subscrier is receiving.

About

OCaml API for Eclipse Cyclone DDS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published