[Xastir] Compiling from source error

Curt, WE7U archer at eskimo.com
Tue Oct 24 12:59:43 EDT 2006


On Tue, 24 Oct 2006, Stephen Brown Jr wrote:

> Ok sounds good, just re-ran again with the changes, it looks like there may
> be some more buggy code as you mentioned:

Yea.  Now edit around line 741 so it looks like this (you'll have to
break up the "{ else" line into two lines to do it):


#ifdef HAVE_IMAGEMAGICK
                        if (QuantumDepth == 16) {
                            junk.red=r;
                            junk.green=g;
                            junk.blue=b;
                        }
                        else
#endif  // HAVE_IMAGEMAGICK
                        {
                            junk.red= r<<8;
                            junk.green = g<<8;
                            junk.blue = b<<8;
                        }


--
Curt, WE7U.   APRS Client Comparisons: http://www.eskimo.com/~archer
"Lotto:    A tax on people who are bad at math." -- unknown
"Windows:  Microsoft's tax on computer illiterates." -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir mailing list