Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing on arch linux #15

Open
bluesteelll opened this issue Nov 8, 2019 · 2 comments
Open

Installing on arch linux #15

bluesteelll opened this issue Nov 8, 2019 · 2 comments

Comments

@bluesteelll
Copy link

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

@fedden
Copy link
Owner

fedden commented Jun 5, 2020

Hey @FlintPQ, please accept my apologies for the silence on your problems. This is a project that I wrote whilst at university and I now don't have time to support in a professional capacity, but I appreciate it's a tool that is of use to you.

I'm wondering if you would like to become a collaborator so you can put this repository in a state that works for you?

@dixler
Copy link

dixler commented Aug 20, 2020

This is a little late, but someone made a fork of this and it I was able to compile it and load it in jupyter with python3.8
https://github.com/morris-frank/RenderMan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants