Build and Run Instructions

After extracting the ZIP archive, open a terminal in the main example directory.

1. Make all shell scripts executable

find . -type f -name "*.sh" -exec chmod +x {} +

This step is normally required only once after extracting the archive.

2. Build all examples

./build_all.sh

3. Run one example

Change to the desired example directory, for example:

cd OpenCloseDevice
./run.sh

To build only this example:

./build.sh

Then run it:

./run.sh

4. Clean all compiled files

From the main example directory:

./clean_all.sh
