joomer-efsw-file-monitoring

Watch folder for images and flip them

Demonstrates

  • file monitoring

Usage

joomer-efsw-file-monitoring 
- drag and drop files into the test folder

[todo]

Build

learndir/
└── joomer-efsw-file-monitoring/
└── efsw

Ubuntu Linux (kasm-ubuntu)

mkdir learndir
cd learndir
git clone https://github.com/SpartanJ/efsw.git
mkdir -p efsw/build
cd efsw/build
cmake ..
make -j4
cd ../..
git clone https://git.indoodle.com/jason/joomer-efsw-file-monitoring.git
cd joomer-efsw-file-monitoring
wget https://raw.githubusercontent.com/nothings/stb/master/stb_image.h
wget https://raw.githubusercontent.com/nothings/stb/master/stb_image_write.h
make all
mkdir bin/Linux/release/test
bin/Linux/release/joomer-efsw-file-monitoring

Windows (win10 enterprise)

  • Download Visual Studio Community Edition 2022
  • Run VisualStudioSetup.exe
  • Workload = [x] Desktop developemnt with C++
  • Individial components = [x] Git For Windows

Run x64 Native Tools Command Prompt for VS 2022

mkdir learndir
cd learndir
git clone https://git.indoodle.com/jason/joomer-efsw-file-monitoring.git
cd joomer-efsw-file-monitoring
premake5 vs2022
cd make/windows
msbuild joomer-efsw-file-monitoring.vcxproj /t:Build /p:Configuration=Debug /p:Platform=x64
cd ../..
cd bin
mkdir test
joomer-efsw-file-monitoring.exe

For a prototype app we can just dump the stb headers right into the joomer-efsw-file-monitoring/src dir for simplicity

curl -LO https://raw.githubusercontent.com/nothings/stb/master/stb_image.h
curl -LO https://raw.githubusercontent.com/nothings/stb/master/stb_image_write.h
make all -j4
Description
watch pictures come in a folder and flip
Readme 314 KiB
Languages
C++ 59.2%
Makefile 40.8%