Skip to content
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

macOS 11.0.1 "Big Sur" compilation problem #90

Closed
lancelet opened this issue Nov 18, 2020 · 1 comment
Closed

macOS 11.0.1 "Big Sur" compilation problem #90

lancelet opened this issue Nov 18, 2020 · 1 comment

Comments

@lancelet
Copy link

lancelet commented Nov 18, 2020

On macOS "Big Sur", I'm seeing the following issue when compiling GLFW-b:

$ sw_vers
ProductName:	macOS
ProductVersion:	11.0.1
BuildVersion:	20B29

$ cabal build
Build profile: -w ghc-8.10.2 -O1
In order, the following will be built (use -v for more details):
 - GLFW-b-3.3.0.0 (lib) (first run)
Preprocessing library for GLFW-b-3.3.0.0..
Building library for GLFW-b-3.3.0.0..
[1 of 3] Compiling Graphics.UI.GLFW.Types ( Graphics/UI/GLFW/Types.hs, /Users/jsm/workspace/GLFW-b/dist-newstyle/build/x86_64-osx/ghc-8.10.2/GLFW-b-3.3.0.0/build/Graphics/UI/GLFW/Types.o, /Users/jsm/workspace/GLFW-b/dist-newstyle/build/x86_64-osx/ghc-8.10.2/GLFW-b-3.3.0.0/build/Graphics/UI/GLFW/Types.dyn_o )
<command line>: can't load framework: AGL (not found)

My first thought was that perhaps AGL had been removed from "Big Sur", but:

$ ls -l /System/Library/Frameworks | grep AGL
drwxr-xr-x  4 root  wheel  128  1 Jan  2020 AGL.framework

This has also shown up in recent builds of ad-si/Perspec; eg: https://github.com/ad-si/Perspec/runs/1412857351?check_suite_focus=true

@lancelet
Copy link
Author

This could be a more general GHC problem; see: https://gitlab.haskell.org/ghc/ghc/-/issues/18446

SeungheonOh added a commit to SeungheonOh/GLFW-b that referenced this issue May 18, 2021
SeungheonOh added a commit to SeungheonOh/GLFW-b that referenced this issue May 18, 2021
@Mokosha Mokosha closed this as completed in 876e876 Jun 3, 2021
Mokosha added a commit that referenced this issue Jun 3, 2021
Fixed #90 by version up GHC 8.8 to GHC 8.10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant