Skip to content

Commit dc6f59e

Browse files
committed
fixed:ubuntu 22.04 build failure
1 parent 34f3a58 commit dc6f59e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,13 @@ git submodule init
8787
git submodule update
8888

8989
#### Linux
90-
ubuntu:sudo apt install sudo apt install liblua5.4-dev libopencv-dev libopencv-contrib-dev libqrencode-dev
90+
ubuntu:sudo apt install sudo apt install liblua5.4-dev libopencv-dev libopencv-contrib-dev libqrencode-dev libleptonica-dev libtesseract-dev
9191
centos:compile by self
9292
use makefile compile,UBUNTU24.04 x64 or RockyLinux 9 x64
9393
Run it on the terminal
9494

9595
#### Macos
96-
install opencc:brew install lua opencv qrencode
96+
install environment:brew install lua opencv qrencode leptonica tesseract
9797
use makefile compile,mac 13 and above
9898
Run it on the terminal
9999

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,13 @@ git clone https://gitee.com/xengine/XEngine_PhoneData.git XEngine_Source/XEngine
9494
直接运行即可
9595

9696
#### Linux
97-
ubuntu:sudo apt install liblua5.4-dev libopencv-dev libopencv-contrib-dev libqrencode-dev
97+
ubuntu:sudo apt install liblua5.4-dev libopencv-dev libopencv-contrib-dev libqrencode-dev libleptonica-dev libtesseract-dev
9898
centos:需要自己编译
9999
Linux使用Makefile编译,UBUNTU24.04 x64或者RockyLinux 9 x64
100100
在控制台运行
101101

102102
#### Macos
103-
安装opencc,执行命令:brew install lua opencv qrencode
103+
安装环境,执行命令:brew install lua opencv qrencode leptonica tesseract
104104
使用makefile编译,控制台运行,需要mac 13以及以上版本
105105
在控制台运行
106106

XEngine_Source/XEngine_ServiceApp/XEngine_HttpApp/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ ifeq ($(PLATFORM),linux)
5151
FILEEXT = so
5252
LIBFLAG = -shared
5353
LIBEX = -lpthread -lrt -ldl
54-
LOADBIN = -Wl,-rpath=./,--disable-new-dtags
54+
LOADBIN = -Wl,-rpath=./:/usr/local/ffmpeg-xengine/lib,--disable-new-dtags
5555
else ifeq ($(PLATFORM),mac)
5656
CC += -Wno-deprecated-declarations
5757
PLATVER = -D __MACOS__

0 commit comments

Comments
 (0)