I'm trying to build racket on mingw64, and get this error that I don't understand:
make[8]: Entering directory '/home/rrt/repo/racket/racket/src/build/racket/gc2'
env XFORM_PRECOMP=yes ../racketcgc -G /home/rrt/repo/racket/build/config -O "info@compiler/cm error" -l- setup --boot /home/rrt/repo/racket/racket/src/build/../racket/gc2/../../setup-go.rkt ../../compiled --tag ++out /home/rrt/repo/racket/racket/src/build/../racket/gc2/xform-mod.rkt --depends --cpp "gcc -E -I./.. -I/home/rrt/repo/racket/racket/src/build/../racket/gc2/../include -I/home/rrt/repo/racket/racket/src/build/../racket/gc2/../../rktio -I../../rktio -g -O2 -IC:/msys64/mingw64/lib/libffi-3.2.1/include -DUSE_SENORA_GC -fno-omit-frame-pointer " --keep-lines -o ++out xsrc/precomp.h /home/rrt/repo/racket/racket/src/build/../racket/gc2/precomp.c
In file included from C:/msys64/home/rrt/repo/racket/racket/src/build/../racket/gc2/precomp.c:2:
C:/msys64/home/rrt/repo/racket/racket/src/racket/src/schpriv.h:10:10: fatal error: scheme.h: No such file or directory
10 | #include "scheme.h"
| ^~~~~~~~~~
compilation terminated.
xform: cpp failed
make[8]: *** [Makefile:205: xsrc/precomp.h] Error 1
The key thing here is that the file that can't be found, scheme.h, is indeed in a directory for which there is a -I flag, which I've highlighted in bold above, so I don't understand why it's not found.
I can't find any specific instructions in the docs or mailing list archives that seem to pertain to this, so I assume I'm doing something wrong, but I'm unsure what: I just git cloned racket and ran "make".
--