kronihias / mcfx

multichannel cross plattform audio plug-in suite
GNU General Public License v3.0
80 stars 13 forks source link

debian build issue #4

Open davidpirro opened 5 years ago

davidpirro commented 5 years ago

Hi. I'm having a problem building for linux on a debian system. Configuring with cmake goes well, but when make is called I get mutiple times the following error when the JUCE modules are built mcfx-master/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h:113:77: error: cannot bind packed field ‘((juce::PixelARGB*)this)->juce::PixelARGB::<anonymous>.juce::PixelARGB::<unnamed union>::comps[3]’ to ‘juce::uint8&’ {aka ‘unsigned char&’} 113 | e uint8& getAlpha() noexcept { return comps [indexA]; }

and a warning

juce_RenderingHelpers.h:681:34: warning: converting a packed ‘juce::PixelRGB’ pointer (alignment 1) to a ‘int’ pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 681 | int* d = reinterpret_cast<int*> (dest);

Any ideas?

Thank you for your help!

kronihias commented 4 years ago

Hi, thanks for reporting! That's an issue with the old JUCE version I am using and GCC 9. I'll have to migrate to new JUCE, let's see how much effort this is... Best, Matthias

kronihias commented 4 years ago

should be working now with porting to latest JUCE 5.4.6 commit: 71e302b