Re: MING and gif2mask

Kelvin Luck <[email protected]> Mon, 19 Jan 2004 14:29:39 +1300
Newsgroups gmane.comp.web.ming.general
Message-ID <[email protected]>
OK - actually png2dbl didn't work either! this was using the latest 
(0.3a) version of ming. png2dbl printed this out when I called it 
without a filename:

png2dbl - convert a png file to an SWF DefineBitsLossless
           or DefineBitsLossless2 block

Usage: png2bmap [--verbose] <file.png>
where file.png is your png file.  Writes to file.dbl.

So seemed to be working (although whats the reference to png2bmap?). But 
I got a segmentation fault when I actually called it with the name of a 
file.
I downloaded the older version (0.2a) and untar'ed that and compiled it 
and that one seems to work fine.
This is all on a version of Red Hat (not sure which one - it is at my 
hosts...)
Hope that saves somebody some bother trying to figure out what won't work,
Kelvin.


Kelvin Luck wrote:

> To answer my own question (at least a little bit!)...
> There must be some kind of dependancy on a gif library or something in 
> gif2mask because it still doesn't work although I can "make" it without 
> errors.
> I've since found out that I can successfully make png2dbl on the same 
> server so it seems to me the problem is with a dependancy of gif2mask or 
> with gif2mask itself...
> 
> Kelvin Luck wrote:
> 
>> Hi,
>> I'm back to trying to get gif2mask working on my hosts. I can "make" it
>> from the util directory of the source distribution like so:
>>
>> [admin@... util]$ make gif2mask
>>
>> and it outputs this:
>>
>> gcc -g -Wall gif2mask.c -o gif2mask -lungif -lm -lz
>>
>> seems ok - no errors. Then when I try and run it with ./gif2mask I get:
>>
>> Segmentation fault
>>
>> Any ideas why this may be?
>>
>> Thanks,
>>
>> Kelvin
> 
> 
> _______________________________________________
> ming-fun mailing list
> [email protected]
> http://www.opaque.net/mailman/listinfo/ming-fun
>