bugfluxus - Bugs: bug #29033, libpng 1.4 problems

 
 

bug #29033: libpng 1.4 problems

Submitted by:  gabor papp <gabor_papp>
Submitted on:  Mon 01 Mar 2010 07:09:10 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 01 Mar 2010 07:09:10 PM UTC, original submission:

Having some issues compiling latest git (5404d9111835587b416118d56ca0955c40152282) on Linux (Arch). It appears to be related to a recent libpng upgrade (the horror, what a crazy lib that is). My system has libpng as 1.4.0-2, and it appears to have installed a new packaged called "libpng12" which appears to be from the 1.2 series of releases (1.2.40-1). I get a lot of deprecation notices:

libfluxus/src/PNGLoader.cpp: In static member function 'static unsigned
char* Fluxus::PNGLoader::Load(const std::string&, unsigned int&, unsigned
int&, Fluxus::PixelFormat&)':
libfluxus/src/PNGLoader.cpp:49: warning: 'png_info_struct::width' is
deprecated (declared at /usr/include/png.h:632)
libfluxus/src/PNGLoader.cpp:49: warning: 'png_info_struct::width' is
deprecated (declared at /usr/include/png.h:632)
libfluxus/src/PNGLoader.cpp:50: warning: 'png_info_struct::height' is
deprecated (declared at /usr/include/png.h:633)
libfluxus/src/PNGLoader.cpp:50: warning: 'png_info_struct::height' is
deprecated (declared at /usr/include/png.h:633)
libfluxus/src/PNGLoader.cpp:51: warning: 'png_info_struct::bit_depth' is
deprecated (declared at /usr/include/png.h:639)
libfluxus/src/PNGLoader.cpp:51: warning: 'png_info_struct::bit_depth' is
deprecated (declared at /usr/include/png.h:639)
libfluxus/src/PNGLoader.cpp:52: warning: 'png_info_struct::color_type' is
deprecated (declared at /usr/include/png.h:640)
libfluxus/src/PNGLoader.cpp:52: warning: 'png_info_struct::color_type' is
deprecated (declared at /usr/include/png.h:640)
libfluxus/src/PNGLoader.cpp:94: warning: 'png_struct_def::color_type' is
deprecated (declared at /usr/include/png.h:1150)
libfluxus/src/PNGLoader.cpp:94: warning: 'png_struct_def::color_type' is
deprecated (declared at /usr/include/png.h:1150)
libfluxus/src/PNGLoader.cpp: In static member function 'static void
Fluxus::PNGLoader::Save(const std::string&, unsigned int, unsigned int,
Fluxus::PixelFormat, unsigned char*)':
libfluxus/src/PNGLoader.cpp:172: error: 'text_ptr' was not declared in this
scope

Then this error at the end.

gabor papp <gabor_papp>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gabor_papp (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 23 Jan 2011 11:03:05 PM UTCgabor_pappStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1