[cairo] Installation

Byron Blue byronblue at hotmail.com
Tue Dec 5 16:34:27 UTC 2023


I've been trying (for quite a number of days) to get a simple addition of my code to compile under NetBSD 9.1 using a few Cairo graphics functions. I know my makefile must be missing something obvious. The installation instructions are poor at best. Here is the complaints from my compiler (gcc):
ld: /home/byron/working/unix/utilityModules.c:3280: undefined reference to `cairo_create'
ld: /home/byron/working/unix/utilityModules.c:3305: undefined reference to `cairo_image_surface_create'
ld: /home/byron/working/unix/utilityModules.c:3306: undefined reference to `cairo_create'
ld: /home/byron/working/unix/utilityModules.c:3307: undefined reference to `cairo_set_source_rgba'
ld: /home/byron/working/unix/utilityModules.c:3308: undefined reference to `cairo_rectangle'
ld: /home/byron/working/unix/utilityModules.c:3309: undefined reference to `cairo_fill'
ld: /home/byron/working/unix/utilityModules.c:3311: undefined reference to `cairo_set_source_rgba'
ld: /home/byron/working/unix/utilityModules.c:3312: undefined reference to `cairo_rectangle'
ld: /home/byron/working/unix/utilityModules.c:3313: undefined reference to `cairo_fill'
ld: /home/byron/working/unix/utilityModules.c:3315: undefined reference to `cairo_destroy'
ld: /home/byron/working/unix/utilityModules.c:3316: undefined reference to `cairo_surface_destroy'
Thank you for any help,
Byron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo/attachments/20231205/207cb618/attachment.htm>


More information about the cairo mailing list