mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-07-08 18:06:30 +00:00
[PR #1781] [CLOSED] ## Fix: CMake build on Windows (zlib) and macOS (Leptonica/ARM) #2507
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/CCExtractor/ccextractor/pull/1781
Author: @Yashbhu
Created: 12/7/2025
Status: ❌ Closed
Base:
master← Head:fix/windows-cmake-zlib📝 Commits (5)
ed7caccdoneaa8df4cRemove build_and_test.sh helper script3dad4b8docs: Add CMake build fixes to CHANGES.TXTaa0ef7fFix code review issues: remove duplicate pkg_check_modules and handle multiple Leptonica pathsecf201dAddress code review feedback📊 Changes
4 files changed (+93 additions, -2 deletions)
View changed files
📝
.github/workflows/build_windows.yml(+43 -0)📝
docs/CHANGES.TXT(+1 -0)📝
src/CMakeLists.txt(+36 -2)📝
src/lib_ccx/CMakeLists.txt(+13 -0)📄 Description
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
{pull request content here}
this pull request fixes #1352
Problem
LNK1104: cannot open file 'zlib.lib'when zlib is not installed externallyfatal error: 'leptonica/allheaders.h' file not founddue to pkg-config returning.../include/leptonicainstead of parent directorySolution
Windows (zlib)
zlib_staticinto the executablemacOS (Leptonica)
.../include/leptonicaand.../includeto compiler search pathsmacOS (Apple Silicon)
CI
Files Changed
Notes
Legacy Visual Studio project (ccextractor.vcxproj) still uses external
zlib.lib- not changed in this PR.proof

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.