|
From: IraqiGeek <ge...@Ir...> - 2006-10-03 09:40:40
|
Hi all, I'm trying to compile David Coffin's infamous dcraw.c (a raw camera converter that supports most cameras out there) mostly so I could trace his code to see how he's reading the various raw file formats. However, I can't seem to be able to convince dev-cpp 4.9.9.2 to do that. I am passing -DNO_JPEG and -DNO_LCMS to the compiler, which got me to build dcraw.c on djgpp (with rhide). When compiling on dev-cpp with the above parameters, initially it objects on a #include<netinet/in.h>, and after I comment that, it objects saying its detecting recursion while expanding a macro within dcraw.c, namely sget4. It also says that its detecting recursion on expanding macro image, but as far as I can tell, image is a global vector variable. So, if dev-cpp and djgpp are both based on gcc, why is dcraw.c compiling under one and refusing to compile under the other? dcraw.c can be downloaded from David Coffin's page at: http://cybercom.net/~dcoffin/dcraw/ Any help would be greatly appretiated. Regards, IraqiGeek www.iraqigeek.com |