bnprks / BPCells

Scaling Single Cell Analysis to Millions of Cells
https://bnprks.github.io/BPCells
Other
166 stars 17 forks source link

Installed but unable to load #64

Closed mxyoyeme closed 3 weeks ago

mxyoyeme commented 10 months ago

Error: package or namespace load failed for ‘BPCells’ in inDL(x, as.logical(local), as.logical(now), ...): unable to load shared object 'D:/Program Files/R/R-4.3.2/library/BPCells/libs/x64/BPCells.dll': LoadLibrary failure: failure of dll initialization

bnprks commented 10 months ago

Hi, I'm not sure what's happening here, though I'd be happy to go back and forth to try figuring out what's happening. For me at least on R 4.2 I'm able to install on Windows with no problem. If you have more details to provide in the error message that would be appreciated. Also -- what version of RTools did you use to build the package, and did you see any errors/warnings during the package installation process?

Otherwise I'll refer you to the answer I gave to issue #63:

The log that you've provided doesn't show enough information to see what's going wrong, so I can't say for sure what's wrong.

It does look like you're installing on Windows, so I'd just double-check you've got everything needed to compile BPCells on Windows, namely installing R tools for Windows. See https://github.com/bnprks/BPCells/issues/9 for more discussion.

Another option that might work for you would be to install a pre-compiled version of BPCells from my R-universe page: install.packages('BPCells', repos = c('https://bnprks.r-universe.dev', 'https://cloud.r-project.org'))

Let me know if you have some more details to provide and we can try debugging a bit more from there

immanuelazn commented 3 weeks ago

Closing due to inactivity