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

Magick::Image' has no member named 'matte' #12

Open
5shekel opened this issue Apr 2, 2018 · 1 comment
Open

Magick::Image' has no member named 'matte' #12

5shekel opened this issue Apr 2, 2018 · 1 comment

Comments

@5shekel
Copy link

5shekel commented Apr 2, 2018

when building with scons i get
'const class Magick::Image' has no member named 'matte'

Build type: release
Using C++ compiler... g++
Checking for C++ library spnav... (cached) no
Checking for C++ header file boost/signals2/signal.hpp... (cached) yes
Checking for C++ library exif... (cached) yes
Checking for C++ library sqlite3... (cached) yes
Checking for C library jpeg... (cached) yes
Checking for C++ library GL... (cached) yes
Checking for C++ library GLEW... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: build
g++ -o build/src/plugins/imagemagick.o -c -std=c++11 -O3 -s -isystem/usr/include/libpng16 -isystem/usr/include/SDL2 -pthread -fopenmp -isystem/usr/include/ImageMagick-7 -D_REENTRANT -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -Ibuild/src -Isrc src/plugins/imagemagick.cpp
src/plugins/imagemagick.cpp: In function 'SoftwareSurfacePtr MagickImage2SoftwareSurface(const Magick::Image&)':
src/plugins/imagemagick.cpp:106:13: error: 'const class Magick::Image' has no member named 'matte'
   if (image.matte())
             ^~~~~
src/plugins/imagemagick.cpp:113:21: error: 'PixelPacket' in namespace 'Magick' does not name a type
       const Magick::PixelPacket* src_pixels = image.getConstPixels(0, y, width, 1);
                     ^~~~~~~~~~~
src/plugins/imagemagick.cpp:118:52: error: 'src_pixels' was not declared in this scope
         dst_pixels[4*x + 0] = static_cast<uint8_t>(src_pixels[x].red   >> shift);
                                                    ^~~~~~~~~~
src/plugins/imagemagick.cpp:118:52: note: suggested alternative: 'dst_pixels'
         dst_pixels[4*x + 0] = static_cast<uint8_t>(src_pixels[x].red   >> shift);
                                                    ^~~~~~~~~~
                                                    dst_pixels
src/plugins/imagemagick.cpp:132:21: error: 'PixelPacket' in namespace 'Magick' does not name a type
       const Magick::PixelPacket* src_pixels = image.getConstPixels(0, y, width, 1);
                     ^~~~~~~~~~~
src/plugins/imagemagick.cpp:136:52: error: 'src_pixels' was not declared in this scope
         dst_pixels[3*x + 0] = static_cast<uint8_t>(src_pixels[x].red   >> shift);
                                                    ^~~~~~~~~~
src/plugins/imagemagick.cpp:136:52: note: suggested alternative: 'dst_pixels'
         dst_pixels[3*x + 0] = static_cast<uint8_t>(src_pixels[x].red   >> shift);
                                                    ^~~~~~~~~~
                                                    dst_pixels
scons: *** [build/src/plugins/imagemagick.o] Error 1
scons: building terminated because of errors.
@jose1711
Copy link

galapix is not compatible with imagemagick 7. you need to revert back to version 6 to be able to compile

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

2 participants