Building C Examples

To begin, make sure that you have already cloned the C example repo.

$ cd ~/repolink/polysync-examples/PolySync-Core-C-Examples/
$ tree -L 1 .
├── can_reader
├── can_writer
├── data_generator
├── enumerate_dynamic_drivers
├── get_set
├── image_data_viewer
├── joystick_commander
├── logfile_iterator
├── logfile_queue_reader
├── logfile_reader
├── logfile_writer
├── node_template
├── publish_subscribe
├── README.md
├── rnr_control
├── serial_reader
├── serial_writer
├── sharedmem_image_data_viewer
├── single_transform
├── socket_reader
├── socket_writer
├── transform_stack
├── user_data_model
├── video_encode_decode
└── viewer_lite

Each example has a Makefile that is set up for the project. To build the project, run make:

$ cd data_generator
$ make
$ ./bin/polysync-data-generator-c

The binary will be placed in the local <example>/bin/ directory, and can be installed to the system with make install.