Re: [R-pkg-devel] Error in inDL(x, as.logical(local), as.logical(now), ...) unable to load shared object

2021-12-23 Thread Ezra Tucker
Hi Tomas and Dirk, Thanks for your suggestions! Between the two, got it working. I didn't know Windows didn't do rpath, I think that you're right that setting the PATH would have helped. I haven't seen that in an R package before, so I did what was in the Rblpapi package, which was creating a cou

[R-pkg-devel] Error in inDL(x, as.logical(local), as.logical(now), ...) unable to load shared object

2021-12-23 Thread Ezra Tucker
Hi R package developers, I'm developing an R package that wraps NREL's SSC library (https://sam.nrel.gov/), which involves including one header file and linking to one dll. Thus far it is only tested in linux (works just fine there) but I am having trouble building/installing on Windows. The pa