[argyllcms] V1.6.1 'ICM_DONE_OUTSIDEDC' undeclared

  • From: Nikolay Pokhilchenko <nikolay_po@xxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Mon, 30 Sep 2013 11:38:09 +0400

Thank You for release.
Tried to compile by MinGW under Windows 7 and got:

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)) {
                         ^
spectro\dispwin.c:4117:25: note: each undeclared identifier is reported only 
once for each function it appears in
        gcc -c -o spectro\dispwin.obj -DNT -mwin32 -pipe -O3 -DARGYLLCMS 
-DENABLE_SERIAL -DENABLE_USB -DENABLE_FAST_SERIAL -Ispectro -Ih -Inumlib -Iicc 
-Icgats -Irspl -Ixicc -Igamut -Ispectro -Iplot -Iusb\driver spectro\dispwin.c
...failed Cc_ spectro\dispwin.obj ...

Commands was:

set JAM_TOOLSET=MINGW
make -f builds/win32-gcc.mk
SET MINGW=C:\...\MinGW\bin
jam -f "C:\...\Argyll_V1.6.1_src\Jambase" -j 2

Other related posts: