Skip to content
Prev 22475 / 63424 Next

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