-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
I was trying to compile project and had this:
lint@flintworkplace ~/RenderMan-master/Builds/LinuxMakefile % cd Builds/LinuxMakefile/
make
cd:cd:6: Haven't got such file in catalog: Builds/LinuxMakefile/
Compiling PatchGenerator.cpp
In file included from ../../JuceLibraryCode/modules/juce_graphics/juce_graphics.h:111,
from ../../JuceLibraryCode/modules/juce_audio_devices/juce_audio_devices.h:58,
from ../../Source/../JuceLibraryCode/JuceHeader.h:18,
from ../../Source/RenderEngine.h:22,
from ../../Source/PatchGenerator.h:14,
from ../../Source/PatchGenerator.cpp:11:
../../JuceLibraryCode/modules/juce_graphics/colour/juce_PixelFormats.h: In function-member «juce::uint8& juce::PixelARGB::getAlpha()»:
../../JuceLibraryCode/modules/juce_graphics/colour/juce_PixelFormats.h:114:77: error: invalid connection packing field «((juce::PixelARGB*)this)->juce::PixelARGB::<anonymous>.juce::PixelARGB::<unnamed union>::comps[3]» с «juce::uint8&» {aka «unsigned char&»}
114 | forcedinline uint8& getAlpha() noexcept { return comps [indexA]; }
| ~~~~~~~~~~~~~^
../../JuceLibraryCode/modules/juce_graphics/colour/juce_PixelFormats.h:In function-member «juce::uint8& juce::PixelARGB::getRed()»:
../../JuceLibraryCode/modules/juce_graphics/colour/juce_PixelFormats.h:115:77: error: invalid connection packing field «((juce::PixelARGB*)this)->juce::PixelARGB::<anonymous>.juce::PixelARGB::<unnamed union>::comps[2]» с «juce::uint8&» {aka «unsigned char&»}
115 | forcedinline uint8& getRed() noexcept { return comps [indexR]; }
| ~~~~~~~~~~~~~^
../../JuceLibraryCode/modules/juce_graphics/colour/juce_PixelFormats.h: In function-member «juce::uint8& juce::PixelARGB::getGreen()»:
../../JuceLibraryCode/modules/juce_graphics/colour/juce_PixelFormats.h:116:77: error: invalid connection packing field «((juce::PixelARGB*)this)->juce::PixelARGB::<anonymous>.juce::PixelARGB::<unnamed union>::comps[1]» с «juce::uint8&» {aka «unsigned char&»}
116 | forcedinline uint8& getGreen() noexcept { return comps [indexG]; }
| ~~~~~~~~~~~~~^
../../JuceLibraryCode/modules/juce_graphics/colour/juce_PixelFormats.h: In function-member «juce::uint8& juce::PixelARGB::getBlue()»:
../../JuceLibraryCode/modules/juce_graphics/colour/juce_PixelFormats.h:117:77: error: invalid connection packing field «((juce::PixelARGB*)this)->juce::PixelARGB::<anonymous>.juce::PixelARGB::<unnamed union>::comps[0]» с «juce::uint8&» {aka «unsigned char&»}
117 | forcedinline uint8& getBlue() noexcept { return comps [indexB]; }
| ~~~~~~~~~~~~~^
In file included from ../../JuceLibraryCode/modules/juce_graphics/juce_graphics.h:133,
from ../../JuceLibraryCode/modules/juce_audio_devices/juce_audio_devices.h:58,
from ../../Source/../JuceLibraryCode/JuceHeader.h:18,
from ../../Source/RenderEngine.h:22,
from ../../Source/PatchGenerator.h:14,
from ../../Source/PatchGenerator.cpp:11:
../../JuceLibraryCode/modules/juce_graphics/native/juce_RenderingHelpers.h: В конкретизации «void juce::RenderingHelpers::EdgeTableFillers::SolidColour<PixelType, replaceExisting>::replaceLine(juce::PixelRGB*, juce::PixelARGB, int) const [with PixelType = juce::PixelRGB; bool replaceExisting = true]»:
../../JuceLibraryCode/modules/juce_graphics/native/juce_RenderingHelpers.h:638:17: требуемый из «void juce::RenderingHelpers::EdgeTableFillers::SolidColour<PixelType, replaceExisting>::handleEdgeTableLineFull(int, int) const [with PixelType = juce::PixelRGB; bool replaceExisting = true]»
../../JuceLibraryCode/modules/juce_graphics/native/juce_RenderingHelpers.h:1891:29: требуемый из «void juce::RenderingHelpers::ClipRegions<SavedStateType>::RectangleListRegion::SubRectangleIterator::iterate(Renderer&) const [with Renderer = juce::RenderingHelpers::EdgeTableFillers::SolidColour<juce::PixelRGB, true>; SavedStateType = juce::RenderingHelpers::SoftwareRendererSavedState]»
../../JuceLibraryCode/modules/juce_graphics/native/juce_RenderingHelpers.h:1515:13: требуемый из «void juce::RenderingHelpers::EdgeTableFillers::renderSolidFill(Iterator&, const juce::Image::BitmapData&, juce::PixelARGB, bool, DestPixelType*) [with Iterator = juce::RenderingHelpers::ClipRegions<juce::RenderingHelpers::SoftwareRendererSavedState>::RectangleListRegion::SubRectangleIterator; DestPixelType = juce::PixelRGB]»
../../JuceLibraryCode/modules/juce_graphics/native/juce_RenderingHelpers.h:2556:67: требуемый из «void juce::RenderingHelpers::SoftwareRendererSavedState::fillWithSolidColour(IteratorType&, juce::PixelARGB, bool) const [with IteratorType = juce::RenderingHelpers::ClipRegions<juce::RenderingHelpers::SoftwareRendererSavedState>::RectangleListRegion::SubRectangleIterator]»
../../JuceLibraryCode/modules/juce_graphics/native/juce_RenderingHelpers.h:1816:13: требуемый из «void juce::RenderingHelpers::ClipRegions<SavedStateType>::RectangleListRegion::fillRectWithColour(SavedStateType&, const juce::Rectangle<int>&, juce::PixelARGB, bool) const [with SavedStateType = juce::RenderingHelpers::SoftwareRendererSavedState]»
../../JuceLibraryCode/modules/juce_graphics/native/juce_RenderingHelpers.h:1813:14: required from here
../../JuceLibraryCode/modules/juce_graphics/native/juce_RenderingHelpers.h:683:34: предупреждение: 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]
683 | int* d = reinterpret_cast<int*> (dest);
| ^
In file included from ../../JuceLibraryCode/modules/juce_graphics/juce_graphics.h:111,
from ../../JuceLibraryCode/modules/juce_audio_devices/juce_audio_devices.h:58,
from ../../Source/../JuceLibraryCode/JuceHeader.h:18,
from ../../Source/RenderEngine.h:22,
from ../../Source/PatchGenerator.h:14,
from ../../Source/PatchGenerator.cpp:11:
../../JuceLibraryCode/modules/juce_graphics/colour/juce_PixelFormats.h:362:17: замечание: defined here
362 | class JUCE_API PixelRGB
| ^~~~~~~~
In file included from ../../JuceLibraryCode/modules/juce_graphics/juce_graphics.h:133,
from ../../JuceLibraryCode/modules/juce_audio_devices/juce_audio_devices.h:58,
from ../../Source/../JuceLibraryCode/JuceHeader.h:18,
from ../../Source/RenderEngine.h:22,
from ../../Source/PatchGenerator.h:14,
from ../../Source/PatchGenerator.cpp:11:
../../JuceLibraryCode/modules/juce_graphics/native/juce_RenderingHelpers.h: В конкретизации «void juce::RenderingHelpers::EdgeTableFillers::SolidColour<PixelType, replaceExisting>::replaceLine(juce::PixelRGB*, juce::PixelARGB, int) const [with PixelType = juce::PixelRGB; bool replaceExisting = false]»:
../../JuceLibraryCode/modules/juce_graphics/native/juce_RenderingHelpers.h:638:17: требуемый из «void juce::RenderingHelpers::EdgeTableFillers::SolidColour<PixelType, replaceExisting>::handleEdgeTableLineFull(int, int) const [with PixelType = juce::PixelRGB; bool replaceExisting = false]»
../../JuceLibraryCode/modules/juce_graphics/native/juce_RenderingHelpers.h:1891:29: требуемый из «void juce::RenderingHelpers::ClipRegions<SavedStateType>::RectangleListRegion::SubRectangleIterator::iterate(Renderer&) const [with Renderer = juce::RenderingHelpers::EdgeTableFillers::SolidColour<juce::PixelRGB, false>; SavedStateType = juce::RenderingHelpers::SoftwareRendererSavedState]»
../../JuceLibraryCode/modules/juce_graphics/native/juce_RenderingHelpers.h:1520:13: требуемый из «void juce::RenderingHelpers::EdgeTableFillers::renderSolidFill(Iterator&, const juce::Image::BitmapData&, juce::PixelARGB, bool, DestPixelType*) [with Iterator = juce::RenderingHelpers::ClipRegions<juce::RenderingHelpers::SoftwareRendererSavedState>::RectangleListRegion::SubRectangleIterator; DestPixelType = juce::PixelRGB]»
../../JuceLibraryCode/modules/juce_graphics/native/juce_RenderingHelpers.h:2556:67: требуемый из «void juce::RenderingHelpers::SoftwareRendererSavedState::fillWithSolidColour(IteratorType&, juce::PixelARGB, bool) const [with IteratorType = juce::RenderingHelpers::ClipRegions<juce::RenderingHelpers::SoftwareRendererSavedState>::RectangleListRegion::SubRectangleIterator]»
../../JuceLibraryCode/modules/juce_graphics/native/juce_RenderingHelpers.h:1816:13: требуемый из «void juce::RenderingHelpers::ClipRegions<SavedStateType>::RectangleListRegion::fillRectWithColour(SavedStateType&, const juce::Rectangle<int>&, juce::PixelARGB, bool) const [with SavedStateType = juce::RenderingHelpers::SoftwareRendererSavedState]»
../../JuceLibraryCode/modules/juce_graphics/native/juce_RenderingHelpers.h:1813:14: required from here
../../JuceLibraryCode/modules/juce_graphics/native/juce_RenderingHelpers.h:683:34: предупреждение: 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]
683 | int* d = reinterpret_cast<int*> (dest);
| ^
In file included from ../../JuceLibraryCode/modules/juce_graphics/juce_graphics.h:111,
from ../../JuceLibraryCode/modules/juce_audio_devices/juce_audio_devices.h:58,
from ../../Source/../JuceLibraryCode/JuceHeader.h:18,
from ../../Source/RenderEngine.h:22,
from ../../Source/PatchGenerator.h:14,
from ../../Source/PatchGenerator.cpp:11:
../../JuceLibraryCode/modules/juce_graphics/colour/juce_PixelFormats.h:362:17: замечание: defined here
362 | class JUCE_API PixelRGB
| ^~~~~~~~
make: *** [Makefile:128: build/intermediate/Debug/PatchGenerator_b3f3c974.o]
Error 1
I translated some of the errors, so it could be not exactly the same
dixler
Metadata
Metadata
Assignees
Labels
No labels