2022-10-04, 09:44
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:
All other visualisations were built just fine.
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.