From e3af31f1e05f53a002574d68c760549f8139714d Mon Sep 17 00:00:00 2001 From: Dustin Thomas Date: Fri, 25 Apr 2025 20:12:28 -0500 Subject: [PATCH] add boost libs --- README.md | 3 +++ meson.build | 6 ++++-- transfer.h | 2 ++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e5db22f..6f1eaf8 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,9 @@ This project uses Meson for build management. Install the following packages from your distribution package manager: - `meson` - `opencv` +- `boost` + +A better procedure for this (hopefully involving Meson) will be added / documented at a later date. ### Setup Meson diff --git a/meson.build b/meson.build index 12f52c6..3d04040 100644 --- a/meson.build +++ b/meson.build @@ -9,6 +9,8 @@ project('video-streaming-poc', 'cpp', version : '0.0.1-SNAPSHOT', #======================================================================================================================= # opencv dependency opencv = dependency('opencv4', version : '>=4.0.0') +# boost dependency +boost = dependency('boost') #======================================================================================================================= # SOURCE FILES @@ -25,7 +27,7 @@ server = common + ['server.cpp'] #======================================================================================================================= # client executable client_exe = executable('client', client, - dependencies : opencv) + dependencies : [opencv, boost]) # server executable server_exe = executable('server', server, - dependencies : opencv) \ No newline at end of file + dependencies : [opencv, boost]) \ No newline at end of file diff --git a/transfer.h b/transfer.h index c043f50..f7aa0af 100644 --- a/transfer.h +++ b/transfer.h @@ -1,10 +1,12 @@ #ifndef TRANSFER_H #define TRANSFER_H +#include #include #include #include #include +#include using namespace std;