-
Notifications
You must be signed in to change notification settings - Fork 17
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
Very intersting, but currently unbuildable on Linux #1
Comments
Ok, got it building, but remains a boring:
I tried to change the OpenGL major/minor version, but probably something is missing. Todo (Linux only): ApplicationFilePatht() to be implemented, maybe boost could help (not sure) Below, the attached diff to show what I did, to achieve the compilation. Lot of warnings though. LinuxBuild_FishGUI.diff.txt](https://github.com/yushroom/FishGUI/files/1635300/LinuxBuild_FishGUI.diff.txt) |
You are right, ApplicationFilePath() is missing on Linux. I'm working on it now. |
@ebachard |
Thanks a lot for all the changes you did, very appreciated. Nevertheless, I still have some breakages and I'm wondering what I did so wrong ... e.g. in ListWidget.hpp use m_rect.x directly is not possible, since m_rect is private. Maybe I'm not correct, but the attached patch fixed (partially) the build on Linux Intel (x86_64) + LinuxMint 18.3 Please have a look at this : https://gist.github.com/ebachard/8728ea69b7887b834146b0400052e95a#file-fishgui2-diff Last but not least, what remains to be fixed :
I'll continue to investigate what still causes the breakage. To be continued :-) |
OK, fixed : was a missing #include in include/FishGUI/ModelView/ItemView.hpp => see the full attached patch |
Still the GLX: Failed to create context.
Investigating ... |
Got it working, finaly :-)
Wow, the layout is really nice, great work ! Last but not least, the whole changes are attached. Feel free to use what you consider important. |
thank you for your interest. |
Thanks for your changes, very helpfull. Still not fixed for me. If this can help, I started a new build (after a simple git clone + mkdir build && cd build && cmake .. && make ), but the build is still broken. Maybe this is my compiler ? Below the log, where I still have visibility issues (m_rect seen as private if I'm not wrong) :
|
What is your gcc version? It seems that it can not handle two phase name lookup correctly. m_rect is a protected member of Widget. |
I agree, it should work, but I dunno what happens. And indeed, this-> works as expected (I'm dumb, I should have thought to that before ...) With the last attached diff (as .txt), you can consider the issue as fixed. Thanks a lot for your help, and your great work ! To be continued :-) |
Hey,
Thanks a lot for your work, extremely interesting. FYI, I started a build on Linux, but I found a lot of issues. Since it is not that different of Mac OS X, I'll give it a try, and if ever, I'll propose some changes (at least for testing purpose).
The text was updated successfully, but these errors were encountered: