Skip to content

Commit b2696e0

Browse files
committed
g
1 parent c0e1c27 commit b2696e0

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/build_windows.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
- "**.h"
1616
- "windows/**"
1717
pull_request:
18-
types: [opened, synchronize, reopened]
18+
types: [ opened, synchronize, reopened ]
1919
paths:
2020
- ".github/workflows/build_windows.yml"
2121
- "**.c"
@@ -34,6 +34,8 @@ jobs:
3434
msbuild-architecture: x64
3535
- name: Install gpac
3636
run: choco install gpac --version 2.4.0
37+
- name: Install nanomsg
38+
run: choco install nanomsg
3739
- name: Setup vcpkg
3840
run: mkdir C:\vcpkg\.cache
3941
- name: Cache vcpkg
@@ -48,7 +50,7 @@ jobs:
4850
git clone https://github.com/microsoft/vcpkg
4951
./vcpkg/bootstrap-vcpkg.bat
5052
- name: Install dependencies
51-
run: ${{ github.workspace }}/vcpkg/vcpkg.exe install nanomsg --x-install-root ${{ github.workspace }}/vcpkg/installed/
53+
run: ${{ github.workspace }}/vcpkg/vcpkg.exe install --x-install-root ${{ github.workspace }}/vcpkg/installed/
5254
working-directory: windows
5355
- uses: actions-rs/toolchain@v1
5456
with:
@@ -85,6 +87,8 @@ jobs:
8587
msbuild-architecture: x64
8688
- name: Install gpac
8789
run: choco install gpac --version 2.4.0
90+
- name: Install nanomsg
91+
run: choco install nanomsg
8892
- name: Setup vcpkg
8993
run: mkdir C:\vcpkg\.cache
9094
- name: Cache vcpkg
@@ -99,7 +103,7 @@ jobs:
99103
git clone https://github.com/microsoft/vcpkg
100104
./vcpkg/bootstrap-vcpkg.bat
101105
- name: Install dependencies
102-
run: ${{ github.workspace }}/vcpkg/vcpkg.exe install nanomsg --x-install-root ${{ github.workspace }}/vcpkg/installed/
106+
run: ${{ github.workspace }}/vcpkg/vcpkg.exe install --x-install-root ${{ github.workspace }}/vcpkg/installed/
103107
working-directory: windows
104108
- uses: actions-rs/toolchain@v1
105109
with:

mac/build.command

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ SRC_FREETYPE="../src/thirdparty/freetype/autofit/autofit.c \
5252
../src/thirdparty/freetype/type42/type42.c \
5353
../src/thirdparty/freetype/winfonts/winfnt.c"
5454
BLD_SOURCES="../src/ccextractor.c $SRC_API $SRC_CCX $SRC_LIB_HASH $SRC_LIBPNG $SRC_PROTOBUF $SRC_UTF8 $SRC_ZLIB $SRC_ZVBI $SRC_FREETYPE"
55-
BLD_LINKER="-lm -liconv -lpthread -ldl -lnanomsg `pkg-config --libs --silence-errors tesseract` `pkg-config --libs --silence-errors gpac`"
55+
BLD_LINKER="-lm -liconv -lpthread -ldl `pkg-config --libs --silence-errors tesseract` `pkg-config --libs --silence-errors gpac` `pkg-config --libs --silence-errors nanomsg`"
5656
[[ $1 = "OCR" ]] && BLD_LINKER="$BLD_LINKER `pkg-config --libs --silence-errors tesseract` `pkg-config --libs --silence-errors lept`"
5757

5858
./pre-build.sh

0 commit comments

Comments
 (0)