Skip to content

Rmath library problems

2 messages · Anders Brix Jensen, Brian Ripley

#
On Mon, 25 Jul 2005, Anders Brix Jensen wrote:

            
What is `it'?  No interpretation I can make quite corresponds to the later 
comments.
Probably the last.
These are actually statements about the linkers when linking against 
Rmath.dll, and not about compiling Rmath.  You should be linking a main 
function compiled under VC++ against a VC++ import library (which you can 
make from Rmath.def by lib /def:Rmath.def /out:Rmath.lib).  Then

cl /MT /Ox  /I..\..\include test.c Rmath.lib

works for me without any errors.

You can find all the background and hints in README.packages.