cleanrock / flobby

spring lobby
GNU General Public License v2.0
12 stars 5 forks source link

Ubuntu 14.04 ImageMagick #12

Closed nodenstuff closed 10 years ago

nodenstuff commented 10 years ago

flobby/src/gui/Cache.cpp: In member function ‘void Cache::createImageFile(const uint8_t*, int, int, int, const string&, double)’:

flobby/src/gui/Cache.cpp:220:44: error: ‘MagickCore’ has not been declared image.read(w, h, d == 1 ? "I" : "RGB", MagickCore::CharPixel, data); ^ flobby/src/gui/Cache.cpp:244:11: error: ‘class Magick::Image’ has no member named ‘resize’ image.resize(geom); ^ make[2]: * [src/gui/CMakeFiles/gui.dir/Cache.cpp.o] Error 1 make[1]: * [src/gui/CMakeFiles/gui.dir/all] Error 2 make: *\ [all] Error 2

I've installed libmagick-dev to cmake

cleanrock commented 10 years ago

You need libmagick++-dev also.

nodenstuff commented 10 years ago

sudo apt-get install libmagick++-dev libmagick-dev imagemagick

Just for completeness. Does not install with the default 14.04 imagemagick package? Not an issue on 12.10.

https://launchpad.net/ubuntu/trusty/+source/imagemagick/8:6.7.7.10-6ubuntu3