On 02/09/2010 6:46 AM, raje...@cse.iitm.ac.in wrote:
It is dependent on another dll but it did not give compilation errors. It seemed to link fine at that point. Why does it have a problem at this stage?

Windows needs to be able to find the other DLL at load time. It will find it if it's in the same directory or on the PATH.

Duncan Murdoch



From: "Duncan Murdoch" <murdoch.dun...@gmail.com> To: raje...@cse.iitm.ac.in Cc: "r-help" <r-help@r-project.org> Sent: Thursday, September 2, 2010 4:05:14 PM Subject: Re: [R] R CMD check Package(Windows): Error in inDL(x, as.logical(local), as.logical(now), ...) : On 02/09/2010 2:29 AM, raje...@cse.iitm.ac.in wrote:
Hi, I've built my own package in windows and when I run R CMD check Package-Name I get, * install options are ' --no-html' * installing *source* package 'AceTest' ... ** libs making DLL ... g++ ...etc. installing to <PATH> ... done ** R ** preparing package for lazy loading ** help Warning: ./man/AceTest-package.Rd:34: All text must be in a section Warning: ./man/AceTest-package.Rd:35: All text must be in a section *** installing help indices ** building package indices ... ** testing if installed package can be loaded Error in inDL(x, as.logical(local), as.logical(now), ...) : unable to load shared library 'H:/RTick/Project/Client/AceTest.Rcheck/AceTest/libs/AceTest.dll': LoadLibrary failure: The specified module could not be found. ERROR: loading failed

The message "The specified module could not be found" comes from Windows. It probably means that your dll depends on some other dll and the other one is unavailable, but it might mean that AceTest.dll itself can't be loaded (permission problems, defective dll, etc.) In some cases Windows will pop up a dialog box with more information than that skimpy message, e.g. if you install the package and try to run library(AceTest) from within Rgui. Duncan Murdoch

* removing 'H:/RTick/Project/Client/AceTest.Rcheck/AceTest'

can someone point out what went wrong? [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.



______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to