-
Notifications
You must be signed in to change notification settings - Fork 63
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
ircddbgateway fails to compile with --without-gui #110
Comments
Looking into this a bit more I don't see how this flag would have ever worked. Can anyone confirm this? |
Is wxWidgets installed? The program still requires wxwidgets-base to function because there are threading, string handling and other functions that it uses. |
@mcdermj Got it. Compiling now with just libwxbase3.0-dev wx3.0-headers installed and the --without-gui flag. Fingers crossed. Trying to get a raspberry pi + dvmega running as a hotspot and some of these tutorials are a challenge to get through if you don't want to run a gui / someone else's images. |
https://github.com/wxWidgets/wxWidgets/blob/master/include/wx/wx.h#L81 Looks like an issue since we have a dependency on wxTextCtrl:
Which causes this compile error:
|
Even with libwxgtk3.0-dev installed I still hit this with --without-gui:
without the --without-gui flag installation works fine. |
This is really a dupe of #108 it seems. I committed some code to my repo at: https://github.com/mcdermj/OpenDV/tree/nogui-build Try that out and see if it works for you. I'll do a pull request on it if it seems to be okay. If you're just looking for Raspberry Pi packages, I build them on my Jenkins CI server on every commit and they show up in our Compass Linux repository at http://archive.compasslinux.org. They should be fully usable if you want to just download the individual .debs and install them individually. |
Trying to build for system without X11 (and wxWidgets), console only Raspberry with Also tried link from @mcdermj and it fails as well. Why wxWidgets is needed for console only version?
|
wxWidgets is required even using --without-gui. The networking and threading libraries of wxWidgets are used in the code and are necessary. |
@mcdermj, thank you, just did apt-get libwxbase3.0-dev, which is non-GUI package, and used your branch to compile without GUI. Original OpenDV did not compile, your branch compiled fine without GUI (Raspberry, Debian Wheezy). |
@mcdermj I tested your nongui-build branch as a patch against the current master. It now compiles cleanly on my Debian stretch lite on a RPi3. Can we have that as a PR against the upstream repo pls? |
The text was updated successfully, but these errors were encountered: