compiling dcraw, a raw file to ppm convertor
From: Khalid Schofield (oums0246_at_raven.linux.ox.ac.uk)
Date: 01/26/05
- Next message: MStepansky: "Re: Is overclocking in R10000 (IP28) possible?"
- Previous message: Richard S. Shuford: "Re: WYSE 55ES TERMINAL PROBLEMS"
- Next in thread: Atro Tossavainen: "Re: compiling dcraw, a raw file to ppm convertor"
- Reply: Atro Tossavainen: "Re: compiling dcraw, a raw file to ppm convertor"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 26 Jan 2005 10:09:24 +0000
Hi,
I've a new Nikon D70 Digital SLR camera and I want to process my images on
my O2 :)
I've found this cool C program that can convert my raw 'ccd memory dump
files' from my nikon D70 to ppm format images. But I can compile and use
the code on my linux box but not on my O2. Can anyone help with info.
Looks like the problem is
"/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.3/../../../libjpeg.so is
o32.
collect2: ld returned 4 exit status"
but not sure what I need to do. Any of you C programers for irix have any
good idea's?
Heres the website and links for download
http://www.cybercom.net/~dcoffin/dcraw/
and the c program is
http://www.cybercom.net/~dcoffin/dcraw/dcraw.c
The compiler options are "gcc -o dcraw -O3 dcraw.c -lm -ljpeg"
trying to compile it on my Indy gives this error
gcc -o dcraw -O3 dcraw.c -lm -ljpeg
ld32: FATAL 12: Expecting n32 objects:
/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.3/../../../libjpeg.so is o32.
collect2: ld returned 4 exit status
Trying to compile on my Octane2 at work gives
gcc -o dcraw -O3 dcraw.c -lm -ljpeg
dcraw.c: In function `canon_compressed_load_raw':
dcraw.c:479: warning: assignment makes pointer from integer without a cast
dcraw.c: In function `nikon_compressed_load_raw':
dcraw.c:678: warning: assignment makes pointer from integer without a cast
dcraw.c: In function `leaf_load_raw':
dcraw.c:1012: warning: assignment makes pointer from integer without a
cast
dcraw.c: In function `unpacked_load_raw':
dcraw.c:1043: warning: assignment makes pointer from integer without a
cast
dcraw.c: In function `olympus_e300_load_raw':
dcraw.c:1080: warning: assignment makes pointer from integer without a
cast
dcraw.c: In function `eight_bit_load_raw':
dcraw.c:1116: warning: assignment makes pointer from integer without a
cast
dcraw.c: In function `nucore_load_raw':
dcraw.c:1150: warning: assignment makes pointer from integer without a
cast
dcraw.c: In function `kodak_easy_load_raw':
dcraw.c:1392: warning: assignment makes pointer from integer without a
cast
dcraw.c: In function `foveon_interpolate':
dcraw.c:1739: warning: assignment makes pointer from integer without a
cast
dcraw.c:1847: warning: assignment makes pointer from integer without a
cast
dcraw.c: In function `bad_pixels':
dcraw.c:1925: warning: assignment makes pointer from integer without a
cast
dcraw.c: In function `vng_interpolate':
dcraw.c:2164: warning: assignment makes pointer from integer without a
cast
dcraw.c: In function `parse_foveon':
dcraw.c:2771: warning: assignment makes pointer from integer without a
cast
dcraw.c: In function `fuji_rotate':
dcraw.c:3999: warning: assignment makes pointer from integer without a
cast
dcraw.c: In function `flip_image':
dcraw.c:4035: warning: assignment makes pointer from integer without a
cast
dcraw.c: In function `write_ppm':
dcraw.c:4094: warning: assignment makes pointer from integer without a
cast
dcraw.c: In function `write_psd':
dcraw.c:4143: warning: assignment makes pointer from integer without a
cast
dcraw.c: In function `write_ppm16':
dcraw.c:4179: warning: assignment makes pointer from integer without a
cast
dcraw.c: In function `main':
dcraw.c:4320: warning: assignment makes pointer from integer without a
cast
dcraw.c:4361: warning: assignment makes pointer from integer without a
cast
ld32: FATAL 12: Expecting n32 objects:
/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.3/../../../libjpeg.so is o32.
collect2: ld returned 4 exit status
*********************
Khalid Schofield
System Administrator / EM Technician
Dept. Of Materials
University Of Oxford
Parks Road
Oxford
OX1 3PH
Email: khalid.schofield@materials.ox.ac.uk
Tel: 01865 273785
Fax: 01865 283333
Web: http://www-em.materials.ox.ac.uk/people/schofield/index.html
GNU Humour 'Technical Thug'
http://www.gnu.org/fun/jokes/know.your.sysadmin.html
ooooo ooo o8o
`888' `8' `"'
888 8 ooo. .oo. oooo oooo ooo
888 8 `888P"Y88b `888 `88b..8P'
888 8 888 888 888 Y888'
`88. .8' 888 888 888 .o8"'88b
`YbodP' o888o o888o o888o o88' 888o http://www.unix.org/
- Next message: MStepansky: "Re: Is overclocking in R10000 (IP28) possible?"
- Previous message: Richard S. Shuford: "Re: WYSE 55ES TERMINAL PROBLEMS"
- Next in thread: Atro Tossavainen: "Re: compiling dcraw, a raw file to ppm convertor"
- Reply: Atro Tossavainen: "Re: compiling dcraw, a raw file to ppm convertor"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|