-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LoadLibrary failure: The specified module could not be found #171
Comments
Tagging @muschellij2 |
Use dependency walker on your laptop to see which DLLs are needed. |
Check out https://stackoverflow.com/questions/13497222/the-specified-module-could-not-be-found-in-r for some help Likely unrelated, but I saw Python failure in the check (does ROpenCVLite require Python 3.2 now?)
|
@gaborcsardi Thanks! Not sure why but Dependency Walker just hangs and becomes not responsive when I try to open the Rvision.dll file. |
@muschellij2 Yeah, I saw that. See my answer to @gaborcsardi above. Dependency Walker doesn't seem to be of much use as it just hangs and never produces any output. Re: Python. I believe it doesn't matter in this case. OpenCV compiles just fine. I'm pretty sure it's another library that's missing. |
@gaborcsardi I figured out how to get Dependency Walker after all. I'm just an idiot apparently :-) I'm closing this now because the missing dll are not related to r-appveyor I believe. |
Reopening this issue. As stated before, there is an error during this stage of the Any idea why the installation process would fail during |
Did you try to set up an appveyor build that ran the installer on that
system?
On Sun, Dec 29, 2019 at 12:38 AM Simon Garnier ***@***.***> wrote:
Reopening this issue. As stated before, there is an error during this
stage of the R CMD check process: * checking whether package 'Rvision'
can be installed ... ERROR. The error is due to apparently missing OpenCV
DLLs (OpenCV being compiled through ROpenCVLite) as reported by Dependency
Walker. However, the DLLs are actually present on the appveyor system at
their expected location. Furthermore, when using remotes::install_github,
everything goes well and the package can be compiled, installed and loaded
without any issue on the appveyor system. Finally, R CMD check does not
report any error on my local Windows 10 laptop.
Any idea why the installation process would fail during R CMD check on
appveyor but not during remotes::install_github?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#171?email_source=notifications&email_token=AAIGPLSONQPDANGXCNI55RDQ3AZUJA5CNFSM4J65SUKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHYYNYI#issuecomment-569476833>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIGPLUFJ2VZBVAYRRE73KLQ3AZUJANCNFSM4J65SUKA>
.
--
Best,
John
|
@muschellij2 Yes, it's exactly what I did. No issue to install and load the package. The problem only appears during |
Can you try without stages installation
The ‘StagedInstall’ logical field controls if package installation is
‘staged’, that is done to a temporary location and moved to the final
location when successfully completed. This field was introduced in R 3.6.0
and it true by default: it is considered to be a temporary measure which
may be withdrawn in future.
On Sun, Dec 29, 2019 at 6:36 PM Simon Garnier ***@***.***> wrote:
@muschellij2 <https://github.com/muschellij2> Yes, it's exactly what I
did. No issue to install and load the package. The problem only appears
during R CMD check on appveyor.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#171?email_source=notifications&email_token=AAIGPLRFPO6ST5LUMBAVM4TQ3EYBHA5CNFSM4J65SUKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHZK4AQ#issuecomment-569552386>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIGPLR6T2UUFBVRQB3VPK3Q3EYBHANCNFSM4J65SUKA>
.
--
Best,
John
|
@muschellij2 No luck with a non-staged installation. It fails on appveyor with the same error. Still no problem on my local Windows 10 machine. |
This happens during the installation check for Rvision (https://ci.appveyor.com/project/sjmgarnier/rvision):
The package relies on OpenCV being compiled through ROpenCVLite (installed from CRAN) first, but I'm pretty certain that the problem is not there as this step goes smoothly and there are no compilation error during the installation of Rvision (the compilation part concludes with
installing to C:/projects/rvision/Rvision.Rcheck/00LOCK-Rvision/00new/Rvision/libs/x64
). Also, I don't have this issue when compiling on my Windows 10 laptop (it passes all tests), so I'm assuming the problem lies with the Windows version shipping with appveyor (Windows Server 2012 R2) and a missing dll somewhere. Is there a way to find out which dll is missing in the appveyor config? I'm not too well versed in developing for Windows, so any guidance would be very much appreciated.Thanks for your help!
The text was updated successfully, but these errors were encountered: