From: jimmy <wg...@ya...> - 2012-04-21 00:16:06
|
Oops, the patch is now attached. --- On Fri, 4/20/12, jimmy <wg...@ya...> wrote: > From: jimmy <wg...@ya...> > Subject: [yoshimi-user] Latest patch for wrong-pitched notes > To: yos...@li..., "Jeremy Jongepier" <je...@au...> > Date: Friday, April 20, 2012, 3:51 PM > > > OK, attached is my patch for the latest Yoshimi git trunk > (0.062). I'll have a short recap here for posterity > sake, may help with web searches later. > > > ----- > > The patch for wrong-pitch is in src/Misc/Config.cpp at two > places. > > #include <fenv.h> > > and > > // We need lrintf() to round toward zero. > Special thanks go to > // Lars Luthman for this one!! > fesetround(FE_TOWARDZERO); > > > > ----- > > > The patch for src/Misc/Config.cpp has a minor commandline > option typo regarding jack-session-uuid . > > > ----- > > About the two UI.fl files being patched, currently Debian > Sid still only have > > libfltk1.3 > libfltk1.3-dev > > at version 1.3.0-6 , which is fairly dated. FLTK still > beeps loudly when an FLTK modal dialog pops up (really > annoying when exiting Yoshimi, exit confirmation > dialog). I wish they would have a more recent FLTK > version in Debian Sid already. > > So without the "code{;}" patches in > > src/UI/OscilGenUI.fl > src/UI/PresetsUI.fl > > the compilation seems fine, but on linking, the errors are: > > > [ 78%] Building CXX object > CMakeFiles/yoshimi.dir/MusicIO/JackClient.cpp.o > [ 79%] Building CXX object > CMakeFiles/yoshimi.dir/MusicIO/AlsaClient.cpp.o > > > [ 80%] Building CXX object > CMakeFiles/yoshimi.dir/MusicIO/JackAlsaClient.cpp.o > > [ 81%] Building CXX object > CMakeFiles/yoshimi.dir/MusicIO/AlsaJackClient.cpp.o > > [ 82%] Building CXX object > CMakeFiles/yoshimi.dir/MusicIO/WavRecord.cpp.o > > [ 83%] Building CXX object > CMakeFiles/yoshimi.dir/Sql/ProgramBanks.cpp.o > > > [ 83%] Building CXX object > CMakeFiles/yoshimi.dir/main.cpp.o > > > Linking CXX executable yoshimi > > > > > CMakeFiles/yoshimi.dir/EnvelopeUI.cxx.o: In function > `EnvelopeUI::~EnvelopeUI()': > > EnvelopeUI.cxx:(.text+0xb38): undefined reference to > `PresetsUI_::~PresetsUI_()' > EnvelopeUI.cxx:(.text+0xb54): undefined reference to > `PresetsUI_::~PresetsUI_()' > CMakeFiles/yoshimi.dir/EnvelopeUI.cxx.o:(.rodata._ZTI10EnvelopeUI[typeinfo > for EnvelopeUI]+0x18): undefined reference to `typeinfo for > PresetsUI_' > CMakeFiles/yoshimi.dir/LFOUI.cxx.o: In function > `LFOUI::~LFOUI()': > LFOUI.cxx:(.text+0x393): undefined reference to > `PresetsUI_::~PresetsUI_()' > LFOUI.cxx:(.text+0x3af): undefined reference to > `PresetsUI_::~PresetsUI_()' > CMakeFiles/yoshimi.dir/LFOUI.cxx.o: In function > `LFOUI::~LFOUI()': > LFOUI.cxx:(.text+0x461): undefined reference to > `PresetsUI_::~PresetsUI_()' > LFOUI.cxx:(.text+0x485): undefined reference to > `PresetsUI_::~PresetsUI_()' > CMakeFiles/yoshimi.dir/LFOUI.cxx.o:(.rodata._ZTI5LFOUI[typeinfo > for LFOUI]+0x18): undefined reference to `typeinfo for > PresetsUI_' > CMakeFiles/yoshimi.dir/FilterUI.cxx.o: In function > `FilterUI::~FilterUI()': > FilterUI.cxx:(.text+0x2eb): undefined reference to > `PresetsUI_::~PresetsUI_()' > FilterUI.cxx:(.text+0x307): undefined reference to > `PresetsUI_::~PresetsUI_()' > CMakeFiles/yoshimi.dir/FilterUI.cxx.o:(.rodata._ZTI8FilterUI[typeinfo > for FilterUI]+0x18): undefined reference to `typeinfo for > PresetsUI_' > CMakeFiles/yoshimi.dir/SUBnoteUI.cxx.o: In function > `SUBnoteUI::~SUBnoteUI()': > SUBnoteUI.cxx:(.text+0x1e9): undefined reference to > `PresetsUI_::~PresetsUI_()' > CMakeFiles/yoshimi.dir/SUBnoteUI.cxx.o: In function > `SUBnoteUI::~SUBnoteUI()': > SUBnoteUI.cxx:(.text+0x64c): undefined reference to > `PresetsUI_::~PresetsUI_()' > SUBnoteUI.cxx:(.text+0x665): undefined reference to > `PresetsUI_::~PresetsUI_()' > CMakeFiles/yoshimi.dir/SUBnoteUI.cxx.o: In function > `SUBnoteUI::SUBnoteUI(SUBnoteParameters*)': > SUBnoteUI.cxx:(.text+0x2da2): undefined reference to > `PresetsUI_::~PresetsUI_()' > CMakeFiles/yoshimi.dir/SUBnoteUI.cxx.o: In function > `SUBnoteUI::~SUBnoteUI()': > SUBnoteUI.cxx:(.text+0x1dd): undefined reference to > `PresetsUI_::~PresetsUI_()' > CMakeFiles/yoshimi.dir/SUBnoteUI.cxx.o:(.rodata._ZTI9SUBnoteUI[typeinfo > for SUBnoteUI]+0x10): undefined reference to `typeinfo for > PresetsUI_' > CMakeFiles/yoshimi.dir/ResonanceUI.cxx.o: In function > `ResonanceUI::~ResonanceUI()': > ResonanceUI.cxx:(.text+0x46): undefined reference to > `PresetsUI_::~PresetsUI_()' > CMakeFiles/yoshimi.dir/ResonanceUI.cxx.o: In function > `ResonanceUI::~ResonanceUI()': > ResonanceUI.cxx:(.text+0x4cf): undefined reference to > `PresetsUI_::~PresetsUI_()' > ResonanceUI.cxx:(.text+0x4e8): undefined reference to > `PresetsUI_::~PresetsUI_()' > CMakeFiles/yoshimi.dir/ResonanceUI.cxx.o: In function > `ResonanceUI::ResonanceUI(Resonance*)': > ResonanceUI.cxx:(.text+0x25eb): undefined reference to > `PresetsUI_::~PresetsUI_()' > CMakeFiles/yoshimi.dir/ResonanceUI.cxx.o: In function > `ResonanceUI::~ResonanceUI()': > ResonanceUI.cxx:(.text+0x3a): undefined reference to > `PresetsUI_::~PresetsUI_()' > CMakeFiles/yoshimi.dir/ResonanceUI.cxx.o:(.rodata._ZTI11ResonanceUI[typeinfo > for ResonanceUI]+0x10): undefined reference to `typeinfo for > PresetsUI_' > CMakeFiles/yoshimi.dir/OscilGenUI.cxx.o: In function > `OscilEditor::~OscilEditor()': > OscilGenUI.cxx:(.text+0xb1): undefined reference to > `PresetsUI_::~PresetsUI_()' > CMakeFiles/yoshimi.dir/OscilGenUI.cxx.o: In function > `OscilEditor::~OscilEditor()': > OscilGenUI.cxx:(.text+0x12ec): undefined reference to > `PresetsUI_::~PresetsUI_()' > OscilGenUI.cxx:(.text+0x1305): undefined reference to > `PresetsUI_::~PresetsUI_()' > CMakeFiles/yoshimi.dir/OscilGenUI.cxx.o: In function > `Oscilharmonic::make_window()': > OscilGenUI.cxx:(.text+0x2ad5): undefined reference to > `PSlider::PSlider(int, int, int, int, char const*)' > OscilGenUI.cxx:(.text+0x2bda): undefined reference to > `PSlider::PSlider(int, int, int, int, char const*)' > CMakeFiles/yoshimi.dir/OscilGenUI.cxx.o: In function > `OscilEditor::OscilEditor(OscilGen*, Fl_Widget*, Fl_Widget*, > Fl_Widget*)': > OscilGenUI.cxx:(.text+0x6674): undefined reference to > `PresetsUI_::~PresetsUI_()' > CMakeFiles/yoshimi.dir/OscilGenUI.cxx.o: In function > `OscilEditor::~OscilEditor()': > OscilGenUI.cxx:(.text+0xa5): undefined reference to > `PresetsUI_::~PresetsUI_()' > CMakeFiles/yoshimi.dir/OscilGenUI.cxx.o:(.rodata._ZTI11OscilEditor[typeinfo > for OscilEditor]+0x8): undefined reference to `typeinfo for > PresetsUI_' > CMakeFiles/yoshimi.dir/ADnoteUI.cxx.o: In function > `ADnoteUI::~ADnoteUI()': > ADnoteUI.cxx:(.text+0xabc): undefined reference to > `PresetsUI_::~PresetsUI_()' > CMakeFiles/yoshimi.dir/ADnoteUI.cxx.o: In function > `ADnoteUI::ADnoteUI(ADnoteParameters*)': > ADnoteUI.cxx:(.text+0xb3da): undefined reference to > `PresetsUI_::~PresetsUI_()' > CMakeFiles/yoshimi.dir/ADnoteUI.cxx.o: In function > `ADnoteUI::~ADnoteUI()': > ADnoteUI.cxx:(.text+0xab0): undefined reference to > `PresetsUI_::~PresetsUI_()' > CMakeFiles/yoshimi.dir/ADnoteUI.cxx.o:(.rodata._ZTI8ADnoteUI[typeinfo > for ADnoteUI]+0x10): undefined reference to `typeinfo for > PresetsUI_' > CMakeFiles/yoshimi.dir/PADnoteUI.cxx.o: In function > `PADnoteUI::~PADnoteUI()': > PADnoteUI.cxx:(.text+0x1fd): undefined reference to > `PresetsUI_::~PresetsUI_()' > CMakeFiles/yoshimi.dir/PADnoteUI.cxx.o: In function > `PADnoteUI::PADnoteUI(PADnoteParameters*)': > PADnoteUI.cxx:(.text+0x60d0): undefined reference to > `PresetsUI_::~PresetsUI_()' > CMakeFiles/yoshimi.dir/PADnoteUI.cxx.o: In function > `PADnoteUI::~PADnoteUI()': > PADnoteUI.cxx:(.text+0x1f1): undefined reference to > `PresetsUI_::~PresetsUI_()' > CMakeFiles/yoshimi.dir/PADnoteUI.cxx.o:(.rodata._ZTI9PADnoteUI[typeinfo > for PADnoteUI]+0x10): undefined reference to `typeinfo for > PresetsUI_' > CMakeFiles/yoshimi.dir/EffUI.cxx.o: In function > `EffUI::~EffUI()': > EffUI.cxx:(.text+0xf6): undefined reference to > `PresetsUI_::~PresetsUI_()' > EffUI.cxx:(.text+0x112): undefined reference to > `PresetsUI_::~PresetsUI_()' > CMakeFiles/yoshimi.dir/EffUI.cxx.o:(.rodata._ZTI5EffUI[typeinfo > for EffUI]+0x18): undefined reference to `typeinfo for > PresetsUI_' > collect2: ld returned 1 exit status > make[2]: *** [yoshimi] Error 1 > make[1]: *** [CMakeFiles/yoshimi.dir/all] Error 2 > make: *** [all] Error 2 > > > > ---- > > > Jimmy > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it > FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > yoshimi-user mailing list > yos...@li... > https://lists.sourceforge.net/lists/listinfo/yoshimi-user > |