Building IM and Perlmagic

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
Lrdtalon

Building IM and Perlmagic

Post by Lrdtalon »

I am trying to figure out how to build ImageMagick/PerlMagic such that i can copy it to multiple servers to run Perlscripts against various Databases. I want to pull blobs from the DB, do some manipulation, shove the blobs back into the DB.

I downloaded the source code, Built the configure solution, ran configure.exe, tried the different flavors to get VisualStaticMT.sln. I then built it, no DLLs were created in the VisualMagic/bin directory. Opened a Visual Studio Command prompt rand perl.exe makefile.nt, then ran nmake. I am getting the following errors when running nmake:

Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.

link -out:blib\arch\auto\Image\Magick\Magick.dll -dll -nologo -nodefaultlib -debug -opt:ref,icf -libpath:"D:\Perl\lib\CORE" -machine:x86 Magick.obj D:\Perl\lib\CORE\perl510.lib D:\imagemag
ick\ImageMagick-6.4.3\VisualMagick\lib\CORE_RL_magick_.lib "C:\Program Files\Microsoft Visual Studio 8\VC\LIB\oldnames.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\LIB\kernel32.lib" "C:\Program
Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\user32.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\gdi32.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib
\winspool.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\comdlg32.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\advapi32.lib" "C:\Program Files\Microsoft Vis
ual Studio 8\VC\PlatformSDK\lib\shell32.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\ole32.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\oleaut32.lib" "C:\
Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\netapi32.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\LIB\uuid.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\ws2
_32.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\mpr.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\winmm.lib" "C:\Program Files\Microsoft Visual Studio 8\V
C\PlatformSDK\lib\version.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\odbc32.lib" "C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\odbccp32.lib" "C:\Program Files
\Microsoft Visual Studio 8\VC\LIB\msvcrt.lib" -def:Magick.def
Creating library blib\arch\auto\Image\Magick\Magick.lib and object blib\arch\auto\Image\Magick\Magick.exp
Magick.obj : error LNK2019: unresolved external symbol __imp__CloneImageInfo referenced in function _ClonePackageInfo
Magick.obj : error LNK2019: unresolved external symbol __imp__ThrowMagickException referenced in function _ClonePackageInfo
Magick.obj : error LNK2019: unresolved external symbol __imp__AcquireMagickMemory referenced in function _ClonePackageInfo
Magick.obj : error LNK2019: unresolved external symbol __imp__RelinquishMagickMemory referenced in function _DestroyPackageInfo
Magick.obj : error LNK2019: unresolved external symbol __imp__DestroyImageInfo referenced in function _DestroyPackageInfo
Magick.obj : error LNK2019: unresolved external symbol __imp__ResizeQuantumMemory referenced in function _GetList
Magick.obj : error LNK2019: unresolved external symbol __imp__AcquireQuantumMemory referenced in function _GetList
Magick.obj : error LNK2019: unresolved external symbol __imp__CloneImage referenced in function _GetList
Magick.obj : error LNK2019: unresolved external symbol __imp__FormatMagickString referenced in function _GetPackageInfo
Magick.obj : error LNK2019: unresolved external symbol __imp__MagickCoreTerminus referenced in function _XS_Image__Magick_UNLOAD
Magick.obj : error LNK2019: unresolved external symbol __imp__DestroyExceptionInfo referenced in function _XS_Image__Magick_AcquireImagePixels
Magick.obj : error LNK2019: unresolved external symbol __imp__GetLocaleExceptionMessage referenced in function _XS_Image__Magick_AcquireImagePixels
Magick.obj : error LNK2019: unresolved external symbol __imp__AcquireImagePixels referenced in function _XS_Image__Magick_AcquireImagePixels
Magick.obj : error LNK2019: unresolved external symbol __imp__LocaleCompare referenced in function _XS_Image__Magick_AcquireImagePixels
Magick.obj : error LNK2019: unresolved external symbol __imp__ParseAbsoluteGeometry referenced in function _XS_Image__Magick_AcquireImagePixels
Magick.obj : error LNK2019: unresolved external symbol __imp__AcquireExceptionInfo referenced in function _XS_Image__Magick_AcquireImagePixels
Magick.obj : error LNK2019: unresolved external symbol __imp__AppendImages referenced in function _XS_Image__Magick_Append
Magick.obj : error LNK2019: unresolved external symbol __imp__ParseMagickOption referenced in function _XS_Image__Magick_Append
Magick.obj : error LNK2019: unresolved external symbol __imp__SetImageInfo referenced in function _XS_Image__Magick_Average
Magick.obj : error LNK2019: unresolved external symbol __imp__CopyMagickString referenced in function _XS_Image__Magick_Average
Magick.obj : error LNK2019: unresolved external symbol __imp__AverageImages referenced in function _XS_Image__Magick_Average
Magick.obj : error LNK2019: unresolved external symbol __imp__BlobToImage referenced in function _XS_Image__Magick_BlobToImage
Magick.obj : error LNK2019: unresolved external symbol __imp__CoalesceImages referenced in function _XS_Image__Magick_Coalesce
Magick.obj : error LNK2019: unresolved external symbol __imp__CompareImageLayers referenced in function _XS_Image__Magick_CompareLayers
Magick.obj : error LNK2019: unresolved external symbol __imp__DestroyImage referenced in function _XS_Image__Magick_DESTROY
Magick.obj : error LNK2019: unresolved external symbol __imp__MergeImageLayers referenced in function _XS_Image__Magick_Flatten
Magick.obj : error LNK2019: unresolved external symbol __imp__QueryColorDatabase referenced in function _XS_Image__Magick_Flatten
Magick.obj : error LNK2019: unresolved external symbol __imp__ParseChannelOption referenced in function _XS_Image__Magick_Fx
Magick.obj : error LNK2019: unresolved external symbol __imp__FxImageChannel referenced in function _XS_Image__Magick_Fx
Magick.obj : error LNK2019: unresolved external symbol __imp__InterpretImageProperties referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__GetImageVirtualPixelMethod referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__GetMagickVersion referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__GetUserTime referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__GetImageType referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__GetImageTotalInkDensity referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__IsTaintImage referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__SignatureImage referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__AcquireIndexes referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__IsMonochromeImage referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__MagickToMime referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__CloseCacheView referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__GetCacheViewIndexes referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__GetCacheViewPixels referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__OpenCacheView referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__SetMagickRegistry referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__GetStringInfoDatum referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__GetStringInfoLength referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__GetImageProfile referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__GetMagickInfo referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__GetBlobSize referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__GetElapsedTime referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__GetImageDepth referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__GetMagickCopyright referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__LocaleNCompare referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__GetNumberColors referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__ClipImage referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__MagickOptionToMnemonic referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__GetImageBoundingBox referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__GetImageProperty referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__GetMagickResource referenced in function _XS_Image__Magick_Get
Magick.obj : error LNK2019: unresolved external symbol __imp__GetImagePixels referenced in function _XS_Image__Magick_GetImagePixels
Magick.obj : error LNK2019: unresolved external symbol __imp__GetIndexes referenced in function _XS_Image__Magick_GetIndexes
Magick.obj : error LNK2019: unresolved external symbol __imp__GetImageHistogram referenced in function _XS_Image__Magick_Histogram
Magick.obj : error LNK2019: unresolved external symbol __imp__ExportImagePixels referenced in function _XS_Image__Magick_GetPixels
Magick.obj : error LNK2019: unresolved external symbol __imp__CompositeLayers referenced in function _XS_Image__Magick_Layers
Magick.obj : error LNK2019: unresolved external symbol __imp__GravityAdjustGeometry referenced in function _XS_Image__Magick_Layers
Magick.obj : error LNK2019: unresolved external symbol __imp__SetGeometry referenced in function _XS_Image__Magick_Layers
Magick.obj : error LNK2019: unresolved external symbol __imp__DeleteImageFromList referenced in function _XS_Image__Magick_Layers
Magick.obj : error LNK2019: unresolved external symbol __imp__SplitImageList referenced in function _XS_Image__Magick_Layers
Magick.obj : error LNK2019: unresolved external symbol __imp__GetPreviousImageInList referenced in function _XS_Image__Magick_Layers
Magick.obj : error LNK2019: unresolved external symbol __imp__GetNextImageInList referenced in function _XS_Image__Magick_Layers
Magick.obj : error LNK2019: unresolved external symbol __imp__DestroyQuantizeInfo referenced in function _XS_Image__Magick_Layers
Magick.obj : error LNK2019: unresolved external symbol __imp__AffinityImages referenced in function _XS_Image__Magick_Layers
Magick.obj : error LNK2019: unresolved external symbol __imp__AcquireQuantizeInfo referenced in function _XS_Image__Magick_Layers
Magick.obj : error LNK2019: unresolved external symbol __imp__DestroyImageList referenced in function _XS_Image__Magick_Layers
Magick.obj : error LNK2019: unresolved external symbol __imp__RemoveZeroDelayLayers referenced in function _XS_Image__Magick_Layers
Magick.obj : error LNK2019: unresolved external symbol __imp__RemoveDuplicateLayers referenced in function _XS_Image__Magick_Layers
Magick.obj : error LNK2019: unresolved external symbol __imp__InheritException referenced in function _XS_Image__Magick_Layers
Magick.obj : error LNK2019: unresolved external symbol __imp__OptimizeImageTransparency referenced in function _XS_Image__Magick_Layers
Magick.obj : error LNK2019: unresolved external symbol __imp__OptimizePlusImageLayers referenced in function _XS_Image__Magick_Layers
Magick.obj : error LNK2019: unresolved external symbol __imp__OptimizeImageLayers referenced in function _XS_Image__Magick_Layers
Magick.obj : error LNK2019: unresolved external symbol __imp__DisposeImages referenced in function _XS_Image__Magick_Layers
Magick.obj : error LNK2019: unresolved external symbol __imp__QuantizeImages referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__CatchImageException referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__SparseColorImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__DeskewImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__DecipherImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__EncipherImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__LiquidRescaleImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__ClutImageChannel referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__DistortImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__SetImageVirtualPixelMethod referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__PolaroidImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__RecolorImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__LinearStretchImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__AdaptiveResizeImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__UniqueImageColors referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__SketchImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__AdaptiveBlurImageChannel referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__TransverseImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__TransposeImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__AdaptiveSharpenImageChannel referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__ContrastStretchImageChannel referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__VignetteImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__ExtentImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__SigmoidalContrastImageChannel referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__SepiaToneImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__ShadowImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__PosterizeImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__SpliceImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__TintImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__StripImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__ThumbnailImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__RadialBlurImageChannel referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__WhiteThresholdImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__BlackThresholdImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__IdentifyImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__AdaptiveThresholdImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__IsImagesEqual referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__AffineTransformImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__ClipImagePath referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__LevelImageChannel referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__ShaveImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__OrderedPosterizeImageChannel referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__MotionBlurImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__UnsharpMaskImageChannel referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__GetNextImageProfile referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__ResetImageProfileIterator referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__ReadImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__DestroyStringInfo referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__SetStringInfoDatum referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__AcquireStringInfo referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__ProfileImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__ConvolveImageChannel referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__GaussianBlurImageChannel referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__DeconstructImages referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__SteganoImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__StereoImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__SeparateImageChannel referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__WaveImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__TrimImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__CharcoalImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__BilevelImageChannel referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__TransparentPaintImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__EvaluateImageChannel referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__TextureImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__SyncImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__SolarizeImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__SegmentImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__RaiseImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__QuantizeImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__CompressImageColormap referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__OpaquePaintImageChannel referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__NormalizeImageChannel referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__NegateImageChannel referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__ModulateImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__GammaImageChannel referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__GammaImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__EqualizeImageChannel referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__DrawImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__ConcatenateString referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__CycleColormapImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__ContrastImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__CompositeImageChannel referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__NegateImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__CompositeImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__SyncCacheView referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__SetImageOpacity referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__FloodfillPaintImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__QueryMagickColor referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__AcquireOneMagickPixel referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__DestroyDrawInfo referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__AnnotateImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__GetAffineMatrix referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__DestroyString referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__CloneString referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__CloneDrawInfo referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__ResizeImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__SetImageArtifact referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__SwirlImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__SpreadImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__ShearImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__SharpenImageChannel referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__ShadeImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__ScaleImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__SampleImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__ParseSizeGeometry referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__RotateImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__RollImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__ReduceNoiseImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__OilPaintImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__MinifyImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__MedianFilterImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__MagnifyImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__ImplodeImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__FrameImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__FlopImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__FlipImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__EnhanceImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__EmbossImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__EdgeImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__DespeckleImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__StringToDouble referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__ChopImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__BlurImageChannel referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__ParseGeometry referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__BorderImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__ParsePageGeometry referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__ColorizeImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__AcquireOnePixel referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__AddNoiseImageChannel referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__SetImageProperty referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__CropImage referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__SetGeometryInfo referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__ResetMagickMemory referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__ParseGravityGeometry referenced in function _XS_Image__Magick_Mogrify
Magick.obj : error LNK2019: unresolved external symbol __imp__DestroyMontageInfo referenced in function _XS_Image__Magick_Montage
Magick.obj : error LNK2019: unresolved external symbol __imp__MontageImageList referenced in function _XS_Image__Magick_Montage
Magick.obj : error LNK2019: unresolved external symbol __imp__IsGeometry referenced in function _XS_Image__Magick_Montage
Magick.obj : error LNK2019: unresolved external symbol __imp__CloneMontageInfo referenced in function _XS_Image__Magick_Montage
Magick.obj : error LNK2019: unresolved external symbol __imp__MorphImages referenced in function _XS_Image__Magick_Morph
Magick.obj : error LNK2019: unresolved external symbol __imp__GetImageListLength referenced in function _XS_Image__Magick_Ping
Magick.obj : error LNK2019: unresolved external symbol __imp__DisassociateImageStream referenced in function _XS_Image__Magick_Ping
Magick.obj : error LNK2019: unresolved external symbol __imp__PingImage referenced in function _XS_Image__Magick_Ping
Magick.obj : error LNK2019: unresolved external symbol __imp__ExpandFilenames referenced in function _XS_Image__Magick_Ping
Magick.obj : error LNK2019: unresolved external symbol __imp__SetImageInfoFile referenced in function _XS_Image__Magick_Ping
Magick.obj : error LNK2019: unresolved external symbol __imp__SetImageInfoBlob referenced in function _XS_Image__Magick_Ping
Magick.obj : error LNK2019: unresolved external symbol __imp__PreviewImage referenced in function _XS_Image__Magick_Preview
Magick.obj : error LNK2019: unresolved external symbol __imp__GetColorInfoList referenced in function _XS_Image__Magick_QueryColor
Magick.obj : error LNK2019: unresolved external symbol __imp__QueryColorname referenced in function _XS_Image__Magick_QueryColorname
Magick.obj : error LNK2019: unresolved external symbol __imp__GetTypeInfo referenced in function _XS_Image__Magick_QueryFont
Magick.obj : error LNK2019: unresolved external symbol __imp__GetTypeInfoList referenced in function _XS_Image__Magick_QueryFont
Magick.obj : error LNK2019: unresolved external symbol __imp__GetTypeMetrics referenced in function _XS_Image__Magick_QueryFontMetrics
Magick.obj : error LNK2019: unresolved external symbol __imp__AcquireString referenced in function _XS_Image__Magick_QueryFontMetrics
Magick.obj : error LNK2019: unresolved external symbol __imp__GetMultilineTypeMetrics referenced in function _XS_Image__Magick_QueryMultilineFontMetrics
Magick.obj : error LNK2019: unresolved external symbol __imp__LocaleLower referenced in function _XS_Image__Magick_QueryFormat
Magick.obj : error LNK2019: unresolved external symbol __imp__GetMagickInfoList referenced in function _XS_Image__Magick_QueryFormat
Magick.obj : error LNK2019: unresolved external symbol __imp__DestroyStringList referenced in function _XS_Image__Magick_QueryOption
Magick.obj : error LNK2019: unresolved external symbol __imp__GetMagickOptions referenced in function _XS_Image__Magick_QueryOption
Magick.obj : error LNK2019: unresolved external symbol __imp__RemoteDisplayCommand referenced in function _XS_Image__Magick_Remote
Magick.obj : error LNK2019: unresolved external symbol __imp__SyncImagePixels referenced in function _XS_Image__Magick_SetPixel
Magick.obj : error LNK2019: unresolved external symbol __imp__SetImageStorageClass referenced in function _XS_Image__Magick_SetPixel
Magick.obj : error LNK2019: unresolved external symbol __imp__GetImageChannelStatistics referenced in function _XS_Image__Magick_Statistics
Magick.obj : error LNK2019: unresolved external symbol __imp__TransformImage referenced in function _XS_Image__Magick_Transform
Magick.obj : error LNK2019: unresolved external symbol __imp__GetMagickPixelPacket referenced in function _SetAttribute
Magick.obj : error LNK2019: unresolved external symbol __imp__GetPageGeometry referenced in function _SetAttribute
Magick.obj : error LNK2019: unresolved external symbol __imp__DefineImageOption referenced in function _SetAttribute
Magick.obj : error LNK2019: unresolved external symbol __imp__SetImageType referenced in function _SetAttribute
Magick.obj : error LNK2019: unresolved external symbol __imp__SetImageMask referenced in function _SetAttribute
Magick.obj : error LNK2019: unresolved external symbol __imp__SetImageDepth referenced in function _SetAttribute
Magick.obj : error LNK2019: unresolved external symbol __imp__SetLogEventMask referenced in function _SetAttribute
Magick.obj : error LNK2019: unresolved external symbol __imp__SetImageColorspace referenced in function _SetAttribute
Magick.obj : error LNK2019: unresolved external symbol __imp__SetImageClipMask referenced in function _SetAttribute
Magick.obj : error LNK2019: unresolved external symbol __imp__SetImageOption referenced in function _SetAttribute
Magick.obj : error LNK2019: unresolved external symbol __imp__SetMagickResourceLimit referenced in function _SetAttribute
Magick.obj : error LNK2019: unresolved external symbol __imp__SetImageAlphaChannel referenced in function _SetAttribute
Magick.obj : error LNK2019: unresolved external symbol __imp__AnimateImages referenced in function _XS_Image__Magick_Animate
Magick.obj : error LNK2019: unresolved external symbol __imp__DisplayImages referenced in function _XS_Image__Magick_Display
Magick.obj : error LNK2019: unresolved external symbol __imp__ImagesToBlob referenced in function _XS_Image__Magick_ImageToBlob
Magick.obj : error LNK2019: unresolved external symbol __imp__GetImageException referenced in function _XS_Image__Magick_Write
Magick.obj : error LNK2019: unresolved external symbol __imp__WriteImage referenced in function _XS_Image__Magick_Write
Magick.obj : error LNK2019: unresolved external symbol __imp__SetErrorHandler referenced in function _boot_Image__Magick
Magick.obj : error LNK2019: unresolved external symbol __imp__SetWarningHandler referenced in function _boot_Image__Magick
Magick.obj : error LNK2019: unresolved external symbol __imp__MagickCoreGenesis referenced in function _boot_Image__Magick
blib\arch\auto\Image\Magick\Magick.dll : fatal error LNK1120: 264 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\link.EXE"' : return code '0x460'
Stop.

I need help please... ??
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Building IM and Perlmagic

Post by magick »

PerlMagick requires the ImageMagick DLL build to link properly. It will not link against the static version-- we believe its possible but we have never gotten it to work.
Lrdtalon

Re: Building IM and Perlmagic

Post by Lrdtalon »

So i built the dynamic version and ran makefile.nt, then ran nmake, when running nmake ppm i get the following error:

D:\imagemagick\ImageMagick-6.4.3\PerlMagick>nmake ppm

Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.

Manifying blib\man3\Image\Magick.3
Can't write-open blib\man3\Image\Magick.3: No such file or directory at d:\Perl\lib/ExtUtils/Command/MM.pm line 131
NMAKE : fatal error U1077: 'D:\perl\bin\perl.exe' : return code '0x2'
Stop.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Building IM and Perlmagic

Post by magick »

Are you using the latest ActiveState Perl? We built ImageMagick / PerlMagick a few hours ago against ActiveState Perl and it built without complaint. Not sure why its failing for you.
Lrdtalon

Re: Building IM and Perlmagic

Post by Lrdtalon »

During a manual install, not part of the binary distro.

I am trying to do
perl makefile.nt
nmake
nmake ppm

I was hoping to do it this way so that i can just copy the perlmagic file to multiple servers and then issue: ppm install Image-Magick.ppd on each server we want to use perl magic on...
Lrdtalon

Re: Building IM and Perlmagic

Post by Lrdtalon »

I am following the following instructions from http://www.dylanbeattie.net/magick/howto.html:

Instructions
Make sure ActivePerl is installed and configured - you should be able to do this:

C:\>perl -e "print 'Hello World!';"
Hello World!
C:\>
If you get a 'not recognised yada yada yada' message, then your path isn't set up properly - refer to the instructions above. Ignore the bit about web servers unless your build workstation is also your web server.

Make sure zip.exe, unzip.exe, tar.exe and gzip.exe are in your search path - the easiest way to do this is to copy them to c:\windows\system32 (or wherever your copy of format.com resides - that's where Windows keeps the command-line DOS utilities)

Unzip the ImageMagick source tree to a local drive. The source tree includes full path information so just unzipping it to C:\ should give you a full source tree under C:\ImageMagick-5.4.0\ or whatever.

Build ImageMagick according to the instructions, which you'll find in \ImageMagick-5.4.0\www\install.html (or wherever you put it.) If you hold an LZW license from Unisys and want to enable LZW compression, you should edit the 'magick_config.h' file and uncomment the #define HazLZW line. Make sure you set the project configuration to All - Win32 Release (Build -> Set Active Configuration in VC++) This will put all the DLLs (along with the command-line tools such as convert.exe) in ImageMagick-5.4.0\VisualMagick\bin. These DLLs need to be present in the /perl/bin directory on the PerlMagick system - it's worth taking a ZIP snapshot of the DLLs for future deployments.

From a command prompt, cd to the ImageMagick-5.4.0/PerlMagick directory and do the following:

C:\ImageMagick-5.4.0\PerlMagick>perl makefile.nt
C:\ImageMagick-5.4.0\PerlMagick>nmake
C:\ImageMagick-5.4.0\PerlMagick>nmake ppm
You should now have a file PerlMagick.zip in the \PerlMagick directory. This contains a PPM (Perl module package) of the Image::Magick module.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Building IM and Perlmagic

Post by magick »

Try 'nmake clean' and rebuilding. We always build PerlMagick right after we build from the ImageMagick workspace. Looks like there may be problems trying to build it stand-alone.
Lrdtalon

Re: Building IM and Perlmagic

Post by Lrdtalon »

Smae error after nmake clean. I even tried unistalling and reinstalling active perl.

D:\imagemagick\ImageMagick-6.4.3\PerlMagick>nmake ppm

Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.

Manifying blib\man3\Image\Magick.3
Can't write-open blib\man3\Image\Magick.3: No such file or directory at D:\Perl\lib/ExtUtils/Command/MM.pm line 131
NMAKE : fatal error U1077: 'D:\Perl\bin\perl.exe' : return code '0x2'
Stop.
Post Reply