-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building under Cygwin #24
Comments
Hi Bruce, |
Hi, Novak.Thanks for the suggestion.
I installed MSYS2 last night. It took hours and 4.6 gigabytes(!) and that doesn't seem to include a C compiler!
I'll have another attempt at getting Slope (and my GTK programs) build later, when I've recovered from the shock :-)
On Friday, 6 September 2019, 18:02:48 BST, Novak Petrovic <notifications@github.com> wrote:
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
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Ah! There was a C compiler installed... in /mingw64/bin, which wasn't on the path.
|
Me again!I've got as far as running `make` to make Slope. It ends with:[ 60%] Linking C shared library libslope.dll
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/slope.dir/objects.a(chart.c.obj):chart.c:(.text+0x11): undefined reference to `g_type_class_peek_parent'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/slope.dir/objects.a(chart.c.obj):chart.c:(.text+0x32): undefined reference to `g_type_class_adjust_private_offset'
:
<lots more similar lines>
:
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles/slope.dir/objects.a(xyseries.c.obj):xyseries.c:(.text+0x1190): undefined reference to `g_type_instance_get_private'
collect2.exe: error: ld returned 1 exit status
make[2]: *** [slope/CMakeFiles/slope.dir/build.make:248: slope/libslope.dll] Error 1
make[1]: *** [CMakeFiles/Makefile2:97: slope/CMakeFiles/slope.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Any ideas?
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: