Hi
I am tring to compile a program which require imagemagick. I have installed imagemagick 6.6.2 .
Compile command line looks like this
g++ -L/usr/kerberos/lib -L../Resources/libraries/matio-1.3.3/src/.libs -o"Detector" ./src/MyBlob.o ./src/Frame.o ./src/Detector.o ./src/FetchedData.o ./src/ForegroundDetector.o ./src/Frames.o -lX11 -lmatio -lm -lz -lcurl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl -lidn -lssl -lcrypto -lMagick++ -lWand -lpthread -lMagick
I keep on getting "/usr/bin/ld: cannot find -lWand"
Any clue?
Thanks in advance for your replies.
Gurkirt
Can not finf lWand
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Can not finf lWand
that should be -lMagickWand and -lMagickCore
the name after the -l option generally refers to /usr/lib/lib.....so
For example -lMagickWand => /usr/lib/libMagickWand.so
However compile time -L path and -R path as well as LD_LIBRARY_PATH (compile and run time) is used to locate the library directories to look for the lib??? file.
the name after the -l option generally refers to /usr/lib/lib.....so
For example -lMagickWand => /usr/lib/libMagickWand.so
However compile time -L path and -R path as well as LD_LIBRARY_PATH (compile and run time) is used to locate the library directories to look for the lib??? file.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/