No there is no { missing. That code is a patch. So the other } is later in dcraw.c The line to be inserted is the single line with the + sign. All the other lines are lines from the existing dcraw.c , so I just did a search for
pre_interpolate();
and inserted
goto thumbnail;
after that line.
Dave provided this reference for a compiler, run in a CMD windows on XP
"You need to download the appropriate ZIP files from
http://www.delorie.com/djgpp/ , unpack them all into C:\DJGPP,
and do:
gcc -o dcraw.exe -O4 dcraw.c -lm -DNO_JPEG -DNO_LCMS "
Be sure to use the Zip Picker.
[a href=\"index.php?act=findpost&pid=192205\"][{POST_SNAPBACK}][/a]
Alright, I've used the zip picker and got all the files into the directories but I am encountering the following problem when I go to compile the program:
Did you ever get this message:
dcraw.c: In function 'main':
dcraw.c:8443: warning: incompatible implicit declaration of built-in function 's nprintf'
dcraw.c: In function 'convert_to_rgb':
dcraw.c:7775: warning: passing arguement 1 of 'pseudoinverse' from incompatible pointer type
c:/djgpp/tmp/cc126fMh.o:dcraw.c:(.text+0x370aa): undefined reference to '_snprintf'
collect2: ld returned 1 exit status
Then when I check the directory there is no outputted executable.
I've tried this on the untouched dcraw.c file and the patched and both give similar error messages.