Can someone please help me with this ?

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
sskaje

Can someone please help me with this ?

Post by sskaje »

I installed ImageMagick-6.3.7-0-Q16-windows-dll.exe on my m$ win 2003 and was trying to compile imagick

i selected "Install development headers and libraries for C and C++" when installing imagemagick

1:
Administrator@WHOISGOD /cygdrive/d/phpdev/php-5.2.5/ext
$ php ext_skel_win32.php --extname=imagick
Creating directory imagick
Creating basic files: config.m4 config.w32 .cvsignore imagick.c php_imagick.h CR
EDITS EXPERIMENTAL tests/001.phpt imagick.php [done].

To use your new extension, you will have to execute the following steps:

1. $ cd ..
2. $ vi ext/imagick/config.m4
3. $ ./buildconf
4. $ ./configure --[with|enable]-imagick
5. $ make
6. $ ./php -f ext/imagick/imagick.php
7. $ vi ext/imagick/imagick.c
8. $ make

Repeat steps 3-6 until you are satisfied with ext/imagick/config.m4 and
step 6 confirms that your module is compiled into PHP. Then, start writing
code and repeat the last two steps as often as necessary.

2:
copied files from imagick-2.1.0RC1.tgz to the ext/imagick and overwrote some files

3:
open the dsp file with ms vc 6

4:
compile

then i got a

--------------------Configuration: imagick - Win32 Release_TS--------------------
Linking...
Creating library Release_TS/php_imagick.lib and object Release_TS/php_imagick.exp
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetNumberImages
imagick.obj : error LNK2001: unresolved external symbol __imp__IsMagickWand
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickClearException
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickRelinquishMemory
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetException
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawClearException
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawGetException
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelClearIteratorException
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelGetIteratorException
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelClearException
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelGetException
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetLastIterator
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickPingImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickReadImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickWriteImages
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickWriteImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageFilename
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickPingImageFile
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickPingImageBlob
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickVignetteImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickTransposeImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickTransverseImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickAdaptiveBlurImageChannel
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickUniqueImageColors
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickContrastStretchImageChannel
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageMatte
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageMatte
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickAdaptiveResizeImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageHeight
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageWidth
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSketchImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickShadeImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetSizeOffset
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetSizeOffset
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickAdaptiveSharpenImageChannel
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickRandomThresholdImageChannel
imagick.obj : error LNK2001: unresolved external symbol __imp__DestroyPixelWand
imagick.obj : error LNK2001: unresolved external symbol __imp__IsPixelWand
imagick.obj : error LNK2001: unresolved external symbol __imp__DestroyDrawingWand
imagick.obj : error LNK2001: unresolved external symbol __imp__IsDrawingWand
imagick.obj : error LNK2001: unresolved external symbol __imp__DestroyMagickWand
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickCompositeImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickDrawImage
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawRoundRectangle
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetStrokeWidth
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetStrokeColor
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetFillColor
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageBackgroundColor
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickNewImage
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelSetColor
imagick.obj : error LNK2001: unresolved external symbol __imp__NewMagickWand
imagick.obj : error LNK2001: unresolved external symbol __imp__NewDrawingWand
imagick.obj : error LNK2001: unresolved external symbol __imp__NewPixelWand
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetIteratorIndex
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetIteratorIndex
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageOpacity
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickPolaroidImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageProperty
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageProperty
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageInterpolateMethod
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageInterpolateMethod
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickLinearStretchImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageLength
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickExtentImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageOrientation
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageOrientation
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickPaintFloodfillImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickDistortImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageBlob
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageFormat
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickQueryFormats
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickQueryFonts
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickRemoveImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickQueryFontMetrics
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickQueryMultilineFontMetrics
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickReadImageFile
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickDisplayImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickDisplayImages
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickReadImageBlob
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickBlurImageChannel
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickWaveImage
imagick.obj : error LNK2001: unresolved external symbol __imp__ClearMagickWand
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickScaleImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickCropImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSpreadImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSwirlImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickStripImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickTrimImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickChopImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickClipImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickClipPathImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickCoalesceImages
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickColorFloodfillImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickCombineImages
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickAddImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageFormat
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetSize
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageTotalInkDensity
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickImplodeImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickLevelImageChannel
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickMagnifyImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickMapImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickMatteFloodfillImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickMedianFilterImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickNegateImageChannel
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickPaintOpaqueImageChannel
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickOptimizeImageLayers
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickPaintTransparentImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickPreviewImages
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickProfileImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickQuantizeImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickQuantizeImages
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickReduceNoiseImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickRemoveImageProfile
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSeparateImageChannel
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSepiaToneImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageBias
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageBluePrimary
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageBorderColor
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageChannelDepth
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageColormapColor
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageColorspace
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageDispose
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageExtent
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageGreenPrimary
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageInterlaceScheme
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageProfile
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageRedPrimary
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageRenderingIntent
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageVirtualPixelMethod
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageWhitePoint
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSigmoidalContrastImageChannel
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickStereoImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickTextureImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickTintImage
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelSetOpacity
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickUnsharpMaskImageChannel
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickConvolveImageChannel
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickCycleColormapImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickDeconstructImages
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageRegion
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickDespeckleImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickEdgeImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickEmbossImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickEnhanceImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickEqualizeImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickEvaluateImageChannel
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageAttribute
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageBackgroundColor
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageBluePrimary
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageBorderColor
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageChannelDepth
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageChannelDistortion
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageChannelExtrema
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageChannelMean
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageChannelStatistics
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageColormapColor
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageColorspace
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageCompose
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageDelay
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageDepth
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageDistortion
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageExtrema
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageDispose
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageGamma
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageGreenPrimary
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageHistogram
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageInterlaceScheme
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageIterations
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageMatteColor
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImagePage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImagePixelColor
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageProfile
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageRedPrimary
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageRenderingIntent
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageResolution
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageScene
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageSignature
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageTicksPerSecond
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageType
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageUnits
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageVirtualPixelMethod
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageWhitePoint
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickThumbnailImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickResetIterator
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetFirstIterator
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickPreviousImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickNextImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickHasPreviousImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickHasNextImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageIndex
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageIndex
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageFilename
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageSize
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImagesBlob
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickIdentifyImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetImageColors
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickCommentImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageAttribute
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageCompose
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageCompression
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageDelay
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickColorizeImage
imagick.obj : error LNK2001: unresolved external symbol __imp__ClonePixelWand
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickCompareImageChannels
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickCompareImageLayers
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickFlattenImages
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickFlipImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickFlopImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickFrameImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickFxImageChannel
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGammaImageChannel
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGaussianBlurImageChannel
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickCompareImages
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickContrastImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageDepth
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageGamma
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageIterations
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageMatteColor
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImagePage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageResolution
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageScene
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageTicksPerSecond
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageType
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageUnits
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickCharcoalImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickOilPaintImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickNormalizeImageChannel
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickLabelImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickAnnotateImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetImageCompressionQuality
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickCompositeImageChannel
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickModulateImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickAddNoiseImageChannel
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickMontageImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickAffineTransformImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickAverageImages
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickBorderImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickThresholdImageChannel
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickAdaptiveThresholdImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSharpenImageChannel
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickShaveImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickShearImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSpliceImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSteganoImage
imagick.obj : error LNK2001: unresolved external symbol __imp__CloneMagickWand
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickRotateImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSampleImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSolarizeImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickShadowImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickMotionBlurImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickMosaicImages
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickMorphImages
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickMinifyImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickPosterizeImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickRadialBlurImageChannel
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickRaiseImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickBlackThresholdImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickResampleImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickResizeImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickRollImage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickAppendImages
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickWhiteThresholdImage
imagick.obj : error LNK2001: unresolved external symbol _executor_globals_id
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetCompression
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetCompressionQuality
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetCopyright
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetFilename
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetFormat
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetHomeURL
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetInterlaceScheme
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetOption
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetPackageName
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetPage
imagick.obj : error LNK2001: unresolved external symbol _MagickGetQuantumDepth
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetQuantumRange
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetReleaseDate
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetResource
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetResourceLimit
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetSamplingFactors
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetSize
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickGetVersion
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetBackgroundColor
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetCompression
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetCompressionQuality
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetFilename
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetFormat
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetInterlaceScheme
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetOption
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetPage
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetResourceLimit
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetResolution
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetSamplingFactors
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickSetType
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawResetVectorGraphics
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawCircle
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawRectangle
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawEllipse
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSkewX
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSkewY
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawTranslate
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetFillAlpha
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetTextAntialias
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetTextEncoding
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetStrokeAlpha
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetFont
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetFontFamily
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetFontSize
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetFontStyle
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetFontWeight
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetFontStretch
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetTextAlignment
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetTextDecoration
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetTextUnderColor
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetViewbox
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawGetFont
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawGetFontFamily
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawGetFontSize
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawGetFontStyle
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawGetFontWeight
imagick.obj : error LNK2001: unresolved external symbol __imp__ClearDrawingWand
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawGetTextDecoration
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawGetTextEncoding
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawAnnotation
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawArc
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawMatte
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawPolygon
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawBezier
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawPoint
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawLine
imagick.obj : error LNK2001: unresolved external symbol __imp__CloneDrawingWand
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawAffine
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawComposite
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawColor
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawComment
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawGetClipPath
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawGetClipRule
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawGetClipUnits
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawGetFillColor
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawGetFillOpacity
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawGetFillRule
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawGetGravity
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawGetStrokeAntialias
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawGetStrokeColor
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawGetStrokeDashArray
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetStrokeDashArray
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawGetStrokeDashOffset
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawGetStrokeLineCap
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawGetStrokeLineJoin
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawGetStrokeMiterLimit
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawGetStrokeOpacity
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawGetStrokeWidth
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawGetTextAlignment
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawGetTextAntialias
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawGetVectorGraphics
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawGetTextUnderColor
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawPathClose
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawPathCurveToAbsolute
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawPathCurveToRelative
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawPathCurveToQuadraticBezierAbsolute
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawPathCurveToQuadraticBezierRelative
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawPathCurveToQuadraticBezierSmoothAbsolute
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawPathCurveToQuadraticBezierSmoothRelative
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawPathCurveToSmoothAbsolute
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawPathCurveToSmoothRelative
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawPathEllipticArcAbsolute
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawPathEllipticArcRelative
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawPathFinish
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawPathLineToAbsolute
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawPathLineToRelative
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawPathLineToHorizontalAbsolute
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawPathLineToHorizontalRelative
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawPathLineToVerticalAbsolute
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawPathLineToVerticalRelative
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawPathMoveToAbsolute
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawPathMoveToRelative
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawPathStart
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawPolyline
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawPopClipPath
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawPopDefs
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawPopPattern
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawPushClipPath
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawPushDefs
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawPushPattern
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawRender
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawRotate
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawScale
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetClipPath
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetClipRule
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetClipUnits
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetFillOpacity
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetFillPatternURL
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetFillRule
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetGravity
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetStrokePatternURL
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetStrokeDashOffset
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetStrokeLineCap
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetStrokeLineJoin
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetStrokeMiterLimit
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetStrokeOpacity
imagick.obj : error LNK2001: unresolved external symbol __imp__DrawSetVectorGraphics
imagick.obj : error LNK2001: unresolved external symbol __imp__PopDrawingWand
imagick.obj : error LNK2001: unresolved external symbol __imp__PushDrawingWand
imagick.obj : error LNK2001: unresolved external symbol __imp__IsPixelIterator
imagick.obj : error LNK2001: unresolved external symbol __imp__NewPixelIterator
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelResetIterator
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelSyncIterator
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelSetFirstIteratorRow
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelSetLastIteratorRow
imagick.obj : error LNK2001: unresolved external symbol __imp__NewPixelRegionIterator
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelGetIteratorRow
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelSetIteratorRow
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelGetPreviousIteratorRow
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelGetCurrentIteratorRow
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelGetNextIteratorRow
imagick.obj : error LNK2001: unresolved external symbol __imp__ClearPixelIterator
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelGetHSL
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelSetHSL
imagick.obj : error LNK2001: unresolved external symbol __imp__ClearPixelWand
imagick.obj : error LNK2001: unresolved external symbol __imp__IsPixelWandSimilar
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelGetFuzz
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelGetAlpha
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelGetOpacity
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelGetMagenta
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelGetYellow
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelGetRed
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelGetGreen
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelGetCyan
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelGetBlue
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelGetBlack
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelSetFuzz
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelSetAlpha
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelSetMagenta
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelSetYellow
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelSetRed
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelSetGreen
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelSetCyan
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelSetBlue
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelSetBlack
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelGetColorAsString
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelGetColorCount
imagick.obj : error LNK2001: unresolved external symbol __imp__PixelSetColorCount
imagick.obj : error LNK2001: unresolved external symbol _zend_ce_iterator
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickWandGenesis
imagick.obj : error LNK2001: unresolved external symbol __imp__DestroyPixelIterator
imagick.obj : error LNK2001: unresolved external symbol __imp__MagickWandTerminus
..\..\Release_TS/php_imagick.dll : fatal error LNK1120: 448 unresolved externals
Error executing link.exe.

php_imagick.dll - 449 error(s), 0 warning(s)






i've manually added
C:\PROGRAM FILES\IMAGEMAGICK-6.3.7-Q16
C:\PROGRAM FILES\IMAGEMAGICK-6.3.7-Q16\INCLUDE
C:\PROGRAM FILES\IMAGEMAGICK-6.3.7-Q16\LIB
to vc include dirs
and
C:\PROGRAM FILES\IMAGEMAGICK-6.3.7-Q16\LIB
to vc lib dirs



can someone help me fix it ?
el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Re: Can someone please help me with this ?

Post by el_supremo »

In the project's properties for Linker|Input there is an "Additional Dependencies" field. When I use MagickWand I have this set to:
CORE_RL_wand_.lib CORE_RL_magick_.lib
(If you're using C++ I think this would be CORE_RL_Magick++_.lib).

Pete
sskaje

Re: Can someone please help me with this ?

Post by sskaje »

thanks

i've added that lib file last nignt (im here GMT+8, i mean about 14hours ago)

but i still got three errors:

--------------------Configuration: imagick - Win32 Release_TS--------------------
Linking...
Creating library Release_TS/php_imagick.lib and object Release_TS/php_imagick.exp
imagick.obj : error LNK2001: unresolved external symbol _executor_globals_id
imagick.obj : error LNK2001: unresolved external symbol _MagickGetQuantumDepth
imagick.obj : error LNK2001: unresolved external symbol _zend_ce_iterator
..\..\Release_TS/php_imagick.dll : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.

php_imagick.dll - 4 error(s), 0 warning(s)

the first one 'imagick.obj : error LNK2001: unresolved external symbol _executor_globals_id'
and
the third one 'imagick.obj : error LNK2001: unresolved external symbol _zend_ce_iterator'
is what i think, something wrong with the php5ts.lib

but the second 'imagick.obj : error LNK2001: unresolved external symbol _MagickGetQuantumDepth'
i tried to compile both imagick and magickwand
this does exists

can you help me ?
el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Re: Can someone please help me with this ?

Post by el_supremo »

I think you've tripped over a bug in IM's MagickWand. There is no MagickGetQuantumDepth in MagickWand because the code which defines it in magick-property.c has an error:
[ code]
WandExport const char *MagickGetMAGICKCORE_QUANTUM_DEPTH(unsigned long *depth)
{
return(GetMagickQuantumDepth(depth));
}
[/code]
The function's name has apparently suffered a search and replace error - it's also mangled in the comment preceding the function.

Pete
mkoppanen
Posts: 309
Joined: 2007-06-09T07:06:32-07:00

Re: Can someone please help me with this ?

Post by mkoppanen »

el_supremo wrote:I think you've tripped over a bug in IM's MagickWand. There is no MagickGetQuantumDepth in MagickWand because the code which defines it in magick-property.c has an error:
[ code]
WandExport const char *MagickGetMAGICKCORE_QUANTUM_DEPTH(unsigned long *depth)
{
return(GetMagickQuantumDepth(depth));
}
[/code]
The function's name has apparently suffered a search and replace error - it's also mangled in the comment preceding the function.

Pete
I noticed this and added ifdef for it in Imagick. Can someone confirm if this is actually a bug and the function should be "MagickGetQuantumDepth" and what versions are affected by this bug?
Mikko Koppanen
My blog: http://valokuva.org
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Can someone please help me with this ?

Post by magick »

The problem you reported is fixed in ImageMagick 6.3.7-1. MagickGetMAGICKCORE_QUANTUM_DEPTH was a transient error and only occurred in the ImageMagick 6.3.7-0 release. The 6.3.7-1 release has MagickGetQuantumDepth() as expected.
sskaje

Re: Can someone please help me with this ?

Post by sskaje »

Thanks very much to el_supremo & magick

im going to download the new version and compile it again ...

:)
Post Reply