Skip to content

Commit

Permalink
strand-cam-offline-checkerboards: add build script for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
astraw committed Jul 18, 2024
1 parent 5670139 commit 75b446f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions strand-cam/strand-cam-offline-checkerboards/build.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
REM Download opencv-4.5.5-vc14_vc15.exe from https://github.com/opencv/opencv/releases/download/4.5.5/opencv-4.5.5-vc14_vc15.exe
REM then expand it in your Downloads directory.

set OPENCV_VERSION=455
set OPENCV_LIB_DIR=%HomeDrive%%HomePath%\Downloads\opencv\build\x64\vc15\lib
set OPENCV_INCLUDE_DIR=%HomeDrive%%HomePath%\Downloads\opencv\build\include

REM Now build the binary

cargo build --release

copy %HomeDrive%%HomePath%\Downloads\opencv\build\x64\vc14\bin\opencv_world455.dll ..\..\target\release\

0 comments on commit 75b446f

Please sign in to comment.