>> And we have both libpng and zlib hosted in our tree with static builds. It'd 
>> be nice to make cairo use them.
> 
> I haven't noticed we have libpng in /external. So, by copying:
>    c:\harbour\lib\win\mingw\liblibpng.a to c:\mingw\lib\libpng12.dll.a
> (this time names are double checked and correct, we have double lib before 
> png) and rebuilding cairo, I have libcairo-2.dll dependent only on system 
> dlls.

That's good.

> It is compiled using mingw, but plays well with all 4 samples compiled with 
> BCC. (I know I should not mix .dlls from different compilers, but I always do 
> it with success :) ). If you are interested, you can take it from: 
> dbtopas.lt/hrb/libcairo-2.dll

Thank you. IMO one of the main points of .dlls is that you can 
mix compilers. BCC is a strange beast in this regard due to proprietary 
name mangling. Plus C++ in general is also a b*tch, but anyway. Too bad 
it's difficult to create .dlls which work equally well with all compilers.
But, Windows .dlls has done it, so it's possible (with some limitations 
and effort).

I've retested fancytxt.prg with BCC and MinGW, and I'm getting usual 
results: BCC works, MinGW GPFs. Dunno what could be the reason, it's 
possible my MinGW build is hosed.

Brgds,
Viktor

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to