Download Documentation
kismetwireless
Forum Links


Kismet Forums
Posted by:dragorn
Subject:gpsmap.cc (line 2815) SOLUTION
Date:14:30:07 18/10/2004

Been fixed in -devel for some time. It's not really a mistake in gpsmap.cc as it is ImageMagick changing their API, yet again. IM does this a lot, and it breaks every app that uses it.

Check the -devel changelog for Kismet to see all the stuff that's been fixed, it's continually under development.

Thanks, tho.

-m

> I just compiled kismet 2004-04 R1 with the gpsmap stuff enabled and there was a compilation error. I had a wee look through the code and there is a mistake in gpsmap.cc.
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> gpsmap.cc: In function `int DrawLegendComposite(std::vector<gps_network*,
> std::allocator<gps_network*> >, Image**, DrawInfo**)':
> gpsmap.cc:2815: error: invalid conversion from `int' to `MagickBooleanType'
> make: *** [gpsmap.o] Error 1
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> simply open the file gpsmap.cc in your favourite text editor (nedit, vi etc) and Goto line 2815. It will look like this:
>
> leg_di->text_antialias = 1;
>
> it is using the wrong Type, so try this:
>
> leg_di->text_antialias = MagickTrue;
>
> in the Changlelog for ImageMagick 6.1.1 - it says they got rid of the unsigned int for MagickBooleanType and changed it to an enum - which is not a bad idea ;-).
>
> gt


Reply to this message



dragorn@kismetwireless.net