Search

png_info has no member by the name trans

If you get the error

png_info has no member called trans

while compiling directfb the following workaround might help

The name of the values "trans" and the "trans_values" has changed in the structure png_info defined in png.h

Open the file that is generating the error and change the values of

trans to trans_alpha
trans_values to trans_color

this should take care of the errors.

3 comments:

  1. Thank you, I had the same problem as heath, but I had to change the values back. (trans_alpha to trans, trans_color to trans_values)

    Perhaps my system has outdated libraries.

    ReplyDelete
  2. This comment has been removed by a blog administrator.

    ReplyDelete