[racket] Building Racket on windows: missing ffi.h

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sat Oct 1 09:40:07 EDT 2011

At Sat, 1 Oct 2011 12:31:12 +0400, Sergey Khorev wrote:
> Hi,
> I am trying to build Racket 5.1.3 with MSVC and the compiler complains
> about missing ffi.h included from foreign.c. It looks like it should
> have been generated from ffi.h.in.

It should be in "src/worksp/libffi", but I see that "src/worksp/libffi"
is missing in the Windows source distribution. We'll fix the
distribution specs.

Meanwhile, you can get the "libffi" directory from here:


For that matter, unless you specifically need version 5.1.3, I
recommend just building the latest from the git repo.

Posted on the users mailing list.