-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation failure on Intel Mac of recent builds #77370
Comments
We are aware of this. If you're using homebrew, try installing |
Found the reference to freetype in Linux sections in https://github.com/CleverRaven/Cataclysm-DDA/blob/master/doc/COMPILING/COMPILING.md - but having freetype 2.13.3 installed doesn't help. |
Hello, did #77360 fix this? |
This is still an issue for Apple Silicon as Homebrew on macOS Apple Silicon installs headers to diff --git a/src/third-party/CMakeLists.txt b/src/third-party/CMakeLists.txt
index 0ff648748b..71525ea0db 100644
--- a/src/third-party/CMakeLists.txt
+++ b/src/third-party/CMakeLists.txt
@@ -98,7 +98,7 @@ if (TILES)
SYSTEM
PRIVATE
${SDL2_INCLUDE_DIR}/..
- /usr/include/freetype2
+ /opt/homebrew/include/freetype2/
)
target_compile_options( (Though this still leaves a linking error... it seems like the |
Whups, didn't mean to close, cmake is still busted. But cmake is lower tier supported. |
Describe the bug
When trying to compile the game using latest master, I'm getting this error:
Here is my compile command
System information (from uname -a)
Darwin 23.6.0 Darwin Kernel Version 23.6.0: Wed Jul 31 20:48:44 PDT 2024; root:xnu-10063.141.1.700.5~1/RELEASE_X86_64 x86_64
Since I ain't good in git bisect command, I can't pinpoint which commit has broken this. But going back a few days, allows for successful build.
Looking on recently merged pull requests, I found this one https://github.com/CleverRaven/Cataclysm-DDA/pull/77289/files
![Uploading Screenshot 2024-10-27 at 9.47.53.png…]()
When looking at it's affected files, it shows exactly the error I'm having
@katemonster33 - any idea how to fix on Mac?
Attach save file
N/A
Steps to reproduce
Expected behavior
Compilation should end successfully.
Screenshots
No response
Versions and configuration
OS: MacOS Sonoma 14.7 (Intel)
GCC version: Apple clang version 15.0.0 (clang-1500.3.9.4) (but the bug reproduces with CLANG=0 and CLANG=1).
Additional context
No response
The text was updated successfully, but these errors were encountered: