-
Notifications
You must be signed in to change notification settings - Fork 28
Troubleshooting
Atif Aziz edited this page Oct 17, 2017
·
1 revision
> library(rClr)
Loading library assuming MS.NET
Loading dynamic library with short file name rClr
Error : .onLoad failed in loadNamespace() for 'rClr', details:
call: inDL(x, as.logical(local), as.logical(now), ...)
error: unable to load shared object 'C:/bin/R/R/library/rClr/libs/i386/rClr.dll':
LoadLibrary failure: The specified module could not be found.
See section "Microsoft Visual C++ runtime" in Installing R packages
gcc -I"C:/bin/R/R/include" -DNDEBUG etc.
/usr/bin/sh: gcc: command not found
Yet RTools's gcc is in the path:
$ which gcc
/cygdrive/c/Rtools/gcc-4.6.3/bin/gcc
Use R CMD check
from a DOC prompt, instead of from a cygwin terminal. For some bizarre reason, the latter mucks something up.
"F:\codeplex\r2clr\packages\rClr\src\rClr.sln" (Build target) (1) ->
"F:\codeplex\r2clr\packages\rClr\src\rClr.vcxproj" (default target) (2) ->
(PlatformPrepareForBuild target) ->
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets(42,5): error MSB8020: The builds tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install Visual Studio 2010 to build using the Visual Studio 2010 build tools. [F:\codeplex\r2clr\packages\rClr\src\rClr.vcxproj]
"F:\codeplex\r2clr\packages\rClr\src\rClr.sln" (Build target) (1) ->
"F:\codeplex\r2clr\packages\rClr\src\rClr.vcxproj" (default target) (2) ->
(Link target) ->
LINK : fatal error LNK1207: incompatible PDB format in 'F:\codeplex\r2clr\packages\rClr\src\x64\Debug\rClr.pdb'; delete and rebuild [F:\codeplex\r2clr\packages\rClr\src\rClr.vcxproj]