dwatts@ki.UUCP (Dan Watts) (06/11/90)
Has anyone gotten the pbmplus routines to run on an SGI? I just downloaded pbmplus.tar.Z from uunet (found in X/contrib). I modified the header file so that it compiles as system V and left the rest of the header file unchanged. I modified the Makefile so that it uses cc (no gcc here) and I removed the -s option from the ldflags. When I try to convert a gif file to ppm, I get the following: test.gif is a corrupt GIF file (unblock) I tried it on another known good GIF file and got the same output. I've converted these test files using fromgif on the SGI so I know the pictures are ok. (at least fromgif likes them). Has someone gotten these utilities to work on the SGI? If so, what did you do to get them to work? Thanks in advance! Dan Watts -- ##################################################################### # CompuServe: >INTERNET:uunet.UU.NET!ki!dwatts Dan Watts # # UUCP : ...!uunet!ki!dwatts Ki Research, Inc. # ############### New Dimensions In Network Connectivity ##############
jim@baroque.Stanford.EDU (James Helman) (06/11/90)
The problem is in giftoppm.c. Turn off the optimizer and pbmplus will compile properly. I've written a ppm median filter (adapted from ppmconvol.c) if anyone needs one. Jim Helman Department of Applied Physics 6 Trillium Lane Stanford University San Carlos, CA 94070 (jim@thrush.stanford.edu) (415) 723-9127