Re: GM - more questions
Bob Friesenhahn <[email protected]> Thu, 20 Feb 2020 14:46:15 -0600 (CST)
| Newsgroups | gmane.comp.video.graphicsmagick.apis |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 20 Feb 2020, 10bxjfhf wrote: > As far as I am concerned, I am not using any of the code I compiled in this > test app. I don't recall what it all said during the compile, & I have not > resolved all of the compile issues reported by MSVC due to those complaints > about the paths being different. > > In effect, I am expecting to only use the self-complied tree to learn more > about GM and am hoping to, in effect only use the DLLs etc I can download > from SF Unless you use a similar version of Visual Studio (I used Visual Studio 2008, which is a little old) and the same build configuration, this might not work. I recall that Visual Studio 2010 and later are not entirely compatible with earlier versions. It would be interesting if this can easily be made to work. The safest strategy is to copy the program into the same directory where 'gm.exe' resides in order to assure that the correct DLLs and config files are used. The search strategy is to search for configuration files in the same directory as the exectuable. Windows also searches for DLLs in the current directory first. > It seems I do have bith 32 & 64-bit Ghostscript installed, but am unsure > which one I would need to uninstall. It should not be necessary to uninstall Ghostscript. Since you are using the "win64" build, it would need the 64-bit version of Ghostscript if it was to actually render PDF or Postscript using it. Otherwise, it would choose that directory for Postscript fonts. > Still, FWIW, neither is on the path; except for the string > MAGICK_FONT=C:\Program Files\gs\gs9.50\fonts\n019003l.pfb which points to the > 64-bit version font; I'm not sure of there is any difference between the 32 & > 64 bit fonts. There is no difference in the fonts. >> If using DLLs, is it possible that there is some other GraphicsMagick >> installation which may be used rather than the one you intend to use? > Not really, other than the version I compiled myself, but none of those files > would be on the path. > > The biggest unknown as far as I can see is my understanding of how to specify > and use these delegates it is complaining about The complaints are not important. The term 'delegate' means that resposibility is given to some other program to do the work and so Ghostscript is called a 'delegate'. This terminology was inherited from ImageMagick. At the moment I am confused since there is also an 'acorn12' email address. The 'acorn12' email address was asking about reading from a file. Unless the file format depends on Ghostscript (e.g. PDF, Postscript, or EPS), it is not important. I was interested in the configure debug output produced by your own program which was attempting to read from a file. Bob -- Bob Friesenhahn [email protected], http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ Public Key, http://www.simplesystems.org/users/bfriesen/public-key.txt