nanogui: png strange issue
Subject:
png strange issue
From:
Manuel Gilioli ####@####.####
Date:
3 Sep 2008 12:17:37 -0000
Message-Id: <20080903141642.zaom79tyioggosww@webmail.securesites.it>
Good morning,
I have a problem to load png when nano-X is compiled with
FreeType 1.x:
####################################################################
# TrueType font support thru FreeType 1.x
####################################################################
HAVE_FREETYPE_SUPPORT = Y
INCFTLIB = /usr/include/freetype1
LIBFTLIB = /usr/lib/libttf.so
FREETYPE_FONT_DIR = "fonts/truetype"
--
####################################################################
# PNG support via libpng and libz
####################################################################
HAVE_PNG_SUPPORT = Y
INCPNG = .
LIBPNG = /usr/lib/libpng.a
LIBZ = /usr/lib/libz.a
while if compile HAVE_FREETYPE_SUPPORT = N the png load correctly.
the problem is in this static int
ReadBlock(void *b, int n) but I think that i see the effect and not a
cause.
Thanks
Ing. Gilioli Manuel