Displaying 4 results from an estimated 4 matches for "png_uint_32".
2019 Dec 18
2
Missing code depending on a #ifdef within the .ll file
Hi all,
I have managed to compile libpng using wllvm and obtain the IR of pngpixel
( small tool which is part of libpng ).
libpng has a function called png_check_IHDR:
void /* PRIVATE */
png_check_IHDR(png_const_structrp png_ptr,
png_uint_32 width, png_uint_32 height, int bit_depth,
int color_type, int interlace_type, int compression_type,
int filter_type)
{
int error = 0;
/* Check for width and height valid values */
if (width == 0)
{
png_warning(png_ptr, "Image width is zero in IHDR");
error =...
2019 Dec 18
2
Missing code depending on a #ifdef within the .ll file
...l,
>> I have managed to compile libpng using wllvm and obtain the IR of
>> pngpixel ( small tool which is part of libpng ).
>>
>> libpng has a function called png_check_IHDR:
>>
>> void /* PRIVATE */
>> png_check_IHDR(png_const_structrp png_ptr,
>> png_uint_32 width, png_uint_32 height, int bit_depth,
>> int color_type, int interlace_type, int compression_type,
>> int filter_type)
>> {
>> int error = 0;
>>
>> /* Check for width and height valid values */
>> if (width == 0)
>> {
>>...
2005 May 31
0
Installing RGL on SuSE 9.3
...tall the package
"rgl", I got error message:
...
In file included from pixmap.cpp:13:
pngpixmap.h: In static member function `static void
PNGPixmapFormat::Load::info_callback(png_struct*, png_info*)':
pngpixmap.h:149: error: invalid conversion from `long unsigned int*' to `
png_uint_32*'
pngpixmap.h:149: error: invalid conversion from `long unsigned int*' to `
png_uint_32*'
make: *** [pixmap.o] Error 1
ERROR: compilation failed for package 'rgl'
** Removing '/usr/local/lib/R/library/rgl'
** Restoring previous '/usr/local/lib/R/library/rgl'
....
2010 Jun 05
1
rgl installation failure
...png_const_charp’ has not been declared
pngpixmap.h:139: error: ‘png_structp’ has not been declared
pngpixmap.h:139: error: ‘png_infop’ has not been declared
pngpixmap.h:244: error: ‘png_structp’ has not been declared
pngpixmap.h:244: error: ‘png_bytep’ has not been declared
pngpixmap.h:244: error: ‘png_uint_32’ has not been declared
pngpixmap.h:253: error: ‘png_structp’ has not been declared
pngpixmap.h:253: error: ‘png_infop’ has not been declared
pngpixmap.h:275: error: expected ‘)’ before ‘*’ token
pngpixmap.h:280: error: ‘png_structp’ does not name a type
pngpixmap.h:281: error: ‘png_infop’ does not...