lawremi / RGtk2

An Interface between R and GTK+
10 stars 9 forks source link

Install from source windows #5

Open adamrobinson361 opened 5 years ago

adamrobinson361 commented 5 years ago

Hi there,

I am trying to install RGtk2 on windows from source using install.packages('RGtk2', type='source') to emulate a packrat workflow where I need to restore old versions of RGtk2 from source.

When testing this on the version on cran I get the following error:

./RGtk2/gobject.h:7:18: fatal error: glib.h: No such file or directory
 #include <glib.h>

I have r tools installed and have makevars set up to point to local323 from here which has helped with a number of other package compilations from source.

It looks as though glib doesn't come with local323. Can I ask how you would set this up for a windows installation?

Kind Regards,

Adam

lawremi commented 5 years ago

Installing RGtk2 from source on Windows is not something I would recommend doing routinely. Please see the INSTALL file for instructions.