Broken ProjectM didn't build and can't be installed in latest-needed version
#1
I just updated kodi to the latest nightly with the viz API increased to 4.0
Something seems to be broken in projectM (see build status).
Build log states following errors:
Code:
/<<PKGBUILDDIR>>/src/Main.cpp:61:14: error: ‘struct projectM::Settings’ has no member named ‘datadir’
   61 |   m_configPM.datadir = kodi::addon::GetAddonPath("resources/projectM");
      |              ^~~~~~~
/<<PKGBUILDDIR>>/src/Main.cpp: In member function ‘virtual void CVisualizationProjectM::AudioData(const float*, size_t)’:
/<<PKGBUILDDIR>>/src/Main.cpp:123:24: error: ‘class PCM’ has no member named ‘addPCMfloat_2ch’; did you mean ‘addPCMfloat’?
  123 |     m_projectM->pcm()->addPCMfloat_2ch(pAudioData, iAudioDataLength);
      |                        ^~~~~~~~~~~~~~~
      |                        addPCMfloat
make[3]: *** [CMakeFiles/visualization.projectm.dir/build.make:79: CMakeFiles/visualization.projectm.dir/src/Main.cpp.o] Error 1

All other visualisations were built just fine.
Kodi 21.0α | Ubuntu 22.04.3 | Kernel 6.4.x | intel i5-12600K | Gigabyte Z690 Gaming X DDR4 | Corsair 2x8192MB (DDR4-3200) | HDPlex H5v2 | HDPlex 400W HiFi DC-ATX | Pioneer VSX-934 | LG 65B7D
Reply

Logout Mark Read Team Forum Stats Members Help
ProjectM didn't build and can't be installed in latest-needed version0