ccrma / miniAudicle

miniAudicle: integrated development + performance environment for the ChucK programming language
https://chuck.stanford.edu/
GNU General Public License v2.0
65 stars 9 forks source link

Compilation error in Ubuntu 18.10 (cannot find -lqscintilla2) #41

Open kibernaut opened 5 years ago

kibernaut commented 5 years ago

Hello make returns an error, it can't find a qscintilla2 lib:

/usr/bin/ld: cannot find -lqscintilla2 collect2: error: ld returned 1 exit status make[1]: *** [makefile.qt-pulse:272: miniAudicle] Error 1 make[1]: Leaving directory '.../miniAudicle/src' make: [makefile:44: linux-pulse] Error 2 (ignored)

I'v noticed when I'm installed libs from list in README.linux, apt installs a "libqscintilla2-qt4-dev" package instead of "libqscintilla2-dev".

How to fix this inconsistency?

P. S. Sorry for my awful english.

pierstu commented 5 years ago

Compiled flawlessly 2 weeks ago and working good on a Debian 9 i386, but it seems not to work on anything more recent nor x64-based. I confirm having failed right now on a Lubuntu 18.10 x64 for the very same reasons than OP. Could we have a workaround please?

l4nc3l0t commented 5 years ago

Hi, I found this https://aur.archlinux.org/packages/mini-audicle/ In the miniAudicle.pro file (for me in miniAudicle-1.3.5.2/src/ folder) you need to change the line : LIBS += -lqscintilla2 by LIBS += -lqscintilla2_qt4 it's working for me on Debian 10 x64-based

wetdog commented 5 years ago

Hi, I just compiled miniaudicle in Ubuntu 18.10. You can also try to make a link between files, that worked for me.

sudo ln -s /usr/lib/libqscintilla2_qt4.so /usr/lib/libqscintilla2.so

pierstu commented 5 years ago

Thanks @l4nc3l0t , worked fine for me!