-
Notifications
You must be signed in to change notification settings - Fork 25
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
can't build/install on OSX mojave #90
Comments
I tried it with Thanks for the report! |
@cartazio Can they be located by symlinking the headers and/or adding the |
For (2), iirc, I've had ObjC errors when `gcc` either was or was not
aliased to OSX's `clang`, or by a command-line option like `-ObjC` not
being passed. (but take it with a grain of salt, don't want to waste your
time on like a red herring).
…On Sun, Nov 4, 2018, 15:06 deech ***@***.*** wrote:
I tried it with stack on Mojave. I'll install a cabal environment
tomorrow and try to reproduce.
Thanks for the report!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#90 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ACNoMX9Y_CXB5TlUSAYVbHzWsTN7dkdMks5ur3LZgaJpZM4YNdFi>
.
|
@deech i dont see FL_Examples in my includes path
doesn't have it. where / what versions of FLTK are you at / how have you installed yours? |
@sboosali interesting ... so if my GCC in path points to a real gcc rather than clang, the current setup for bundled FLTKHS will freak out? frustratingly, i did set my CC to point to /usr/bin/clang ... what else need I set? CXX? |
SUCCESS: i make it past the |
so the current state of affairs
|
so it seems like a handy suggestion on OSX for folks with -fembed build failures is to make sure CC and CXX both point to the applicable / apple clang/clang++ that still doesn't track down the issue with the not embedded install :( |
Awesome that the The issue you're having with the brew version of FLTK is to be expected. The new |
@cartazio that's great, and good to know about the correct `clang++` being
required too.
(sorry for the delay, but I should have clarified that by `Fl_Example.h`, I
meant it as an example of the format, i.e. `#include <FL/Fl_<File>.h`).
…On Mon, Nov 5, 2018, 10:09 deech ***@***.*** wrote:
Awesome that the gcc is resolved. Thanks @sboosali
<https://github.com/sboosali>! I'll add it to the docs.
The issue you're having with the brew version of FLTK is to be expected.
The new fltkhs release tracks the unofficial (but generally stable) [1.4]
(
http://hackage.haskell.org/package/fltkhs-0.6.0.0/docs/Graphics-UI-FLTK-LowLevel-FLTKHS.html#g:5)
version so package managers are unlikely to have it. I have instructions on
building it yourself locally in the Hackage docs
<http://hackage.haskell.org/package/fltkhs-0.6.0.0/docs/Graphics-UI-FLTK-LowLevel-FLTKHS.html#g:12>
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#90 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ACNoMYrm3_JYSf-M06lXAB6Ql4VHoCc1ks5usH7agaJpZM4YNdFi>
.
|
I'm unable build fltkhs, either with the bundled version or the using my own fltk-1.4. With the bundled version it fails to find the fltk-1.4 dynamic library: When I build it using my own fltk-1.4, it fails to link libfltkc-dyn.dylib: This is on MacOS 10.5.4 with clang-1001.0.46.4 |
I was finally able to build fltkhs using Apple's clang and clang++. The error occurs when linking to build libfltkc-dyn.dylib: The problem is c-src/Makefile.in:
clang doesn't like the comma between |
I had the same problem as the above comment. However I'm confused because there already isn't a comma in that location in ifeq ($(shell uname) , Darwin)
SHARED_EXT=dylib
SONAME_FLAGS=-dynamiclib -install_name I think the issue is that it is missing a ifeq ($(shell uname) , Darwin)
SHARED_EXT=dylib
SONAME_FLAGS=-dynamiclib -Wl,-install_name This works for me to build. However I should note that loading FLTK in GHCi has never worked for me on Mac (before or after making this edit), because I get:
Does the |
two different issues I think
missing include on mac (assumes brew'd fltk has non existent header ..)
-fbundled unbuildable on mojave + cli tools
i get the following verbose errors with -j1 -v3 on cabal v2-install fltkhs (i'm using cabal 2.4 btw)
i looked in the applicable brew directory and i dont see it there ..
The text was updated successfully, but these errors were encountered: