mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
[BUG] Build fails on Arch linux #819
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?
Originally created by @superbonaci on GitHub (Oct 17, 2024).
On arch linux:
@steel-bucket commented on GitHub (Oct 21, 2024):
Adding
#include "ccx_encoders_spupng.h"at the top of the file/src/lib_ccx/ocr.cmakes it compile for Arch Linux. But I have no Idea why it compiles for debian without the aforementioned Change, as I have tried in both.Here's what I know, the error doesn't come from CMake
At first I thought it did as paru's version is different and newer than apt's version(
3.30.5-1as compared to3.28.3-1), but changing it doesn't fix it.@Z-xus commented on GitHub (Nov 25, 2024):
@steel-bucket Can you please mention the version of clang when using debian? I reproduced and got the same results, I think debian might be using an old version of clang and hence does not treat the warning as an error, described as here: https://www.redhat.com/en/blog/new-warnings-and-errors-clang-16
While my arch system was using latest clang version:
@rhymeswithmogul commented on GitHub (Nov 26, 2024):
I just tried this on Ubuntu 24.10 and I needed to patch the file, too, even though this is a Debian derivative.
@superbonaci commented on GitHub (Nov 28, 2024):
Thanks!