Menu

#9 PB not working on my Ubuntu Studio 16 System

open
nobody
None
5
2019-06-04
2016-09-05
No

Piano Booster stopped working properly when I upgraded to Ubuntu Studio 16 from v14. The Staff and Notes do not draw on the screen.

I re-installed from the Ubuntu Software Center but it didn't help.

I tried compiling the source but the make failed. The error was:

c++: error: unrecognized command line option ‘-mwindows’

I found this option in the link.txt file and removed it and then got the error:

[ 1%] Linking CXX executable pianobooster
/usr/bin/ld: CMakeFiles/pianobooster.dir/rtmidi/RtMidi.o: undefined reference to symbol 'pthread_create@@GLIBC_2.1'
//lib/i386-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
CMakeFiles/pianobooster.dir/build.make:1253: recipe for target 'pianobooster' failed
make[2]: *** [pianobooster] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/pianobooster.dir/all' failed
make[1]: *** [CMakeFiles/pianobooster.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Please Help!

Discussion

  • Scott E. Schaefer

    OK I got it working.

    In the build/CMakeFiles/pianobooster.dir/link.txt file I exchanged -mwindows for -m32 (for a 32 bit build -- I have an old computer -- hence the use of Ubuntu).

    I also had to add "-lpthread -lGL" to then end of the link command to get the other linking errors fixed. These libraries were missing.

    I installed and it is working. Now for happy piano playing.

    Scott *8-)

     
  • AlexL

    AlexL - 2019-06-04
     

Log in to post a comment.

MongoDB Logo MongoDB