Dear Prof. Ripley, thanks for your prompt answer. But under MS Visual Studio there is no make utility (nmake is used to link C++ projects from makefiles). So is it possible to create R.lib with MS Visual Studio or should I install some other compiler for that (gnuwin?)?
Best Regards, Juri Prof Brian Ripley <[EMAIL PROTECTED] .uk> An [EMAIL PROTECTED] 20.10.2006 10:34 Kopie r-devel@r-project.org Thema Re: [Rd] R.lib for MS Visual C++ On Fri, 20 Oct 2006, [EMAIL PROTECTED] wrote: > > 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? It actually says: You may if you prefer use Visual C++ to make the DLLs (unless they use Fortran source!). First build the import library Rdll.lib by make R.exp lib /def:R.exp /out:Rdll.lib in current versions of R. (Please note what the posting guide says about updating *before* posting.) -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel