Skip to content
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

package or namespace load failed for 'wholebrain' in inDL(x, as.logical(local), as.logical(now), ...): unable to load shared object #53

Open
mast13f opened this issue Jun 14, 2024 · 2 comments

Comments

@mast13f
Copy link

mast13f commented Jun 14, 2024

Hi,
Thanks for you fantastic work! I had an issue while trying to install the wholebrain. I'm running on Windows 11 with R version 4.3.3 and Rtool43.

installing to C:/Users/heyeh/AppData/Local/R/win-library/4.3/00LOCK-wholebrain/00new/wholebrain/libs/x64
** R
** data
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for 'wholebrain' in inDL(x, as.logical(local), as.logical(now), ...):
 unable to load shared object 'C:/Users/heyeh/AppData/Local/R/win-library/4.3/00LOCK-wholebrain/00new/wholebrain/libs/x64/wholebrain.dll':
  LoadLibrary failure:  The specified module could not be found.

Error: loading failed
Execution halted
ERROR: loading failed
* removing 'C:/Users/heyeh/AppData/Local/R/win-library/4.3/wholebrain'
Warning message:
In i.p(...) :
  installation of package ‘C:/Users/heyeh/AppData/Local/Temp/RtmpOeXyGh/file4b843a855984/wholebrain_0.1.1.tar.gz’ had non-zero exit status

Any ideas why?

@harrisonturner0
Copy link

I'm having a similar issue, did you ever figure out a solution?

@tractatus
Copy link
Owner

@mast13f and @harrisonturner0 the error indicates that the created shared library wholebrain.dll cant find either FFTW or OpenCV on your system. I would check that they are installed and that you have added them to your PATH variable in Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants