Skip to content

Commit 9122e13

Browse files
committed
windows opencv dll deploy
1 parent 1692068 commit 9122e13

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build_scripts/Windows/internal/2a_portable.sh

+5
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ done
2525
${QT_DIR}windeployqt $INSTALL_PATH/relight.exe
2626
${QT_DIR}windeployqt $INSTALL_PATH/relightlab.exe
2727

28+
OPENCV_PATH="C:/tools/opencv/build/x64/vc16/bin" # Chocolatey
29+
30+
# Copy OpenCV DLLs
31+
echo "Copying OpenCV DLLs from $OPENCV_PATH to $INSTALL_PATH..."
32+
cp "$OPENCV_PATH"/*.dll "$INSTALL_PATH" || { echo "Failed to copy OpenCV DLLs"; exit 1; }
2833

2934
# remove all .lib files
3035
for file in $(find $INSTALL_PATH -name '*.lib');

0 commit comments

Comments
 (0)