From 08edcb66dbf4c5689095059f85370fcc2534af00 Mon Sep 17 00:00:00 2001 From: "Simon A. Eugster" Date: Sun, 26 May 2024 09:26:17 +0200 Subject: [PATCH] Add missing build.sh --- .gitignore | 3 ++- README.md | 11 ++++++++++- build.sh | 7 +++++++ 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100755 build.sh diff --git a/.gitignore b/.gitignore index 32f0f1c..1c499f0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .idea -*build* +build-* +build slowmoFlowBuilder diff --git a/README.md b/README.md index d499345..c4295ea 100644 --- a/README.md +++ b/README.md @@ -7,12 +7,21 @@ It can be used by slowmoVideo. ## Building +Before building, get the latest version with the following command: + +```bash +# Get the latest commit of this branch +git pull --rebase + +# Update the libSvFlow submodule to the correct commit +git submodule update --init +``` + ### Ubuntu 20.04 On Ubuntu 20.04, install the requirements `freeglut3-dev libopencv-dev libglew-dev ` ```bash -git submodule update --init mkdir build cd build cmake .. diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..b38ece8 --- /dev/null +++ b/build.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +mkdir -p build-docker +cd build-docker +cmake .. +make +cp src/slowmoFlowBuilder ..