Linking my VC++ application with the standalone Rmath library yields the
following;

 

------ Build started: Project: Complex plugin, Configuration: Debug
Win32 ------

 

Linking...

   Creating library .\../Debug/complex_plugin.lib and object
.\../Debug/complex_plugin.exp

libRmath.a(mlutils.o) : warning LNK4217: locally defined symbol __iob
imported in function _REprintf

libRmath.a(dbeta.o) : error LNK2019: unresolved external symbol _log1p
referenced in function _dbeta

libRmath.a(qbeta.o) : error LNK2019: unresolved external symbol _log1p
referenced in function _qbeta

libRmath.a(lbeta.o) : error LNK2019: unresolved external symbol _log1p
referenced in function _lbeta

libRmath.a(toms708.o) : error LNK2001: unresolved external symbol _log1p

libRmath.a(qbeta.o) : error LNK2019: unresolved external symbol _expm1
referenced in function _qbeta

libRmath.a(mlutils.o) : error LNK2019: unresolved external symbol
___fpclassify referenced in function _R_pow

../Debug/complex_plugin.dll : fatal error LNK1120: 3 unresolved
externals

 

Build log was saved at "file://c:\starting point\Debug\BuildLog.htm"

Complex plugin - 7 error(s), 1 warning(s)

 

 

---------------------- Done ----------------------

 

    Build: 0 succeeded, 1 failed, 0 skipped

 

At first glance, it looks like C:\Rtools\MinGW\lib\libm.a is missing.
After adding it to my project properties, the results are the same. It
looks like VC++ is OK with GNU libraries because it appears to accept
libRmath which was built on the same machine using Rtools. Also it does
not appear to be a configuration issue, because it's only found
'C:\Rtools\MinGW\lib' and VC+ is complaining about not finding it.

 

Any ideas?

 

Oran

 


        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to