Building C++ Examples

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

$ cd ~/repolink/polysync-examples/PolySync-Core-CPP-Examples/
$ tree -L 1 .
├── CANReader
├── CANWriter
├── DataGenerator
├── Echo
├── HelloWorld
├── HelloWorldPublisher
├── HelloWorldSubscriber
├── LogfileIterator
├── LogfileQueueReader
├── LogfileWriter
├── ParameterGetSet
├── PublishSubscribe
├── README.md
├── Record
├── Replay
├── SampleApplication
├── SerialConfig
├── SerialReader
├── SerialWriter
├── SharedMemoryImageDataViewer
├── SingleTransform
├── SocketReader
├── SocketWriter
├── TransformStack
├── VideoDeviceViewer
└── VideoEncodeDecode

Each example has a CMakeLists.txt file that is set up for the project.

To build the project, run:

$ cd DataGenerator 
$ mkdir build && cd build
$ cmake ..
$ make
$ ./polysync-data-generator-cpp