- get dcraw.c
- put it somewhere eg ~/downloads
- open terminal and CD to ~/downloads
- run
gcc -o dcraw -O4 dcraw.c -lm -DNO_JPEG -DNO_LCMS - ignore the errors
dcraw.c: In function ‘convert_to_rgb’:
dcraw.c:8326: warning: passing argument 1 of ‘pseudoinverse’ from incompatible pointer type - produces a file 'dcraw' in the downloads folder
- switch to finder and do command-shift-g
- type /bin
- move dcraw from downloads to /bin
Thursday, 28 April 2011
Howto Compile dcraw on OSX
dcraw is cool and all, but the maintainer of the OSX binary isn't very timely. Currently only v 8.99 is available, which is well over 15 months old, while the windows version is at 9.07. No matter, we can compile ourselves!
Labels:
Apple,
Command Line
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment