[yoshimi] Compile errors on RPi2.

  • From: Jeppe Rasmussen <jepperas@xxxxxxxxxxx>
  • To: "yoshimi@xxxxxxxxxxxxx" <yoshimi@xxxxxxxxxxxxx>
  • Date: Mon, 7 Mar 2016 16:06:14 +0000

Hi all.I am a relatively new Yoshimi user. I jumped on board at 1.3.8-2, and 
I'm currently running 1.3.9. What a great piece of software!! It's really cool 
to see all the activity going on.I've switched back and forth between Yoshimi 
and ZynAddSubFx a couple of times in the last month, but I've settled on 
Yoshimi because of it's nice implementation of CC#2, which I use with my 
home-grown biphonic MIDI wind controller, the "OHMs" (Open Horn MIDI system). 
Sure, I can translate the MIDI externally easily enough. In fact, my very first 
synth was a home-made concoction in PureData, which also works fine as a bare 
bones MIDI translator, outputting CCs through Jack. But Yoshimi understands my 
horn straight out of the box, so now I can close down Pure Data, simplify 
startup and free up resources by running nothing but Yoshimi.I'm on a Raspberry 
Pi 2, with Raspbian Jessie. To be more specific, here's my "uname -a" output 
with kernel and such: Linux raspberrypi 4.1.13-v7+ #826 SMP PREEMPT Fri Nov 13 
20:19:03 GMT 2015 armv7l GNU/LinuxMy /proc/version file says "gcc version 4.8.3 
20140303"but the output of "gcc -v" looks like this: "gcc version 4.6.3 (Debian 
4.6.3-14+rpi1)"
Anyway - I'm having some problems with "ccmake ." which I'm sort of able fix to 
complete the install, but now I have problems with the UI.My install process is 
as follows:1. cd into the /src folder and run "ccmake ." Inside ccmake, hit "c" 
to configure and "g" to generate and quit. This appears to go smoothly. No 
error messages.2. Run" cmake ." Also appears to work fine. Finds Jack and Alsa 
and all that and generates and writes build files. No error messages.3. Run 
"make" This runs up until the "12%"-mark, after "Generating ParametersUI.cpp". 
Then it breaks and gives me the following error message: cc1plus: error: 
unrecognized command line option ‘-msse’cc1plus: error: unrecognized command 
line option ‘-msse2’cc1plus: error: unrecognized command line option 
‘-mfpmath=sse’CMakeFiles/yoshimi.dir/build.make:157: recipe for target 
'CMakeFiles/yoshimi.dir/Misc/Config.cpp.o' failedmake[2]: *** 
[CMakeFiles/yoshimi.dir/Misc/Config.cpp.o] Error 1CMakeFiles/Makefile2:125: 
recipe for target 'CMakeFiles/yoshimi.dir/all' failedmake[1]: *** 
[CMakeFiles/yoshimi.dir/all] Error 2Makefile:116: recipe for target 'all' 
failedmake: *** [all] Error 2
While I did try to find out about these missing command line options, I wasn't 
really able to make much headway, until a hacky fix ocurred to me. I simply 
erased "-msse -msse2 -mfpmath=sse" from the configuration list inside ccmake.. 
I'm not at all sure what these do, but they're under "BuildOptionsBasic:" so I 
honestly didn't think it would work. Well it DID :D . . . . . Kind off :/The 
whole install process now completes without errors, and Yoshimi is fully 
functional - except with a really buggy UI. Blue lines shoot out from the dials 
as I turn them, and sometimes "eat up" the whole window or part of it, covering 
it in gray. If you manage to find a dial under all the grayness and move it, it 
then reappears, leaving the rest of the window still covered. This occurs in 
all windows that have dials (so basically everything except the instrument bank 
windows and file dialogs) When I'm playing it honestly doesn't affect me at 
all, but setting up instruments really takes a healthy dose of patience as I 
close and reopen windows, and blindly stab around gray windows looking for 
dials.
As I mentioned, I've installed both 1.3.8-2, and now 1.3.9 and they both show 
exactly the same problem on my system.Also, I use the RPi 2 both with the 
official 7' touch screen, and from my mac via ssh -X, with the same result as 
far as Yoshimis interface.
So, is anyone else running the latest yoshimi on an Rpi2?  Care to share your 
working setup?Any suggestions are welcome.
Thanks!!Jeppe

                                          

Other related posts: