[CAIRO][C]Compiling Error on Cairo demo.c
  • Butterfly
    Butterfly
    rebraist
    Posts: 96 from 2011/4/6
    From: Naples, Italy
    i've tried this gcc demo.c -noixemul -lcairo but morphos shell writes:
    demo.c:68: arguments given to macro `cairo_get_target'
    demo.c:75: arguments given to macro `cairo_save'
    demo.c:78: arguments given to macro `cairo_set_source_rgb'
    demo.c:79: arguments given to macro `cairo_rectangle'
    demo.c:80: arguments given to macro `cairo_fill'
    demo.c:84: arguments given to macro `cairo_image_surface_create_from_png'
    demo.c:85: arguments given to macro `cairo_image_surface_get_width'
    demo.c:86: arguments given to macro `cairo_image_surface_get_height'
    demo.c:88: arguments given to macro `cairo_pattern_create_for_surface'
    demo.c:89: arguments given to macro `cairo_pattern_set_extend'
    demo.c:91: arguments given to macro `cairo_translate'
    demo.c:92: arguments given to macro `cairo_rotate'
    demo.c:94: arguments given to macro `cairo_scale'
    demo.c:95: arguments given to macro `cairo_translate'
    demo.c:97: arguments given to macro `cairo_matrix_init_scale'
    demo.c:98: arguments given to macro `cairo_pattern_set_matrix'
    demo.c:100: arguments given to macro `cairo_set_source'
    demo.c:102: arguments given to macro `cairo_rectangle'
    demo.c:103: arguments given to macro `cairo_fill'
    demo.c:105: arguments given to macro `cairo_pattern_destroy'
    demo.c:106: arguments given to macro `cairo_surface_destroy'
    demo.c:108: arguments given to macro `cairo_restore'
    demo.c:120: arguments given to macro `cairo_image_surface_get_data'
    demo.c:120: arguments given to macro `cairo_image_surface_get_stride'
    demo.c:120: arguments given to macro `cairo_image_surface_get_width'
    demo.c:120: arguments given to macro `cairo_image_surface_get_width'
    demo.c:156: arguments given to macro `cairo_get_target'
    demo.c:166: arguments given to macro `cairo_image_surface_get_data'
    demo.c:166: arguments given to macro `cairo_image_surface_get_stride'
    demo.c:166: arguments given to macro `cairo_image_surface_get_width'
    demo.c:166: arguments given to macro `cairo_image_surface_get_width'
    demo.c:229: arguments given to macro `cairo_image_surface_create_for_data'
    demo.c:233: arguments given to macro `cairo_create'
    demo.c:250: arguments given to macro `cairo_destroy'
    demo.c:253: arguments given to macro `cairo_surface_destroy'

    any clue? thank you!!
    Mac Mini g4 1,5 mos 3.1 registered
    Powerbook g4 1,67 mos 3.1 unregistered
    Sam440 Os4.1.6
    Aros-Aros-Aros.
  • »04.10.11 - 22:20
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Yomgui
    Posts: 348 from 2004/8/31
    From: Québec - Canada
    Before doing anything else, what's you need ?
    Cairo is already ported and used on morphos by OWB and Gribouillis (through a Python module ).
    which version is it?
    And now... next project!
  • »05.10.11 - 21:01
    Profile Visit Website
  • Butterfly
    Butterfly
    rebraist
    Posts: 96 from 2011/4/6
    From: Naples, Italy
    hi! i simply tried to compile the demo project in aminet and this is the error.
    what do i need? i would like to "learn" to use cairo on morphos.
    i installed it (following the instructions that come with aminet package), the other libraries too.
    when i compile demo.c (both shell gcc or scribble) that's the error...
    (on aminet i read v 3.0)

    [ Edited by rebraist 08.10.2011 - 00:20 ]
    Mac Mini g4 1,5 mos 3.1 registered
    Powerbook g4 1,67 mos 3.1 unregistered
    Sam440 Os4.1.6
    Aros-Aros-Aros.
  • »07.10.11 - 23:19
    Profile