[cairo] Compilation Error

Shashwat S redbluegreen0601 at gmail.com
Sun Feb 14 10:34:26 UTC 2021


Hi i'm having problem compiling cairo on mac in order to distribute it with
my application (following this guide :
https://www.cairographics.org/end_to_end_build_for_mac_os_x/)

i'm getting this error

Undefined symbols for architecture x86_64:
  "_png_create_info_struct", referenced from:
      _write_png in cairo-png.o
      _read_png in cairo-png.o....

libpng.dylib does exist on /cairotut/build/lib directory and does have the
following symbols
i think i need to pass -I/include and -L/lib to makefile but where should i
put it in the makefile?

sorry for poor english

regards, shashwat.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo/attachments/20210214/acd99761/attachment.htm>


More information about the cairo mailing list