search for: pexport

Displaying 14 results from an estimated 14 matches for "pexport".

Did you mean: export
2010 Oct 19
2
Creating a Windows import lib from R.dll (x64)?
Hello, The procedure for creating an import library (Rdll.lib) that is documented in gnuwin32/README.packages works fine using the i386 architecture, but it doesn't seem to work under x64. Specifically, the procedure is: pexports R.dll > R.exp lib /def:R.exp /out:Rdll.lib /machine:X86 R.dll There are two issues under x64: 1. Older version of pexports crash when applied to an x64 R.dll. The work-around is to use one of the newer versions that have been fixed (pexports-9.44, say). 2. When lib is applied to an x64...
2003 Oct 27
3
(PR#4806)
...ECT(ans = allocMatrix(REALSXP, nx, ny)); for(i = 0; i < nx; i++) { tmp = REAL(x)[i]; for(j = 0; j < ny; j++) REAL(ans)[i + nx*j] = tmp * REAL(y)[j]; } UNPROTECT(1); return(ans); } I created the lib file from the R.dll using pexports and lib i.e. pexports R.dll > RDLL.def lib /machine:i386 /def:RDLL.def /out:Rdll.lib Used the following def file LIBRARY TestDLL EXPORTS out =_out@8 Regards Laurie --please do not edit the information below-- Version: platform = i386-pc-mingw32 arch = i386 os = mingw32...
2005 Feb 09
2
[LLVMdev] Patches for MinGW Build instructions
...heCFE document. Specifically I'm thinking of: "If you want to compile the C/C++ frontend, then upgrade to texinfo-4.5+ from source." ... so I removed it. Also, I'm not sure what this is needed for: "If you need to create a library for an MS DLL, do the following: 1. pexports /C/WINNT/SYSTEM32/file.dll | sed "s/^_//" > /C/MinGW/lib/file.def 2. Edit file and append @<ordinal> to the missing function name 3. dlltool.exe -k -d /C/MinGW/lib/file.def -l /C/MinGW/lib/libfile.a." Henrik, can you elaborate on this? If this really is needed in...
2005 Sep 21
2
cdecl and stdcall
Hi, I'm trying to load a dynamic link library and it seems to work (is.loaded -> TRUE). When I run the function, which calls the .Fortran subroutine, R crashes! I'v tried the same in S-Plus 2000 and it worked. Therefore I suppose that the dll has been compiled with the stdcall calling convention (and not cdecl). But the problem is that I don't have access to the source code,
2004 Sep 29
1
[LLVMdev] Linking tblgen debug executable (without symbols)onMinGW
...lation... >\winnt\system32. If you do not have these libs, then you are out of >luck. Mingw should have provided them as they provided the matching >header files. Sometimes they are provided. But, if they aren't, you can follow this recipe: http://www.emmestech.com/software/cygwin/pexports-0.43/moron1.html Henrik _________________________________________________________________ Find det, du s�ger p� MSN S�g http://search.msn.dk
2007 Nov 09
1
Building Rdll.lib with Visual C++
>From the R-2.6.0/doc/README.packages it says: Using Visual C++ ================ You may if you prefer use Visual C++ to make the DLLs (unless they use Fortran source!). The notes here were tested with VC++6. First build the import library Rdll.lib by make R.exp ... In the installation (R-2.6.0-win32.exe) there is no Makefile with an R.exp target that I could find and I get
2005 Feb 09
0
[LLVMdev] Patches for MinGW Build instructions
...ontend, then upgrade to texinfo-4.5+ >from source." ... so I removed it. OK, I'll put the text there. I'll take a closer look later. >Also, I'm not sure what this is needed for: > >"If you need to create a library for an MS DLL, do the following: > > 1. pexports /C/WINNT/SYSTEM32/file.dll | sed "s/^_//" > >/C/MinGW/lib/file.def > 2. Edit file and append @<ordinal> to the missing function name > 3. dlltool.exe -k -d /C/MinGW/lib/file.def -l /C/MinGW/lib/libfile.a." It took me a while to find out how to generate miss...
2003 Dec 09
3
Interfacing R and Python in MS Windows
...ndows XP at work (the latter is where I need to get things done!) This are my packages: R 1.8.0 Python 2.3 RSPython 0.5-3 This is what I've done: (1) Since the Windows Binary of RSPython is compiled against Python 2.2 I downloaded the tarball (2) Followed the instructions in INSTALL.win (with pexports and everything) (3) In the RGUI "Install package(s) from local zip files..." (4) NO errors reported during this process (5) When I try to "Load package" in R it show this error: > local({pkg <- select.list(sort(.packages(all.available = TRUE))) + if(nchar(pkg)) library(p...
2004 Jul 01
1
linking .lib and/or .dll files
Hi, Linking C++ dynamic libraries has become the bane of my R life. I have a piece of C++ code that I would like to make into a .dll (to call into R). However, this piece of C++ code needs to be linked with a .dll or .lib - which I have been created in Visual C++. Is it possible to link this for use in R? If so, how do I go about doing this is MINGW? I am running R1.9.0 on WinXP. Any
2011 Dec 07
1
RSPython installation
Does anyone know if Is there a way to manually install RSPython? I get this error when I try to run the script from my DOS prompt. V:\>R CMD INSTALL -c C:/Users/gene.leynes/Downloads/RSPython_0.7-1.tar.gz * installing to library 'C:/Users/gene.leynes/Documents/R/win-library/2.13' * installing *source* package 'RSPython' ... **********************************************
2005 Feb 09
0
[LLVMdev] Patches for MinGW Build instructions
On Wed, 9 Feb 2005, Henrik Bach wrote: > Here is my first try to document, how to build the llvm suite for MinGW. The GettingStarted patch looks fine to me, and I've applied it here: http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20050207/023986.html The other patch does not look ok. In particular, it would be much better to submit patches to make MinGW work as much like
2005 Feb 09
1
[LLVMdev] Patches for MinGW Build instructions
...> from source." ... so I removed it. > > OK, I'll put the text there. I'll take a closer look later. > >> Also, I'm not sure what this is needed for: >> >> "If you need to create a library for an MS DLL, do the following: >> >> 1. pexports /C/WINNT/SYSTEM32/file.dll | sed "s/^_//" > >> /C/MinGW/lib/file.def >> 2. Edit file and append @<ordinal> to the missing function name >> 3. dlltool.exe -k -d /C/MinGW/lib/file.def -l /C/MinGW/lib/libfile.a." > > It took me a while to find ou...
2005 Feb 09
3
[LLVMdev] Patches for MinGW Build instructions
Hi, Here is my first try to document, how to build the llvm suite for MinGW. Henrik. ============================================================= Henrik Bach LLVM Open Source Developer e-mail: henrik_bach_llvm at hotmail.com ============================================================= 'Nothing is impossible; The impossible just takes longer time :)' - Inventor of a new energy saver
2006 Dec 04
2
Library file for the R engine in Windows?
Hi, I am trying to use dynamic memory allocation in the C code to be called by R through the .C interface. I have used R_alloc as explained in the Writing R Extensions and included the R.h header. The program compiles fine but fails when linking. Obviously it needs a library file where R_alloc is found. I have tried to link by adding R.dll to list of files at the end of the link command but