30 Sep 2013, 18:00 +10:00 Graeme Gill wrote: >Nikolay Pokhilchenko wrote: > >> spectro\dispwin.c: In function 'MainWndProc': >> spectro\dispwin.c:4117:25: error: 'ICM_DONE_OUTSIDEDC' undeclared (first use >> in this function) >> if (!SetICMMode(hdc, ICM_DONE_OUTSIDEDC)) { > >Hmm. I'd imagine that it is a problem in your SDK. >ICM_DONE_OUTSIDEDC is standard since Windows 2000: >< >http://msdn.microsoft.com/en-us/library/windows/desktop/dd372195%28v=vs.85%29.aspx > > > >Perhaps MingW is missing some things ? > >MingW64 seems to have it. > >I've updated < http://www.argyllcms.com/Argyll_V1.6.1_src.zip > >with a workaround. Thank You. Now it compiles OK with some warnings (see the attachment). I've used the same MinGW what I've used while normal compiling v1.5.1. But today MinGW was updated by mingw-get update/upgrade. Another thing: today I compiled ArgyllCMS under user rights, not as an Admin. What SDK can have a problem in my case? Intrinsic MS Windows? Or I should install some MS SDK manually? I need custom compiling because of need NoBPadpt for perceptual and saturation RGB-driven printer profiling. I see in the sources that You've done a lot for enabling black mapping method as an option in the future. Thank You for efforts!