dl5di / OpenDV

Open Digital Voice software for Amateur Radio based on Jonathan Naylor's (G4KLX) "ircDDBGateway" and "PCRepeaterController" for D-Star
GNU General Public License v2.0
106 stars 63 forks source link

Enable compiling without GUI #65

Closed mcdermj closed 8 years ago

mcdermj commented 8 years ago

wxWidgets has the capability to compile with only the "base" library. To do so, you must set the wxUSE_GUI=0 preprocessor directive when compiling. This will disable a few things such as dragging in the some of the include files. So, in order to get wxDateTime, you have to manually include it. It no longer comes in by just including wx/wx.h. Additionally there were a few files in DStarRepeater that bring in DStarRepeaterApp.h that really don't need it.