Quote:
Originally Posted by IceHand
I have the equivalent of libnetpbm installed and /usr/include/pm.h is present (I use Arch Linux where packages are not split into a normal package and a lib package). Is a specific version of libnetpbm needed? I have version 10.35 installed.
Btw:
It doesn't look like "max" and "min" are defined in my version of pm.h
|
In pi.c, just add:
Code:
#define max(a,b) ((a) > (b) ? (a) : (b))
#define min(a,b) ((a) < (b) ? (a) : (b))
This addition allowed me to compile pi.c under cygwin/windows, but that is as far as I could get.
Sorry, I'm not on Linux so I'm adapting to your setup as best as I can.