Posts: 1,506
Joined: Nov 2013
intel + projectm = crash on modern kodi (GLEW and EGL do not like each other). i have some patches somewhere that should work on theory, but you will have to build libprojectm yourself. if you wanna help me test those...
Posts: 21
Joined: Jan 2017
Reputation:
0
whysyn
Junior Member
Posts: 21
I'll give it a shot. Where can I grab the patches?
Other than libprojectm-dev & libprojectm2v5 are there any other packages I'll need to remove and build manually?
Posts: 1,506
Joined: Nov 2013
2017-02-03, 11:01
(This post was last modified: 2017-02-03, 11:02 by ironic_monkey.)
grab glew_removal_attempts from my git (i'm notspiff). see commit message, patch for projectm sits in top of the add-on tree.
only those should be necessary, make sure it doesn't remove the dependencies (ftgl and such).
Posts: 21
Joined: Jan 2017
Reputation:
0
whysyn
Junior Member
Posts: 21
Found it, will give it a try in the A.M. Thank you!
Posts: 21
Joined: Jan 2017
Reputation:
0
whysyn
Junior Member
Posts: 21
Any thoughts or pointers on that error?
Posts: 1,506
Joined: Nov 2013
Hmm, did you build libprojectm as a static library? What does ldd addonbinary show?
Posts: 21
Joined: Jan 2017
Reputation:
0
whysyn
Junior Member
Posts: 21
I built from projectm's git tree... the Sourceforge tarball mentioned in your tree was from 2012 and I couldn't satisfy the dependencies on my brand new Ubuntu system.
The patch for projectm failed on src/libprojectM/CMakeLists.txt but patched the other three files without issue and then it compiled without any problems. I'm not sure if there is anything that I need to to to build it as a static library beyond "make && make install"
I don't know how to interpret or troubleshoot the "undefined symbol" error.
Posts: 1,506
Joined: Nov 2013
2017-02-14, 07:25
(This post was last modified: 2017-02-14, 08:40 by ironic_monkey.)
well, you could start by answering my questions. i didn't say you should build it as a static, i asked if you did. did you get libprojectm.so.xxx or libprojectm.a ? ldd will show which libraries the add-on was linked to, which can hold important clues. for instance, if you skipped the cmake part of the patch, you still possibly link glew.
Posts: 1,506
Joined: Nov 2013
2017-02-14, 08:38
(This post was last modified: 2017-02-14, 08:42 by ironic_monkey.)
right. i dug out the git, i assume you are referring to
http://github.com/projectM-visualizer/projectm
i pushed a patch for the git projectm into the add-on, update the branch. also they have indeed changed to a static library by default in git, and this is what is causing the linking issues. configure libprojectm with -DBUILD_PROJECTM_STATIC=0
make sure you remove the static library that was installed on your system, most likely /usr/local/lib/libprojectM.a !
using a static library is troublesome, you need several other patches to pull that off, ref depends/linux/projectm.
Posts: 1,506
Joined: Nov 2013
how about you read the thread you post in?