-
Notifications
You must be signed in to change notification settings - Fork 976
Open
Description
Initially i got a build error related to nasm not being installed.
It was fixed by brew install nasm
Then came an error about mozjpeg.
This was due to cmake being version 4.x, but the build script required something like 3.5 or lower.
I fixied it by adjusting core-xprojects/Mozjpeg/Mozjpeg/build.sh file:
I replaced this line:
cmake -G"Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=toolchain.cmake -DCMAKE_OSX_SYSROOT=${MACOS_SYSROOT[0]} -DPNG_SUPPORTED=FALSE -DENABLE_SHARED=FALSE -DWITH_JPEG8=1 ../../$SOURCE_DIR
with this:
cmake -G"Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=toolchain.cmake -DCMAKE_OSX_SYSROOT=${MACOS_SYSROOT[0]} -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DPNG_SUPPORTED=FALSE -DENABLE_SHARED=FALSE -DWITH_JPEG8=1 ../../$SOURCE_DIR
(codex suggestion)
Then I got another error related to ffmpeg.
Last lines containing ffmpeg: https://pastes.io/i-i10-fwna
At this point I just gave up trying to build Telegram.
Please fix it or provide a detailed guide (to the point a mentally disabled person would be able to build it) on how to successfully build Telegram for macOS.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels