Re: [Rcpp-devel] Linking to GLPK

2016-06-09 Thread Qiang Kou
Hi, Tiago, You need a Makevars file and I think you can use [1] for reference. You need to let R know where to find the header files and lib. Best, KK [1] https://github.com/cran/Rglpk/blob/master/src/Makevars.win On Thu, Jun 9, 2016 at 8:36 AM, Tiago Fragoso wrote: > Hello, > > I've been tr

Re: [Rcpp-devel] Linking to GLPK

2016-06-09 Thread Tiago Fragoso
Hello, I've been trying to use glpk with Rcpp on Windows, to no avail. Is there any way to directly link to GLPK from a C++ source file (like simply using #include )? I am aware that there are packages that use GLPK in R (Rglpk or glpkAPI for example), but I also got no clues from their source f