kaneplusplus / bigmemory

126 stars 24 forks source link

Windows support #105

Open kaneplusplus opened 3 years ago

kaneplusplus commented 3 years ago

The Windows build is having trouble linking to the uuid library. If anyone could fix this it would be appreciated.

Enchufa2 commented 2 years ago

The Linux version fails too with the following message:

/usr/bin/ld: cannot find -luuid: No such file or directory

Please, correct me if I'm wrong, but you are relying on the R uuid package, and you call functions from there using R_GetCCallable, right? Because R packages cannot link to other R packages. So the -luuid should be dropped. The linker tries to find the system library, and fails if it's not present.

kaneplusplus commented 2 years ago

Thanks for pointing this out.

The call -luuid has been dropped from configure and we are re-running tests. I'll check the results this afternoon.

Enchufa2 commented 2 years ago

This is a build on Fedora 35, 36, 37 and rawhide without that flag: https://copr.fedorainfracloud.org/coprs/iucar/cran/build/4863403/. You can check the logs there if it's helpful.