I appreciate all this good work, which benefits both projects. Something which is pending with VisualMagick configure (and hindering the next GraphicsMagick release) is that Visual Studio 2008 (and many other versions) do not handle the case where two files in a project have the same base name. In Visual Studio .net (and later) it is possible to specify the output file name. In Visual C++ 6.0 it is only possible to set the output directory (which can be done on a per-file level).
This problem is blocking me from including proper Google WebP support in the Visual Studio build. There have also been issues with libxml2 and FreeType which were fixed using trivial approaches (e.g. rename source file). I am able to build GraphicsMagick with WebP under Visual Studio if I spend a few minutes specifying output file names in the project.
It would be good to have a way to specify a desired level of disambiguation (include partial directory part in output file name) or even automatically detect when there is a conflict and supply the necessary level of disambiguation in the the output file names so that there is no conflict and it is clear which objects are associated with a given source file.
Since you are obviously much more adept than I am at working on VisualMagick configure code, might you be willing to take on this challenge as well?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I appreciate all this good work, which benefits both projects. Something which is pending with VisualMagick configure (and hindering the next GraphicsMagick release) is that Visual Studio 2008 (and many other versions) do not handle the case where two files in a project have the same base name. In Visual Studio .net (and later) it is possible to specify the output file name. In Visual C++ 6.0 it is only possible to set the output directory (which can be done on a per-file level).
This problem is blocking me from including proper Google WebP support in the Visual Studio build. There have also been issues with libxml2 and FreeType which were fixed using trivial approaches (e.g. rename source file). I am able to build GraphicsMagick with WebP under Visual Studio if I spend a few minutes specifying output file names in the project.
It would be good to have a way to specify a desired level of disambiguation (include partial directory part in output file name) or even automatically detect when there is a conflict and supply the necessary level of disambiguation in the the output file names so that there is no conflict and it is clear which objects are associated with a given source file.
Since you are obviously much more adept than I am at working on VisualMagick configure code, might you be willing to take on this challenge as well?
That has been fixed in IM already. It detects duplicate output names and renames the output file. I can post the patch later this week.
Can you apply my other patches to configure.exe first? It is then easier for me to create a patch for the duplicate file names.
I have not gotten to your patches yet. I will apply them and test when I find the time.
Okay, I will wait for that.
I have added the patch: https://sourceforge.net/p/graphicsmagick/patches/38/
Applied.