You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
karel-brinda
changed the title
Missing glpk dependency
Compilation doesn't work on OS X with M1 because of brew
Jan 9, 2024
karel-brinda
changed the title
Compilation doesn't work on OS X with M1 because of brew
Compilation doesn't work on OS X with M1 because of different brew paths
Jan 9, 2024
It seems macOS has no way to globally add a directory in the library search path, and so there is way besides explicitly looking in /opt/homebrew/lib (well, except pkg-config maybe) to find Homebrew libs. I blame Apple for this.
on macos
brew install glpk
is not sufficientfor include, I had to add this manually:
-I /opt/homebrew/Cellar/glpk/5.0/include -L /opt/homebrew/Cellar/glpk/5.0/lib
The text was updated successfully, but these errors were encountered: