bytebrew/slope

Building under Cygwin

Opened this issue · 4 comments

Sorry if this is in the wrong place (or of no interest at all!)
Has anyone got Slope to build under Cygwin?
To cut a long story short, I get as far as:
[ 6%] Building C object slope/CMakeFiles/slope.dir/source/slope/chart.c.obj
In file included from C:/Users/Bruce/c/GTK/slope-master/slope/include/slope/chart.h:24:0,
from C:/Users/Bruce/c/GTK/slope-master/slope/source/slope/chart.c:21:
C:/Users/Bruce/c/GTK/slope-master/slope/include/slope/view.h:24:10: fatal error: gtk/gtk.h: No such file or directory

Presumably it's not -I'ing the appropriate directory (but I don't know what the cc command is).
$ find /usr/include/ -name gtk.h
/usr/include/gtk-2.0/gtk/gtk.h
/usr/include/gtk-3.0/gtk/gtk.h

Hi Bruce,
(Small correction if you received my erroneous comment just before.)
I managed to build it under MSYS2 (I gave up on Cygwin).
Have a look at my project that's using Slope:
https://github.com/novakpetrovic/farmafit
and contact me if you need any further assistance (it was a while back though).
Cheers