[argyllcms] Bug in ccxxmake(1.3.5):Cannot scale the patch with option -P

  • From: Mama70 <Mama70abc@xxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Sun, 30 Oct 2011 13:58:41 +0000 (UTC)

Hi, 
found this bug in ccxxmake: 
I made a correction for it : 
\spectro\ccxxmake.c:Line 1000
old version: 
if ((dr = new_disprd(&errc, itype, fake ? -99 : comno, fc, dtype, proj,
adaptive,
           noautocal, highres, 1, NULL, 0, 0, disp, blackbg, override,
                    ccallout, NULL, patsize, ho, vo, NULL, NULL, 0, 2,
                                                     icxOT_default, NULL, 
                    0, 0, verb, VERBOUT, debug, "fake" ICC_FILE_EXT)) == NULL)

new version:
if ((dr = new_disprd(&errc, itype, fake ? -99 : comno, fc, dtype, proj,
adaptive,
                  noautocal, highres, 1, NULL, 0, 0, disp, blackbg, override,
                    ccallout, NULL, patsize*patscale, ho, vo, NULL, NULL, 0, 2,
                   icxOT_default, NULL, 
                   0, 0, verb, VERBOUT, debug, "fake" ICC_FILE_EXT)) == NULL)

-------
(Quick and Disrty) 
How to make it compile under Windows XP: 
Install MinGW
Get Argyll src
Install ftjam-2.5.2-win32.zip, put exe in Mingw path
get ajam-2.5.2-1.3.3.zip, unzip 

Start Mingw shell 
alias l='ls -FC'
alias ll='ls -l'
MINGW=/mingw
export MINGW
JAM_TOOLSET=MINGW
export JAM_TOOLSET
OS_WINDOWS=1
export OS_WINDOWS

run 'jam' in ajam directory
Copy resulting jam.exe to Argyll src dir 
run 'jam install' in Argyll src dir 
copy libgcc_s_dw2-1.dll from MinGW/bin to Argyll bin




Other related posts: