[hatari-devel] Troubles compiling latest Hatari with new avi support
npomarede at corp.free.fr
npomarede at corp.free.fr
Sat Oct 10 12:40:50 CEST 2009
On Sat, 10 Oct 2009, Jerome Vernet wrote:
> npomarede at corp.free.fr a écrit :
>>
>> Hello,
>>
>> do you mean that if you use "#if HAVE_LIBPNG" it wouldn't compile ?
>> In that case, you should not use "-DHAVE_LIBPNG" but "-DHAVE_LIBPNG=1"
>> (although this is supposed to be the same according to gcc doc).
>>
> Yes. If I add HAVE_LIBPNG=1 to the XCode Preprocessor options, it
> doesn't take it in account. I rememebr having same trouble with the
> ENABLE_DSP=1 define.
This is strange, as many other parts of Hatari are using #if instead of
#ifdef and this doesn't seem to be a problem on osx.
>>
>> Can't really say, this is certainly a problem with some osx libraries,
>> but I can't test this myself.
> Wich pnglib version do you use ?
1.2
More information about the hatari-devel
mailing list