Closed SylvainCorlay closed 3 months ago
So we are now failing at the next step (configure passes, but build does not).
It tries to link with the .dll files instead of the companions .lib files.
Yeah, FindR returns the DLLs.
Oh. So maybe FindR
needs more logic to deal with windows. We can probably take some inspiration from how they do it for RInside
with the windows specific Makefile.win
file:
https://github.com/eddelbuettel/rinside/blob/master/inst/examples/standard/Makefile.win
Moving the 🪡 a bit, now with this error :
D:\a\xeus-r\xeus-r\src\xinterpreter.cpp(28): fatal error C1083: Cannot open include file: 'Rinterface.h': No such file or directory
The Rinterface.h
file is unix only, we're going to need to set the callbacks differently on windows. See https://vscode.dev/github/rstudio/rstudio/blob/main/src/cpp/r/session/REmbeddedWin32.cpp for how Rstudio does it.
Attempting to fix the Windows build.