Recent

Author Topic: PascalMagick Problem  (Read 5008 times)

criageek

  • Jr. Member
  • **
  • Posts: 79
PascalMagick Problem
« on: November 02, 2007, 03:10:31 am »
I'm trying to write a test program to resize an image using PascalMagick, but it won't compile.  I've removed all functionality from the program itself, but it fails to compile as soon as I include magick_wand in the uses clause.  The error I get is

/usr/bin/ld: cannot find -lWand

Any idea what I am doing wrong?

I'm running Ubuntu 7.10.

Thanks,
Rich

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
RE: PascalMagick Problem
« Reply #1 on: November 02, 2007, 09:15:33 am »
It seams like you don't have the development for libWand, as explained here:

http://wiki.lazarus.freepascal.org/Lazarus_Faq#I_receive_an_error_during_the_linking_that_states_.2Fusr.2Fbin.2Fld_can.27t_find_-l.3Csome_lib.3E

Just install the development ImageMagick library packages.

criageek

  • Jr. Member
  • **
  • Posts: 79
PascalMagick Problem
« Reply #2 on: November 02, 2007, 02:15:56 pm »
Thanks sekel - That did it!

Rich

criageek

  • Jr. Member
  • **
  • Posts: 79
PascalMagick Problem
« Reply #3 on: November 29, 2007, 04:10:09 am »
I installed Lazarus and PascalMagick on another PC and ended up having to research this again, so in order to document it, here is the package I had to install:

libmagick++9-dev

Rich

pierrealain6913

  • Newbie
  • Posts: 2
Re: PascalMagick Problem
« Reply #4 on: June 21, 2020, 08:21:15 pm »
Hello everybody,
criageek indicated libmagick++9-dev.
I am working with Debian.
The library seems to have been replaced by graphicsmagick-libmagick-dev-compat.

Pierre-Alain.

 

TinyPortal © 2005-2018