From f006e9aca07401db39ab7b626c65421b41749fad Mon Sep 17 00:00:00 2001 From: Yeboii1237 <76083357+Yeboii1237@users.noreply.github.com> Date: Tue, 1 Apr 2025 05:38:15 +1300 Subject: [PATCH] Create examplebuildvoxelgridfrommotion.bat --- examplebuildvoxelgridfrommotion.bat | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 examplebuildvoxelgridfrommotion.bat diff --git a/examplebuildvoxelgridfrommotion.bat b/examplebuildvoxelgridfrommotion.bat new file mode 100644 index 0000000..8201200 --- /dev/null +++ b/examplebuildvoxelgridfrommotion.bat @@ -0,0 +1,15 @@ +@echo off + +rem Build with g++ +g++ -std=c++17 -O2 ray_voxel.cpp -o ray_voxel +if %ERRORLEVEL% NEQ 0 ( + echo [Error] Compilation failed + pause + exit /b %ERRORLEVEL% +) + +echo [Info] Compilation succeeded. + +rem Now run the compiled program: +rem Usage: ray_voxel +ray_voxel motionimages/metadata.json motionimages voxel_grid.bin