Issues Compiling on OSX
What problem did you encounter?
Compiling on OSX is a bit of a pain. I don't know whether this is in scope of this project, but I need this library to compile fractal.
Master doesn't compile at all, and v0.0.3
requires a few manual steps.
In what part of libhandy did you experience the problem? Note that multiple boxes may be checked.
-
build system -
documentation -
example application -
HdyArrows -
HdyColumn -
HdyDialer -
HdyLeaflet -
somewhere else (please elaborate)
What is the actual behaviour?
Master can't be compiled at all, and v0.0.3
needed two workarounds.
What is the expected behaviour?
It compiles on OSX without workarounds
How to reproduce?
Install homebrew with gtk and friends.
For master, I couldn't compile at all: meson-log.txt
Invalid version of dependency, need 'gtk+-3.0' ['>= 3.24.1'] found '3.22.30'.
For v0.0.3
I needed to specify libffi directly via pkgconfig:
export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig"
And I also needed to remove --version-script
from the generated build.jinja
output to prevent this error:
ld: unknown option: --version-script
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Which version did you encounter the bug in?
-
I compiled it myself. If you compiled libhandy from source please provide the git revision via e.g. by running git log -1 --pretty=oneline
and pasting the output below.
95ac5c85d36a394ef959ef751512e4d5a0473776 (HEAD -> master, origin/master, origin/HEAD) Drop Jenkinsfile
6aa4813ef7d250107dd525ddd1c589ffaebe44c6 (HEAD, tag: v0.0.3) Bump version to 0.0.3
What hardware are you running libhandy on?
-
OSX