vs2017 c3861
ImageMagick version
7.1.1-33
Operating system
Windows
Operating system, version and so on
vs2017 v141 windows sdk 8.1
Description
When compiling imagemagick with vs2017 (requires sdk 8.1), it will prompt that min and max cannot find identifiers. How should I solve it
Steps to Reproduce
Images
No response
Is it possible to use a more recent version of the sdk?
Is it possible to use a more recent version of the sdk?
No, I need to use the Windows 8.1 SDK because some client machines are still running on Windows 8.
Are you using the most recent 8.1 sdk? This error looks like a bug that I saw in the 10.x sdk
Are you using the most recent 8.1 sdk? This error looks like a bug that I saw in the 10.x sdk
If using Visual Studio 2022 (v143) and the Windows SDK version 10.0, compilation is possible without any errors, though there may be some warnings.
That doesn't answer my question? Maybe you are using an older version of the 8.1 sdk?
That doesn't answer my question? Maybe you are using an older version of the 8.1 sdk?
How can I switch to the newer 8.1 SDK in this case?
I thought that the 8.1 would also have multiple version but apparently it doesn't. I do think you can switch to the most recent 10.x SDK. We are setting a define in the project that should force compatibility with Windows 7. Have you checked if the software still works in Windows 8 when you use the most recent sdk that is selected by default?
I thought that the
8.1would also have multiple version but apparently it doesn't. I do think you can switch to the most recent 10.x SDK. We are setting a define in the project that should force compatibility with Windows 7. Have you checked if the software still works in Windows 8 when you use the most recent sdk that is selected by default?
Since I am just starting to work on this, other libraries in my project are built using the 8.1 SDK, and I'm unsure about compatibility with Windows 7. Additionally, I'm concerned that without thorough testing, directly adopting SDK 10.X might introduce potential issues. Additionally, if I am limited to compiling my code under SDK 8.1, are there alternative solutions available?
We will need to investigate this and figure out why this doesn't work. This mean I will need to set up a similar environment to figure out what is causing this. But I don't know when I will have time to do this.
Closing this because I don't have time to investigate support on out of support versions of Windows.