[argyllcms] Re: Compiling argyllcms using MS Visual Studio Community 2017

  • From: Graeme Gill <graeme@xxxxxxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Thu, 29 Nov 2018 16:10:59 +1100

richard@xxxxxxxxxxxxxxxxx wrote:

 2. Changed /DEBUGTYPE:BOTH to /DEBUGTYPE:CV in Jambase (BOTH is an obsolete 
option)

That's already avoided if the VC++ version is recognize. I'll add a clause
to assume version 15 if %VisualStudioVersion% is not recognized.

 3. Commented out the enum of WCS_PROFILE_MANAGEMENT_SCOPE in 
spectro\dispwin.c (it’s
    already in icm.h in the windows kit)

That's already protected, but evidently the #defines have changed in 
Microsoft's code.
So the question is, what should it be protected by ? It's currently:

#if !defined(NTDDI_LONGHORN) || NTDDI_VERSION < NTDDI_LONGHORN

Cheers,
        Graeme Gill.

Other related posts: