You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
when building with scons i get
'const class Magick::Image' has no member named 'matte'
The text was updated successfully, but these errors were encountered: