add boost libs
This commit is contained in:
parent
ed8c594a30
commit
e3af31f1e0
@ -12,6 +12,9 @@ This project uses Meson for build management.
|
|||||||
Install the following packages from your distribution package manager:
|
Install the following packages from your distribution package manager:
|
||||||
- `meson`
|
- `meson`
|
||||||
- `opencv`
|
- `opencv`
|
||||||
|
- `boost`
|
||||||
|
|
||||||
|
A better procedure for this (hopefully involving Meson) will be added / documented at a later date.
|
||||||
|
|
||||||
### Setup Meson
|
### Setup Meson
|
||||||
|
|
||||||
|
@ -9,6 +9,8 @@ project('video-streaming-poc', 'cpp', version : '0.0.1-SNAPSHOT',
|
|||||||
#=======================================================================================================================
|
#=======================================================================================================================
|
||||||
# opencv dependency
|
# opencv dependency
|
||||||
opencv = dependency('opencv4', version : '>=4.0.0')
|
opencv = dependency('opencv4', version : '>=4.0.0')
|
||||||
|
# boost dependency
|
||||||
|
boost = dependency('boost')
|
||||||
|
|
||||||
#=======================================================================================================================
|
#=======================================================================================================================
|
||||||
# SOURCE FILES
|
# SOURCE FILES
|
||||||
@ -25,7 +27,7 @@ server = common + ['server.cpp']
|
|||||||
#=======================================================================================================================
|
#=======================================================================================================================
|
||||||
# client executable
|
# client executable
|
||||||
client_exe = executable('client', client,
|
client_exe = executable('client', client,
|
||||||
dependencies : opencv)
|
dependencies : [opencv, boost])
|
||||||
# server executable
|
# server executable
|
||||||
server_exe = executable('server', server,
|
server_exe = executable('server', server,
|
||||||
dependencies : opencv)
|
dependencies : [opencv, boost])
|
@ -1,10 +1,12 @@
|
|||||||
#ifndef TRANSFER_H
|
#ifndef TRANSFER_H
|
||||||
#define TRANSFER_H
|
#define TRANSFER_H
|
||||||
|
|
||||||
|
#include <chrono>
|
||||||
#include <opencv2/core/mat.hpp>
|
#include <opencv2/core/mat.hpp>
|
||||||
#include <opencv2/imgcodecs.hpp>
|
#include <opencv2/imgcodecs.hpp>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <logging.h>
|
#include <logging.h>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user