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