File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 3737 set -e
3838 apt update -y
3939 apt install git make g++ wget curl jq unzip -y
40+ apt install liblua5.4-dev libopencv-dev libopencv-contrib-dev libqrencode-dev libleptonica-dev libtesseract-dev -y
4041
4142 git config --global --add safe.directory /workspace
4243 git submodule init
Original file line number Diff line number Diff line change 7171 ./vcpkg.exe integrate install
7272 # ./vcpkg.exe install lua:Arm64-windows opencv[contrib]:Arm64-windows libqrencode:Arm64-windows Windows的opencv 有问题
7373
74- sed -i 's/#define _XENGINE_BUILD_SWITCH_OPENCV 1/#define _XENGINE_BUILD_SWITCH_OPENCV 0/' XEngine_Source/XEngine_BuildSwitch.h
74+ $filePath = "XEngine_Source/XEngine_BuildSwitch.h"
75+ (Get-Content $filePath) -replace '#define _XENGINE_BUILD_SWITCH_OPENCV 1', '#define _XENGINE_BUILD_SWITCH_OPENCV 0' | Set-Content $filePath
7576 shell : pwsh
7677
7778 - name : Set up Dependency x86_64 Environment
You can’t perform that action at this time.
0 commit comments