search for: rdll

Displaying 20 results from an estimated 37 matches for "rdll".

Did you mean: dll
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 (using Cygwin's make): $ pwd /c/Program Files/R/R-2.6.0/src/gnuwin32 $ make R.exp make: *** No rule to make target `R.exp'. Stop. I found a R.exp targe...
2004 May 07
1
Error compiling ROracle on Windows 2000
...\\include /MT /Ox /D "MSVC" /D " WIN32" /c RS-Oracle.c Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86 Copyright (C) Microsoft Corp 1984-1998. All rights reserved. RS-Oracle.c NMAKE : fatal error U1073: don't know how to make '\src\\gnuwin32\\Rdll.lib' Stop. Here is a copy of my Makefile: R_HOME = "C:\\Program Files\\R\\rw1090" ORACLE_HOME = C:\\oracle\\oracle92 SRC = RS-DBI.h RS-DBI.c RS-Oracle.h RS-Oracle.pc S4R.h RLIB = $(R_HOME)\\src\\gnuwin32\\Rdll.lib OBJ = RS-DBI.obj RS-Oracle.obj ## ## The Oracle ProC/C++ precompi...
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 pexp...
2001 Jan 30
4
Link with C code
Hello, I am using cygwin (latest version) and I managed to generate a dll partly with rcmd shlib although there was a problem with both the resouce file (I had to remove "FILEOS VOS__WINDOWS32") and the command line for gcc (--shared is not supported for instance). So I would like to know which compiler/environment you advise to use for windows OS. Then I could load the library in R
2004 May 28
1
About creating an import library
...of all, I found R.exp. Thanks. The following is a paragraph I copied from Venables and Ripley’s book “S programming” on Page242. If the code calls entry points in the R engine, create an import library from the file R.exp in the source-package distribution by lib /def: R.exp /machine: ix386 /out: Rdll.lib and add Rdll.lib to the link command or add it to the libraries to be used in the IDE. My problems are: 1. Why do we need an import library? (a very basic question) 2. What is R.exp? 3. After I copied the R.exp to C:\ and run “lib /def: R.exp /machine: ix386 /out: Rdll.lib”, the error messag...
2003 Oct 27
3
(PR#4806)
...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 system = i386, mingw32 status = major...
2008 May 01
3
Error in building ROracle in Windows with R 2.6.2 and Oracle 10g.
...aded ROracle src from below: http://cran.r-project.org/web/packages/ROracle/index.html When I was following the build instructions to run the makefile Makefile.win I got the following error: NMAKE : fatal error U1073: don't know how to make 'c:\\PROGRA~1\\R\\R-2.6.2\\src\\gnuwin32\\Rdll.lib' I did not see Rdll.lib anywhere. Do I need to have the src for R as well ? Can anyone provide me a detailed instruction for building ROracle or is there a place where I can get a pre compiled binary for Oracle 10g ? I had sent an email to the maintainer of the package but have not got an...
2003 Apr 17
1
C function and Windows XP
Hi dear R developer, we are trying to build DLL files using Microsoft Visua= l C++. As stated in readme.packages we have to build first the import libra= ry Rdll.lib with the command: lib(def:R.exp/out:Rdll.lib. However, this com= mand gives 2155 errors due to unresolved external symbols (ATTRIB to zlibVe= rsion) in R.exp.Could anybody tell me if something is missing in the comman= d line or suggest any new operation with MVC++ knowing that in R manuals we=...
2006 Oct 20
1
R.lib for MS Visual C++
Hello, I'm trying to compile a library in MS Visual C++ using R.dll. For that, I need R.lib for linking. Where can I get it? "Readme.packages" for R says: "First build the import library R.lib by lib /def:R.exp /out:Rdll.lib" But for this, I need R.exp, that is also not provided with R installation (Lib.exe output: LIB : fatal error LNK1104: cannot open file "R.exp") So how can I get R.lib? Thanks for your help. Best Regards, Juri
2007 Mar 29
1
Using functions in LAPACK in a C program
...compiled without problems. However, when it is linked to produce a DLL file, I get an error message Test.obj : error LNK2001: unresolved external symbol _dgesdd_ Test.dll : fatal error LNK1120: 1 unresolved externals I use VC++6.0 and the command of linking is something like this link.exe Rdll.lib /nologo /dll /out:Test.dll /libpath:C:\R\R-2.2.1\src\gnuwin32 Test.obj Apparently, the linker cannot resolve dgesdd from Rdll.lib. If anyone knows what I missed here or any example that shows how this can be done properly, please let me know. Thanks a lot. Paul. _________________________...
2003 May 05
1
R-1.7.0: Rproxy.dll loadlibrary/freelibrary error (PR#2914)
...Here is a C program that can be used to reproduce the error: (the files SC-Proxy.h, Defn.h, Rinternals.h etc.. are to be included in the path - see StatConnector.cpp in the (D)COM server example) #include "windows.h" #include "stdio.h" #include "SC_Proxy.h" #define RDLL "Rproxy.dll" struct _SC_Proxy_Object* m_ProxyObject; HMODULE m_ProxyModule; #define SERVER_MAJOR_VERSION "1" #define SERVER_MINOR_VERSION "2" #define SCN_IERR_INTERFACENOTFOUND 0x81000000 #define SCN_IERR_LIBRARYNOTFOUND 0x81000001 #define SCN_IERR_INVA...
2010 Dec 02
1
Strange problems with compiling dll
...ease\conv.o:conv.c|| undefined reference to `Rf_ScalarInteger'| obj\Release\conv.o:conv.c|| undefined reference to `Rf_ScalarInteger'| obj\Release\conv.o:conv.c|| undefined reference to `Rf_ScalarInteger'| ||=== Build finished: 5 errors, 0 warnings ===| I found out that I need to link Rdll.lib, but to make it I should use these instructions make R.exp lib /def:R.exp /out:Rdll.lib but i cannot figure out where I should use them. I'm trying from here C:\Rtools\src\gnuwin32 but each time i get make: *** No rule to make target `R.exp'. Stop. So where should I state this rul...
2008 Apr 29
1
Error in building ROracle in Windows with R 2.6.2 and Oracle 10g.
...ckages/ROracle/index.html I am using R version 2.6.2 and Oracle 10g. I followed the instructions to build ROracle. When I try to compile the source src/Makefile.win I get the following error: NMAKE : fatal error U1073: don't know how to make 'c:\\PROGRA~1\\R\\R-2.6.2\\src\\gnuwin32\\Rdll.lib' I could figure out what is the purpose of 'Rdll.lib' and where am I supposed to get it from. I do not see that file in the gnuwin32 directory. How would I create the file ? I am stuck now. Can you suggest me what should I do to get ROracle to compile in R 2.6.2 with Oracle 10g ?...
2010 Dec 03
1
Strange problems with compiling dll
...ease\conv.o:conv.c|| undefined reference to `Rf_ScalarInteger'| obj\Release\conv.o:conv.c|| undefined reference to `Rf_ScalarInteger'| obj\Release\conv.o:conv.c|| undefined reference to `Rf_ScalarInteger'| ||=== Build finished: 5 errors, 0 warnings ===| I found out that I need to link Rdll.lib, but to make it I should use these instructions make R.exp lib /def:R.exp /out:Rdll.lib but i cannot figure out where I should use them. I'm trying from here C:\Rtools\src\gnuwin32 but each time i get make: *** No rule to make target `R.exp'. Stop. So where should I state this rule...
2014 Jul 19
1
patch about mingwbuild 4.9.1
...$(OBJS) $(OBJS-EXTRA) $(MAINLIBS) $(EXTRALIBS) dllversion.o  @$(ECHO) EXPORTS > R.def -@$(NM) $^ | $(SED) -n  $(SYMPAT) | LC_COLLATE=C $(SORT) | uniq > R0.def +@$(NM) $^ | $(SED) -n  $(SYMPAT) | LC_COLLATE=C $(SORT) | uniq |$(SED) '/.refptr./d' > R0.def  @$(SED) -e's/@.*//' Rdll.hide | LC_COLLATE=C $(SORT) > R1.def  @LC_COLLATE=C comm -23 R0.def R1.def >> R.def  $(DLL) -shared $(DLLFLAGS) $($*-DLLFLAGS) -o $@ R.def $^ $($*-DLLLIBS) $(DLLLIBS) @@ -156,7 +156,7 @@  else  R.dll: $(OBJS) $(OBJS-EXTRA) $(MAINLIBS) $(EXTRALIBS) dllversion.o  @$(ECHO) EXPORTS > R.def...
2007 Jun 28
1
How to set R_CStackLimit
...#if (R_VERSION >= R_Version(2,3,0)) #define R_INTERFACE_PTRS 1 #define CSTACK_DEFNS 1 #include <Rinterface.h> #endif and then, add below line to my main function: R_CStackLimit = (uintptr_t)-1; //crashes when step to this line. As for input library in link option, I only link to Rdll.lib. Am I missing something? Thanks very much! xzhang -- View this message in context: http://www.nabble.com/How-to-set-R_CStackLimit-tf3993070.html#a11338977 Sent from the R devel mailing list archive at Nabble.com.
2006 Dec 04
2
Library file for the R engine in Windows?
...d 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 that did not work either. The S Programming book mentions that a library Rdll.lib needs to be built from source, but I am not sure if this is still the recommended route. I am using Microsoft Visual C++ Toolkit in Windows XP Pro. Thank you for any advice. Christos Hatzis, Ph.D. Nuvera Biosciences, Inc. 400 West Cummings Park Suite 5350 Woburn, MA 01801 Tel: 781-938-383...
2019 Jul 13
2
Mitigating Stalls Caused by Call Deparse on Error
...s and `make check-devel` passes. I can file an issue on bugzilla if that is a better place to have this conversation (assuming there is interest in it). Best, Brodie PS: for some reason my mail client is refusing to attach the patch so I paste it starting on the next line. Index: src/gnuwin32/Rdll.hide =================================================================== --- src/gnuwin32/Rdll.hide?? ?(revision 76827) +++ src/gnuwin32/Rdll.hide?? ?(working copy) @@ -94,6 +94,7 @@ ? R_GetMaxNSize ? R_GetMaxVSize ? R_GetTraceback + R_GetTracebackParsed ? R_GetVarLocSymbol ? R_GetVarLocValue ? R_H...
2019 Jul 14
2
[External] Mitigating Stalls Caused by Call Deparse on Error
...an issue on bugzilla > if that is a better place to have this conversation (assuming there > is interest in it). > > Best, > > Brodie > > PS: for some reason my mail client is refusing to attach the patch so I paste it > starting on the next line. > Index: src/gnuwin32/Rdll.hide > =================================================================== > --- src/gnuwin32/Rdll.hide?? ?(revision 76827) > +++ src/gnuwin32/Rdll.hide?? ?(working copy) > @@ -94,6 +94,7 @@ > ? R_GetMaxNSize > ? R_GetMaxVSize > ? R_GetTraceback > + R_GetTracebackParsed >...
2003 Apr 18
0
Compiling with Microsoft Visual C++
Dear R developer, we are trying to build DLL files using Microsoft Visual C++. As stated in readme.packages, we have to build first the import library Rdll.lib with the command: lib /def:R.exp /out:Rdll.lib. However, this command gives 2155 errors due to unresolved external symbols (ATTRIB to zlibversion) in Rexp. Could anybody tell me if something is missing in the command line or suggest any new operation knowing that for building DLL files with MV...