Search found 4 matches

by haoxuan199307
2017-10-01T20:16:31-07:00
Forum: Magick++
Topic: Magick++/Include.h: No such file or directory
Replies: 0
Views: 29186

Magick++/Include.h: No such file or directory

/usr/include/ImageMagick-6/Magick++.h:9:30: fatal error: Magick++/Include.h: No such file or directory

I install imagemagick by using sudo apt-get install imagemagick

In /usr/include/ImageMagick-6, it includes magick Magick++ Magick++.h wand


Why it cannot find Magick++/Include.h?
by haoxuan199307
2017-09-30T13:45:26-07:00
Forum: Users
Topic: warning when using imagemagick
Replies: 2
Views: 5783

Re: warning when using imagemagick

snibgo wrote: 2017-09-30T10:33:54-07:00 What IM includes do you have in your main.cpp? For cpp programs, I use:

Code: Select all

#include "Magick++.h"
#include <ImageMagick-6/Magick++.h>
by haoxuan199307
2017-09-30T09:57:52-07:00
Forum: Users
Topic: warning when using imagemagick
Replies: 2
Views: 5783

warning when using imagemagick

I tried to use imagemagick in Linux. I installed it by using
sudo apt-get install libmagick++-dev

when I run make:

g++ -g -Wall -std=c++0x -I/usr/include/ImageMagick-6 -c ../src/main.cpp -o main.o -I../include
In file included from /usr/include/ImageMagick-6/Magick++/Include.h:13:0,
from /usr ...
by haoxuan199307
2017-09-29T20:27:37-07:00
Forum: Users
Topic: How to create the makefile for ImageMagick?
Replies: 0
Views: 14125

How to create the makefile for ImageMagick?

I installed ImageMagick using
sudo apt-get install imagemagick libmagickcore-dev libmagickwand-dev libmagic-dev
sudo apt-get install imagemagick

But I do not know what I should add to the makefile of my project.

Makefile:

# Check for OS Type
UNAME_S := $(shell uname -s)

# Linux
ifeq ($(UNAME_S ...