add boost libs

This commit is contained in:
Camryn Thomas 2025-04-25 20:12:28 -05:00
parent ed8c594a30
commit e3af31f1e0
Signed by: cptlobster
GPG Key ID: 33D607425C830B4C
3 changed files with 9 additions and 2 deletions

View File

@ -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

View File

@ -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)
dependencies : [opencv, boost])

View File

@ -1,10 +1,12 @@
#ifndef TRANSFER_H
#define TRANSFER_H
#include <chrono>
#include <opencv2/core/mat.hpp>
#include <opencv2/imgcodecs.hpp>
#include <sys/socket.h>
#include <logging.h>
#include <vector>
using namespace std;