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.
I took a shortcut...the only file I really needed was really "wmfconfig.h", so I just renamed the file wmfconfig.h.in which was inside the WMF folder and altered some defines.
Now ImageMagick is compiling perfectly using MinGW and CodeBlocks. Later I will make the files available and write a detailed README.
The only problem I'm having now is about the debug version. On the file "nt-base.h", lines 38 to 40, there is the following:
...
...
E:\ImageMagick-6.3.6\magick\magick.c -o ..\Debug\CORE_magick\magick\magick.o
E:\ImageMagick-6.3.6\magick\magick.c: In function `MagickCoreGenesis':
E:\ImageMagick-6.3.6\magick\magick.c:1137: error: `_CRTDBG_REPORT_FLAG' undeclared (first use in this function)
E:\ImageMagick-6.3.6\magick\magick.c:1137: error: (Each undeclared identifier is reported only once
E:\ImageMagick-6.3.6\magick\magick.c:1137: error: for each function it appears in.)
E:\ImageMagick-6.3.6\magick\magick.c:1138: error: `_CRTDBG_CHECK_ALWAYS_DF' undeclared (first use in this function)
E:\ImageMagick-6.3.6\magick\magick.c:1138: error: `_CRTDBG_DELAY_FREE_MEM_DF' undeclared (first use in this function)
E:\ImageMagick-6.3.6\magick\magick.c:1139: error: `_CRTDBG_LEAK_CHECK_DF' undeclared (first use in this function)
Process terminated with status 1 (1 minutes, 18 seconds)
6 errors, 0 warnings
Are those functions VC++ specific ? Or I can find it on the MinGW/GCC headers ?
Sometimes the Windows environment is interpreted in a Visual C context and other times in a Unixy/gcc context. We have not compiled ImageMagick under MinGW lately so you are tripping across a few compatibility issues. Thanks for alerting us to these problems.