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

Document supported version of FLTK #93

Open
chris-martin opened this issue Nov 20, 2018 · 2 comments
Open

Document supported version of FLTK #93

chris-martin opened this issue Nov 20, 2018 · 2 comments

Comments

@chris-martin
Copy link

When I first tried to build with Nix, I got this failure:

==Compiling C bindings==
*** Compiling Fl_Simple_TerminalC.cpp...
In file included from Fl_Simple_TerminalC.cpp:1:0:
Fl_Simple_TerminalC.h:8:10: fatal error: FL/Fl_Simple_Terminal.H: No such file or directory
 #include "FL/Fl_Simple_Terminal.H"
          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:147: Fl_Simple_TerminalC.o] Error 1
make: *** [Makefile:16: src] Error 2
builder for '/nix/store/8aqr0dwp6cfkkqnbjdsm457vbbaqj4q4-fltkhs-0.6.0.0.drv' failed with exit code 2

If I upgrade the version of the nix fltk package to 1.4.x-r13121, then it seems to compile successfully.

Is it fair to conclude that this library requires fltk version >= 1.4, and can we add that to the readme?

@deech
Copy link
Owner

deech commented Nov 20, 2018

Yes it does require the development version of FLTK. I'll add it to the README since other people missed this as well so it's obviously not prominent enough.

@deech
Copy link
Owner

deech commented Nov 21, 2018

Thanks for the help with Nix packaging, learned a lot looking at your PR!

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

2 participants