cmake . -DCMAKE_BUILD_TYPE=Release -DPACKAGE_ZIP=1 -DPROJECT_INCLUDE_DIRS=/usr/local/include/libprojectM -DPROJECTM_LIBRARIES=/usr/local/lib/libprojectM.a
The zip file was successfully installed in Kodi 17.0b4 but does not work. Kodi wants to find projectM.vis but is unable to find it.
Here is a directory listing for the plugin. The "resources" directory is fully populated with the presets, etc. The key here is that there is no projectM.vis in this tree to be found, which Kodi seems to want when I install this addon.
-rw-r--r-- 1 root root 34282 Oct 25 16:51 addon.xml
-rw-r--r-- 1 root root 11675 Oct 25 16:51 icon.png
drwxr-xr-x 4 root root 4096 Oct 25 20:14 resources
lrwxrwxrwx 1 root root 30 Oct 25 20:14 visualization.projectm.so -> visualization.projectm.so.17.0
-rwxr-xr-x 1 root root 748384 Oct 25 19:08 visualization.projectm.so.1.0.17
lrwxrwxrwx 1 root root 32 Oct 25 20:14 visualization.projectm.so.17.0 -> visualization.projectm.so.1.0.17
Kodi 17.0b4 and Kodi Platform have both been built with a prefix of /usr/local.
I'm sure I'm doing something fundamentally wrong here. Can someone help me out? I worked on this for about eight hours yesterday, so as you can tell, I'm not a natural. I finally found that I was doing the process totally wrong. I think I'm on the right track, but I'm still not there yet.
Thanks very much!