Search found 8 matches

by StephenLynx
2020-02-03T10:26:05-07:00
Forum: Magick++
Topic: Random problem reading fonts
Replies: 0
Views: 3266

Random problem reading fonts

I have someone using a software I made that uses magick++ to generate captchas. Out of the blue, they got this issue going on https://pastebin.com/1tds0Eih And it went back to normal after a reboot. Any idea? The software uses magick++ through a native node.js module, btw. And this is the source cod...
by StephenLynx
2019-12-25T14:25:42-07:00
Forum: Magick++
Topic: What should I even include?
Replies: 11
Views: 5121

Re: What should I even include?

The very first user is already having issues with my released project. His distro puts the headers on /usr/include/ImageMagick-7 instead of usr/include/ImageMagick. See how this issue affects portability?
by StephenLynx
2019-12-23T17:52:27-07:00
Forum: Magick++
Topic: What should I even include?
Replies: 11
Views: 5121

Re: What should I even include?

From: https://commandlinefanatic.com/cgi-bin/showarticle.cgi?article=art026 GCC looks in several different places for headers. On a normal Unix system, if you do not instruct it otherwise, it will look for headers requested with #include <file> in: /usr/local/include libdir/gcc/target/version/includ...
by StephenLynx
2019-12-23T17:19:37-07:00
Forum: Magick++
Topic: What should I even include?
Replies: 11
Views: 5121

Re: What should I even include?

It's not because of my build tools: is because of the library headers using the wrong locations. You have the very same issue:
>-I/home/Alan/imdevins69940/include/ImageMagick-6
rigth at the start. Just because your tools automatically compensate the issue, it doesn't mean the issue is not there.
by StephenLynx
2019-12-23T16:14:41-07:00
Forum: Magick++
Topic: What should I even include?
Replies: 11
Views: 5121

Re: What should I even include?

The issue was that you have to tell the compiler to include the whole IM header directory. Is that intentional? I ran into the same issue with bullet3d. If the includes are on the system path, why having to manually telling the compiler where to find them again?
by StephenLynx
2019-12-23T15:12:43-07:00
Forum: Magick++
Topic: What should I even include?
Replies: 11
Views: 5121

Re: What should I even include?

At this point it seems IM++ headers are trying to include files that don't exist. /usr/include/ImageMagick/Magick++.h:9:30: fatal error: Magick++/Include.h: No such file or directory Am I screwing up real bad or this is just not possible to use at all? The file it seems to refer is actually "ImageMa...
by StephenLynx
2019-12-23T14:22:14-07:00
Forum: Magick++
Topic: What should I even include?
Replies: 11
Views: 5121

Re: What should I even include?

Nope.
fatal error: Magick++.h: No such file or directory
Also, that's what centos ships. Even centos 8 ships 6.9. something.
by StephenLynx
2019-12-23T13:12:09-07:00
Forum: Magick++
Topic: What should I even include?
Replies: 11
Views: 5121

What should I even include?

I'm using centOS 7, with ImageMagick-c++ 6.7.8.9-18.el7. And I can't include anything. If I include /usr/include/ImageMagick/magick/magic.h it fails. If I include /usr/include/ImageMagick/magick/magick.h it fails. It seem to have changed entirely on IM 7, so I can't seem to find useful information a...