It sounds like one's supposed to call mb_str() on wxStrings to get a char* per https://wiki.wxwidgets.org/Converting_everything_to_and_from_wxString#wxString_to_char.2A. 15.1 might be using a (newer?) version of wxWidgets that no longer allows the convention currently being used, hence why the issue hasn't appeared with any other distro yet. Hopefully that helps narrow things down a bit.
-Mooneer K6AQ On Tue, Jun 2, 2020 at 8:52 PM David Rowe <[email protected]> wrote: > freedv-gui/master builds OK for Travis and I just tried it here (Ubuntu > 18). > > If you work out how to fix it pls raise a PR. > > - David > > On 3/6/20 12:56 pm, Curt Mills wrote: > > FreeDV: Cloned the sources tonight and tried to compile it on > OpenSuSE-15.1: > > > > /home/archer/src/freedv/freedv-gui/src/fdmdv2_main.cpp: In member > > function ‘int MainFrame::VoiceKeyerStartTx()’: > > /home/archer/src/freedv/freedv-gui/src/fdmdv2_main.cpp:1685:81: error: > > cannot convert ‘wxString’ to ‘const char*’ for argument ‘1’ to > > ‘SNDFILE* sf_open(const char*, int, SF_INFO*)’ > > g_sfPlayFile = sf_open(wxGetApp().m_txtVoiceKeyerWaveFile, > > SFM_READ, &sfInfo); > > > > ^ > > make[2]: *** [src/CMakeFiles/freedv.dir/build.make:183: > > src/CMakeFiles/freedv.dir/fdmdv2_main.cpp.o] Error 1 > > > > Any fix for it? > > > > > _______________________________________________ > Freetel-codec2 mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freetel-codec2 >
_______________________________________________ Freetel-codec2 mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freetel-codec2
