File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
XEngine_Source/XEngine_ModuleHelp Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 6464 sudo mkdir -p /usr/local/include
6565 sudo mkdir -p /usr/local/lib
6666 sudo cp -rf ./XEngine_Include /usr/local/include
67- sudo find ./XEngine_Mac -name "*.dylib" -exec cp {} /usr/local/lib \;
67+ sudo find ./XEngine_Mac -name "*.dylib" -exec cp {} /usr/local/lib \;
68+ ls -l /opt/homebrew/opt/
6869 # 编译
6970 - name : make debug
7071 run : |
Original file line number Diff line number Diff line change 4242 git submodule update
4343
4444 - name : install library
45- run : sudo apt install liblua5.4-dev libopencv-dev libopencv-contrib-dev libqrencode-dev
45+ run : |
46+ sudo apt update -y
47+ sudo apt upgrade -y
48+ sudo apt install liblua5.4-dev libopencv-dev libopencv-contrib-dev libqrencode-dev -y
4649
4750 # 设置依赖库的环境变量
4851 - name : Set up Dependency ubuntu24.04 Environment
Original file line number Diff line number Diff line change @@ -58,6 +58,8 @@ else ifeq ($(PLATFORM),mac)
5858 PLATVER = -D __MACOS__
5959 PLATDIR = XEngine_Mac
6060 FILEEXT = dylib
61+ LOADHDR += -I /opt/homebrew/opt/opencv4/include -I /opt/homebrew/opt/lua/include
62+ LOADSO += -L /opt/homebrew/opt/opencv4/lib -L /opt/homebrew/opt/lua/lib
6163 LIBFLAG = -dynamiclib
6264 LIBEX = -lpthread -ldl
6365 LOADBIN = -Wl,-rpath,@loader_path/./
You can’t perform that action at this time.
0 commit comments