7ImageMagick-7.0.1-2 does not build in visual studio 2010
Posted: 2016-05-09T10:29:22-07:00
I am trying to build in VisualStudio 2010 the latest download of source. Fails in flif and MagickCore projects.
Any thoughts on how to accomplish a 2010 build?
first failure is in flif:
Any thoughts on how to accomplish a 2010 build?
first failure is in flif:
Code: Select all
17>------ Rebuild All started: Project: CORE_flif, Configuration: Debug Win32 ------
17>Build started 09/05/2016 1:17:06 PM.
17>_PrepareForClean:
17> Deleting file "..\Debug\DynamicMT-Win32\CORE_flif\CORE_flif.lastbuildstate".
17>InitializeBuildStatus:
17> Touching "..\Debug\DynamicMT-Win32\CORE_flif\CORE_flif.unsuccessfulbuild".
17>ClCompile:
17> common.cpp
17> flif-dec.cpp
17> flif-enc.cpp
17> io.cpp
17> color_range.cpp
17>c:\sources\thirdparty\imagemagick\imagemagick-7.0.1-2\flif\src\image\crc32k.hpp(4): fatal error C1083: Cannot open include file: 'cinttypes': No such file or directory
17> crc32k.cpp
17>c:\sources\thirdparty\imagemagick\imagemagick-7.0.1-2\flif\src\image\crc32k.hpp(4): fatal error C1083: Cannot open include file: 'cinttypes': No such file or directory
17> flif-interface_common.cpp
17>c:\sources\thirdparty\imagemagick\imagemagick-7.0.1-2\flif\src\image\crc32k.hpp(4): fatal error C1083: Cannot open include file: 'cinttypes': No such file or directory
17> flif-interface_dec.cpp
17>c:\sources\thirdparty\imagemagick\imagemagick-7.0.1-2\flif\src\image\crc32k.hpp(4): fatal error C1083: Cannot open include file: 'cinttypes': No such file or directory
17> flif-interface_enc.cpp
17>c:\sources\thirdparty\imagemagick\imagemagick-7.0.1-2\flif\src\image\crc32k.hpp(4): fatal error C1083: Cannot open include file: 'cinttypes': No such file or directory
17> bit.cpp
17> chance.cpp
17>c:\sources\thirdparty\imagemagick\imagemagick-7.0.1-2\flif\src\image\crc32k.hpp(4): fatal error C1083: Cannot open include file: 'cinttypes': No such file or directory
17> symbol.cpp
17>c:\sources\thirdparty\imagemagick\imagemagick-7.0.1-2\flif\src\image\crc32k.hpp(4): fatal error C1083: Cannot open include file: 'cinttypes': No such file or directory
17> factory.cpp
17>c:\sources\thirdparty\imagemagick\imagemagick-7.0.1-2\flif\src\image\crc32k.hpp(4): fatal error C1083: Cannot open include file: 'cinttypes': No such file or directory
17>c:\sources\thirdparty\imagemagick\imagemagick-7.0.1-2\flif\src\image\crc32k.hpp(4): fatal error C1083: Cannot open include file: 'cinttypes': No such file or directory
17>
17>Build FAILED.
17>
17>Time Elapsed 00:00:10.35
next failure is in MagickCore
21>------ Rebuild All started: Project: CORE_MagickCore, Configuration: Debug Win32 ------
21>Build started 09/05/2016 1:17:33 PM.
21>_PrepareForClean:
21> Deleting file "..\Debug\DynamicMT-Win32\CORE_MagickCore\CORE_MagickCore.lastbuildstate".
21>InitializeBuildStatus:
21> Touching "..\Debug\DynamicMT-Win32\CORE_MagickCore\CORE_MagickCore.unsuccessfulbuild".
21>ClCompile:
21> accelerate.c
21> animate.c
21> annotate.c
21> artifact.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> attribute.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> blob.c
21>..\..\ImageMagick\MagickCore\annotate.c(1021): warning C4100: 'image' : unreferenced formal parameter
21> cache-view.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> cache.c
21> channel.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> BZIP compiling as DLL import
21> cipher.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> client.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> coder.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> color.c
21> colormap.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> colorspace.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> compare.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21>..\..\ImageMagick\MagickCore\color.c(2574): warning C4100: 'image' : unreferenced formal parameter
21> composite.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> compress.c
21> configure.c
21> constitute.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> decorate.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> delegate.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> deprecate.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> display.c
21> distort.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> distribute-cache.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> draw.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> effect.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> enhance.c
21> exception.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> feature.c
21> fourier.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> fx.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> gem.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> geometry.c
21> histogram.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21>c:\sources\thirdparty\imagemagick\imagemagick-7.0.1-2\imagemagick\magickcore\fx.c(6040): warning C4701: potentially uninitialized local variable 'low_pass' used
21> identify.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> image-view.c
21> image.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> layer.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> linked-list.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> list.c
21> locale.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> log.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> magic.c
21> magick.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> matrix.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> memory.c
21> mime.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> module.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> monitor.c
21> montage.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> morphology.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> nt-base.c
21> nt-feature.c
21> opencl.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> option.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> paint.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> pixel.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21>..\..\ImageMagick\MagickCore\option.c(2481): warning C4100: 'exception' : unreferenced formal parameter
21> policy.c
21> prepress.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> profile.c
21> property.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> quantize.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> quantum-export.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> quantum-import.c
21> quantum.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> random.c
21> registry.c
21> resample.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> resize.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> resource.c
21> segment.c
21> semaphore.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21>..\..\ImageMagick\MagickCore\resource.c(773): warning C4100: 'exception' : unreferenced formal parameter
21> shear.c
21> signature.c
21> splay-tree.c
21>..\..\ImageMagick\MagickCore\resize.c(161): error C2143: syntax error : missing ';' before 'type'
21>..\..\ImageMagick\MagickCore\resize.c(162): error C2065: 'cosine' : undeclared identifier
21>..\..\ImageMagick\MagickCore\resize.c(162): error C2065: 'cosine' : undeclared identifier
21>..\..\ImageMagick\MagickCore\resize.c(178): error C2143: syntax error : missing ';' before 'type'
21>..\..\ImageMagick\MagickCore\resize.c(179): error C2143: syntax error : missing ';' before 'const'
21>..\..\ImageMagick\MagickCore\resize.c(180): error C2065: 'cosine' : undeclared identifier
21>..\..\ImageMagick\MagickCore\resize.c(180): error C2065: 'sine' : undeclared identifier
21>..\..\ImageMagick\MagickCore\resize.c(293): error C2143: syntax error : missing ';' before 'type'
21>..\..\ImageMagick\MagickCore\resize.c(294): error C2065: 'cosine' : undeclared identifier
21>..\..\ImageMagick\MagickCore\resize.c(306): error C2143: syntax error : missing ';' before 'type'
21>..\..\ImageMagick\MagickCore\resize.c(307): error C2065: 'cosine' : undeclared identifier
21> static.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> statistic.c
21> stream.c
21> string.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> thread.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> threshold.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> timer.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> token.c
21> transform.c
21> type.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> utility.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> version.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> vision.c
21> xml-tree.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21> xwindow.c
21> MagickCore lib DLL export interface
21> MagickCore module DLL export interface
21>
21>Build FAILED.