degeron / qmmp

Automatically exported from code.google.com/p/qmmp
0 stars 0 forks source link

Qmmp crashes when using projectm 2.0 #216

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run qmmp
2. Enable projectm visualizations after or before playing a song
3. Qmmp crashes if libprojectm version is 2.0

I noticed this, because Arch linux has just updated its projectm package, so 
I recompiled qmmp, and this is what happened.

Thanks in advance

Original issue reported on code.google.com by swiftscy...@gmail.com on 20 Dec 2009 at 7:45

GoogleCodeExporter commented 9 years ago
Does it happen with other programs? For example, check
projectM-pulseaudio-2.0.1-Source.tar.gz

Original comment by trialuser02 on 21 Dec 2009 at 12:55

GoogleCodeExporter commented 9 years ago
I don't know if that is useful, or what you meant.
I've switched from alsa - oss - pulse, and qmmp keeps crashing...
This is what it says:

qmmp: symbol lookup error: /usr/lib/qmmp/Visual/libprojectm.so: undefined 
symbol: 
_ZN8projectMC1ESsi

Original comment by swiftscy...@gmail.com on 21 Dec 2009 at 2:35

GoogleCodeExporter commented 9 years ago
I downloaded projectM-complete from the homepage, compiled it, then recompiled 
qmmp, 
and still the same problem :(

Original comment by swiftscy...@gmail.com on 21 Dec 2009 at 2:51

GoogleCodeExporter commented 9 years ago
OK, check content of file /usr/lib/pkgconfig/libprojectM.pc (or 
/usr/local/lib/...).
Parameter "libdir" should be /usr/lib or /usr/local/lib (according prefix). 
Then you
should recompile qmmp.

Original comment by trialuser02 on 22 Dec 2009 at 9:36

GoogleCodeExporter commented 9 years ago
I did so, and this is what happened:
Qmmp found the libprojectm module and built it:
Scanning dependencies of target projectm                                        

[ 91%] Building CXX object 
src/plugins/Visual/projectm/CMakeFiles/projectm.dir/projectmwidget.o 
...
Linking CXX shared module libprojectm.so   
But now it doesn't appear in qmmp's visualization plugins...
:S

Thanks :)

Original comment by swiftscy...@gmail.com on 22 Dec 2009 at 9:55

GoogleCodeExporter commented 9 years ago
Check output to console. It should show error string.

Original comment by trialuser02 on 22 Dec 2009 at 10:04

GoogleCodeExporter commented 9 years ago
Here it is:
Visual: Cannot load library /usr/lib/qmmp/Visual/libprojectm.so: 
(/usr/lib/libprojectM.so.2: undefined symbol: __glewDeleteFramebuffersEXT)

Original comment by swiftscy...@gmail.com on 22 Dec 2009 at 10:18

GoogleCodeExporter commented 9 years ago
Show output of "locate libprojectM.so"

Original comment by trialuser02 on 22 Dec 2009 at 10:39

GoogleCodeExporter commented 9 years ago
I've managed to solve it by installing projectm-complete and doing what you 
said to 
libprojectM.pc and libprojectM-qt.pc

Thanks :)

Original comment by swiftscy...@gmail.com on 22 Dec 2009 at 10:44

GoogleCodeExporter commented 9 years ago
$ locate libprojectM.so
/usr/lib/libprojectM.so
/usr/lib/libprojectM.so.2
/usr/lib/libprojectM.so.2.00

Original comment by swiftscy...@gmail.com on 22 Dec 2009 at 10:45

GoogleCodeExporter commented 9 years ago
а у меня метод с установкой projectM-complete2.0 и 
настройкой libprojectM.pc and 
libprojectM-qt.pc, а также перекомпиляцией QMMP НЕ 
прокатил. Не хочет projectM 
работать и все тут, система Арч х32, пишет 
ошибку libprojectM.so.2: undefined symbol: 
__glewDeleteFramebuffersEXT

Original comment by catal...@xaker.ru on 7 Jan 2010 at 5:10

GoogleCodeExporter commented 9 years ago
Eщё способ.

Alternative solution:

1. Download projectM-2.0.1-Source.tar.gz and extract it.
2. Apply this patch
http://svn.mandriva.com/svn/packages/cooker/libprojectm/current/SOURCES/libproje
ctM-2.0.0-fix-linking.patch
3. Run cmake ./ -DCMAKE_INSTALL_PREFIX=/usr -DLIB_INSTALL_DIR=/usr/lib; make; 
make
install
4. Rebuild qmmp. (With make distclean)

Original comment by trialuser02 on 13 Mar 2010 at 9:26

GoogleCodeExporter commented 9 years ago

Original comment by trialuser02 on 29 Sep 2010 at 11:25

GoogleCodeExporter commented 9 years ago
This issue is still present at 0.8.2 release. But for me it´s on Windows7.

Original comment by smarque...@gmail.com on 14 Oct 2014 at 1:03