Re: [R] Using packages built in linux in windows

2010-09-01 Thread Ben Bolker
rajesh j gmail.com> writes: > I thought building a binary took care of that issue. How do I port a linux > library to windows? I think we need a little clarification here. When you say "a linux library", do you mean a chunk of compiled (non-R) code that the R package (sic) needs to use in or

Re: [R] Using packages built in linux in windows

2010-09-01 Thread rajesh j
Unfortunately, the library is built with visual studio in windows. It doesnt work with MinGW. On Wed, Sep 1, 2010 at 9:35 PM, Jeff Newmiller wrote: > Normally, a binary package built on one platform will not work on another. > While it is possible to cross-compile, in most cases it is best to ass

Re: [R] Using packages built in linux in windows

2010-09-01 Thread Jeff Newmiller
Normally, a binary package built on one platform will not work on another. While it is possible to cross-compile, in most cases it is best to assemble the necessary development environment oNoten the target platform (including the appropriate libraries compiled for that platform) and build the p

Re: [R] Using packages built in linux in windows

2010-09-01 Thread Duncan Murdoch
On 01/09/2010 11:51 AM, rajesh j wrote: I thought building a binary took care of that issue. How do I port a linux library to windows? Building a binary package links the package to the library, but if the library doesn't exist, there's nothing to link to. Porting a Linux library to Windo

Re: [R] Using packages built in linux in windows

2010-09-01 Thread rajesh j
I thought building a binary took care of that issue. How do I port a linux library to windows? On Wed, Sep 1, 2010 at 9:12 PM, Duncan Murdoch wrote: > On 01/09/2010 11:34 AM, rajesh j wrote: > >> This problem doesnt seem to have anything to do with Rcpp. I can't build >> it >> on windows because

Re: [R] Using packages built in linux in windows

2010-09-01 Thread Duncan Murdoch
On 01/09/2010 11:34 AM, rajesh j wrote: This problem doesnt seem to have anything to do with Rcpp. I can't build it on windows because I'm using a library thats only available in linux. Isnt this a resolvable error? The resolution looks pretty obvious: port the library to Windows. Duncan M

Re: [R] Using packages built in linux in windows

2010-09-01 Thread rajesh j
This problem doesnt seem to have anything to do with Rcpp. I can't build it on windows because I'm using a library thats only available in linux. Isnt this a resolvable error? On Wed, Sep 1, 2010 at 9:07 PM, wrote: > Hi, > > The proper venue for Rcpp related questions is the Rcpp-devel mailing l

Re: [R] Using packages built in linux in windows

2010-09-01 Thread romain
Hi, The proper venue for Rcpp related questions is the Rcpp-devel mailing list: http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel Of course you can build a package that uses Rcpp on windows, once all the proper tools are installed, it is just the same as building it on any

[R] Using packages built in linux in windows

2010-09-01 Thread rajesh j
Hi, I built a package in linux and would like to use it in windows. I cant build the package again in windows because it would miss the necessary libraries etc(I'm using Rcpp). So I need to generate a binary version and try to install it in windows. I tried this and I get the error /cygdrive/RToo