Simply does not compile under VS 2013
Posted: 2014-11-10T12:09:38-07:00
I have downloaded the source code and followed the directions exactly, yet the Windows build fails to compile successfully under VS 2013.
The include paths generated in the solution/projects do not align with the directory structure on disk.
Do you have a distribution where this actually works?
Windows 7
VS 2013
Thanks-
Hawkeye-
I get thousands of lines of errors like this. Even though the .h files exist, they are not found by the compiler.
(note I tried 6.8.9-10 first, but it failed with the same errors).
c:\users\me\work\imagemagick\imagemagick-6.8.9-7\lcms\src\lcms2_internal.h(31): fatal error C1083: Cannot open include file: 'lcms2_plugin.h': No such file or directory
5> cmscgats.c
2>..\..\ffi\src\closures.c(33): fatal error C1083: Cannot open include file: 'ffi.h': No such file or directory
2> debug.c
5>c:\users\me\work\imagemagick\imagemagick-6.8.9-7\lcms\src\lcms2_internal.h(31): fatal error C1083: Cannot open include file: 'lcms2_plugin.h': No such file or directory
2>..\..\ffi\src\debug.c(25): fatal error C1083: Cannot open include file: 'ffi.h': No such file or directory
5> cmscnvrt.c
2> prep_cif.c
4> bzlib.c
1> infback.c
5>c:\users\me\work\imagemagick\imagemagick-6.8.9-7\lcms\src\lcms2_internal.h(31): fatal error C1083: Cannot open include file: 'lcms2_plugin.h': No such file or directory
5> cmserr.c
2>..\..\ffi\src\prep_cif.c(26): fatal error C1083: Cannot open include file: 'ffi.h': No such file or directory
7>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(942,5): warning MSB8027: Two or more files with the name of ftdebug.c will produce outputs to the same location. This can lead to an incorrect build result. The files involved are ..\..\ttf\builds\windows\ftdebug.c, ..\..\ttf\src\base\ftdebug.c.
2> raw_api.c
1> inffast.c
5>c:\users\me\work\imagemagick\imagemagick-6.8.9-7\lcms\src\lcms2_internal.h(31): fatal error C1083: Cannot open include file: 'lcms2_plugin.h': No such file or directory
4> compress.c
5> cmsgamma.c
2>..\..\ffi\src\raw_api.c(29): fatal error C1083: Cannot open include file: 'ffi.h': No such file or directory
2> types.c
1> inflate.c
3> jaricom.c
5>c:\users\me\work\imagemagick\imagemagick-6.8.9-7\lcms\src\lcms2_internal.h(31): fatal error C1083: Cannot open include file: 'lcms2_plugin.h': No such file or directory
2>..\..\ffi\src\types.c(31): fatal error C1083: Cannot open include file: 'ffi.h': No such file or directory
2> ffi.c
<snip/>
The include paths generated in the solution/projects do not align with the directory structure on disk.
Do you have a distribution where this actually works?
Windows 7
VS 2013
Thanks-
Hawkeye-
I get thousands of lines of errors like this. Even though the .h files exist, they are not found by the compiler.
(note I tried 6.8.9-10 first, but it failed with the same errors).
c:\users\me\work\imagemagick\imagemagick-6.8.9-7\lcms\src\lcms2_internal.h(31): fatal error C1083: Cannot open include file: 'lcms2_plugin.h': No such file or directory
5> cmscgats.c
2>..\..\ffi\src\closures.c(33): fatal error C1083: Cannot open include file: 'ffi.h': No such file or directory
2> debug.c
5>c:\users\me\work\imagemagick\imagemagick-6.8.9-7\lcms\src\lcms2_internal.h(31): fatal error C1083: Cannot open include file: 'lcms2_plugin.h': No such file or directory
2>..\..\ffi\src\debug.c(25): fatal error C1083: Cannot open include file: 'ffi.h': No such file or directory
5> cmscnvrt.c
2> prep_cif.c
4> bzlib.c
1> infback.c
5>c:\users\me\work\imagemagick\imagemagick-6.8.9-7\lcms\src\lcms2_internal.h(31): fatal error C1083: Cannot open include file: 'lcms2_plugin.h': No such file or directory
5> cmserr.c
2>..\..\ffi\src\prep_cif.c(26): fatal error C1083: Cannot open include file: 'ffi.h': No such file or directory
7>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(942,5): warning MSB8027: Two or more files with the name of ftdebug.c will produce outputs to the same location. This can lead to an incorrect build result. The files involved are ..\..\ttf\builds\windows\ftdebug.c, ..\..\ttf\src\base\ftdebug.c.
2> raw_api.c
1> inffast.c
5>c:\users\me\work\imagemagick\imagemagick-6.8.9-7\lcms\src\lcms2_internal.h(31): fatal error C1083: Cannot open include file: 'lcms2_plugin.h': No such file or directory
4> compress.c
5> cmsgamma.c
2>..\..\ffi\src\raw_api.c(29): fatal error C1083: Cannot open include file: 'ffi.h': No such file or directory
2> types.c
1> inflate.c
3> jaricom.c
5>c:\users\me\work\imagemagick\imagemagick-6.8.9-7\lcms\src\lcms2_internal.h(31): fatal error C1083: Cannot open include file: 'lcms2_plugin.h': No such file or directory
2>..\..\ffi\src\types.c(31): fatal error C1083: Cannot open include file: 'ffi.h': No such file or directory
2> ffi.c
<snip/>