<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi i'm having problem compiling cairo on mac in order to distribute it with my application (following this guide : <a href="https://www.cairographics.org/end_to_end_build_for_mac_os_x/">https://www.cairographics.org/end_to_end_build_for_mac_os_x/</a>)</div><div><br></div><div>i'm getting this error </div><div><br></div><div><div>Undefined symbols for architecture x86_64:</div><div>  "_png_create_info_struct", referenced from:</div><div>      _write_png in cairo-png.o</div><div>      _read_png in cairo-png.o....</div></div><div><br></div><div>libpng.dylib does exist on /cairotut/build/lib directory and does have the following symbols </div><div>i think i need to pass -I/include and -L/lib to makefile but where should i put it in the makefile?</div><div><br></div><div>sorry for poor english</div><div><br></div><div>regards, shashwat.</div></div></div>