jhass / crystal-gobject

gobject-introspection for Crystal
BSD 3-Clause "New" or "Revised" License
127 stars 13 forks source link

[error] LibCairo::Rectangle compiling demo #42

Closed nodrygo closed 4 years ago

nodrygo commented 4 years ago

hello
first of all thank for this great work

trying the sample _gtksample.cr I got this error

crystal run samples/gtk_sample.cr 
Showing last frame. Use --error-trace for full trace.
In src/lib_cairo.cr:20:18
 20 | rectangles : LibCairo::Rectangle*
                   ^------------------
Error: undefined constant LibCairo::Rectangle

please note that crystal-gobject (another great work) samples work on my machine

is it a problem with my cairo release ?
my env. is

Linux Mint19  5.3.0-40-generic #32~18.04.1-Ubuntu SMP
libgtk 3.22.30 (standard installed)
libcairo, libcairo-gobject2   1.15.10

thanks for help

nodrygo commented 4 years ago

sorry bad list