[R-pkg-devel] Preparing for R 4.2.0 and UCRT via MXE builds

Tomas Kalibera tom@@@k@||ber@ @end|ng |rom gm@||@com
Tue Apr 5 08:55:32 CEST 2022


On 4/4/22 20:46, Dirk Eddelbuettel wrote:
> Is anybody else looking into trying to come to terms with MXE for
> cross-compiling for UCRT for R 4.2.0 and its updated Windows toolchain?  I
> have been bugging Tomas in private email for a bit and figured it might be
> useful to spread the load a little.
>
> Is anybody else looking into this?  Any interest in pooling resources around
> some virtual meeting place? New mailing list? Or an ad-hoc slack (or channel
> on existing one)?
>
> Dirk
>
> PS My current status:
> - MXE installed on Ubuntu as cross-compilation. Pretty straightforward.
> - One initial test build (using cmake) failed:
>       fatal error: Windows.h: No such file or directory

It might be you will have to patch the software for this one (to 
"windows.h"). Some software doesn't get regularly built on case 
sensitive filesystems.

See the "src" directory of MXE, grepping the ".patch" files,
grep Windows\.h *patch

for adaptations that had to be done for some software already

Best
Tomas

> - Another of a known cmake-using library (nlopt) succeeded. Good.
>



More information about the R-package-devel mailing list