Re: [Rd] Problems in building a DLL in 64-bit Windows

2011-12-12 Thread Uwe Ligges
On 12.12.2011 21:12, ruipbarra...@sapo.pt wrote: Prof. Ripley, Thank you for your suggestion. In the mean time, I had just found a solution and was going to send a mail saying that the problem was solved when I read your answer, and others. The 'ddl' is obviously not the actual output, DOS

Re: [Rd] Problems in building a DLL in 64-bit Windows

2011-12-12 Thread ruipbarradas
Prof. Ripley, Thank you for your suggestion. In the mean time, I had just found a solution and was going to send a mail saying that the problem was solved when I read your answer, and others. The 'ddl' is obviously not the actual output, DOS doesn't allow copy&paste. The solution is to use th

Re: [Rd] Problems in building a DLL in 64-bit Windows

2011-12-12 Thread Uwe Ligges
On 12.12.2011 14:12, ruipbarra...@sapo.pt wrote: I am trying to build a C language DLL and it works well with i386 but when I compile with it substituted by x64, like the FAQ page says, the result is an error message: C:/PROGRA~1/R/R-214~1.0/bin/x64/R.ddl: What is R.ddl? Do you mean R.dll?

Re: [Rd] Problems in building a DLL in 64-bit Windows

2011-12-12 Thread Prof Brian Ripley
What is R.ddl? Or is that not the actual output? In any case, it isn't going to work unless you run 64-bit 'R', and my guess is that you used 32-bit 'R' to do this. Make sure you use /bin/x64/R CMD and you do not need the -L On Mon, 12 Dec 2011, ruipbarra...@sapo.pt wrote: I am

[Rd] Problems in building a DLL in 64-bit Windows

2011-12-12 Thread ruipbarradas
I am trying to build a C language DLL and it works well with i386 but when I compile with it substituted by x64, like the FAQ page says, the result is an error message: C:/PROGRA~1/R/R-214~1.0/bin/x64/R.ddl: file not recognized : File format not recognized collect2: ld returned 1 exit status H