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

Compile fails on Arch Linux 64-bit #37

Closed
JacobRoth opened this issue Jun 9, 2016 · 3 comments
Closed

Compile fails on Arch Linux 64-bit #37

JacobRoth opened this issue Jun 9, 2016 · 3 comments

Comments

@JacobRoth
Copy link

I tried compiling the latest flobby from git. cmake completed sucessfully, but when I run make, it crashes:
[ 11%] Building CXX object src/gui/CMakeFiles/gui.dir/UserInterface.cpp.o /home/yanom/flobby/src/gui/UserInterface.cpp: In member function ‘int UserInterface::run(int, char**)’: /home/yanom/flobby/src/gui/UserInterface.cpp:217:9: error: ‘screen_work_area’ is not a member of ‘Fl’ Fl::screen_work_area(x, y, w, h); ^~ src/gui/CMakeFiles/gui.dir/build.make:374: recipe for target 'src/gui/CMakeFiles/gui.dir/UserInterface.cpp.o' failed make[2]: *** [src/gui/CMakeFiles/gui.dir/UserInterface.cpp.o] Error 1 CMakeFiles/Makefile2:416: recipe for target 'src/gui/CMakeFiles/gui.dir/all' failed make[1]: *** [src/gui/CMakeFiles/gui.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2

any idea what's wrong here?

@cleanrock
Copy link
Owner

Looks like Fl::screen_work_area was added in FLTK 1.3.1, I am a bit surprised about this since i thought flobby was ok to build with FLTK 1.3.0.
If you have a FLTK 1.3.0 or later try to add
#include <FL/Fl.H>
in UserInterface.cpp and report back here.

@cleanrock
Copy link
Owner

I now noticed you use arch which I develop and build on regularly, are you using fltk 1.3.3-6 from extra ?
Btw, you can also try my AUR package flobby-git.

@JacobRoth
Copy link
Author

I've found the problem and corrected it. I was using fltk as provided by fltk-xcas, which was out of date. I removed xcas and fltk-xcas and installed regular ftlk, which compiles just fine.

the AUR package flobby-git lists fltk-xcas as a package that can satisfy flobby's fltk dependence, but this is incorrect I think...

Anyway, thanks for the help. I can launch flobby now.

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