Re: [R] package compilation: including external libraries in windows compilation

2008-04-25 Thread Prof Brian Ripley
The standard C define is WIN32, not Win32 (which R uses as private define). You could have PKG_CPPFLAGS=-DWin32 in Makevars.win, but this is unnecessary. See e.g. Rmath.h. On Fri, 25 Apr 2008, Jonathan Lees wrote: > Dear R package developers: > > I need help on getting a package compiled for

[R] package compilation: including external libraries in windows compilation

2008-04-25 Thread Jonathan Lees
Dear R package developers: I need help on getting a package compiled for windows. I am trying to use definitions and routines from a set of libraries in that are in LINUX under #include #include #include #include but these are unavailable in windows. I found that we can get these by including