At 09:48 PM 2/19/2007 -0500, Andrew Smith wrote:
>Hello
>
>Could someone tell me how to build a libpng on Linux so
that it displays
>errors, warnings and debug messages?
>
>Right now I just edit the configure-generated makefile
and change
>CPPFLAGS to `CPPFLAGS = -DPNG_DEBUG=3` This way I get
debug output and
>errors but no warnings at all.
>
You are on the right track for debug messages. Normally
libpng will give
you the errors and warnings by default, unless you use
replacement
error and warning callbacks that don't show them to you.
For example
if you are building mozilla there are callbacks in
nsPNGDecoder.cpp
that discard the error and warning messages unless you
define PR_LOGGING
in which case they are put into a log file.
Glenn
------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
png-mng-implement mailing list
png-mng-implement lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/png-m
ng-implement
|