[plt-scheme] mzc --gui-exe

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Oct 25 07:57:47 EDT 2005

At Tue, 25 Oct 2005 11:43:33 +0200 (CEST), Ivanyi Peter wrote:
> MzScheme compiler (mzc) version 208, Copyright (c) 2004 PLT
> Scheme, Inc.
> get-module-code: cannot use extension file; "c:\\Program
> iles\\PLT\\collects\\sgl\\gl-vectors\\compiled\\native\\win32\\i386\\gl-double-
> vector.dll"
> This is a standard installation, all of my source are in
> Scheme, no C code
> in my part. What is the problem? How can I compile it?

The problem is that --gui-exe can't handle DLLs, and the "sgl"
collection uses them.

In 299.X, our main approach has been to avoid writing C-based
extensions that generate DLLs, and instead use the Scheme-based FII. In
particular, "sgl" in 299.X doesn't have any DLLs, so --gui-exe can work
with GL programs.

The longer-term solution is probably to replace --gui-exe with
--gui-installer, but that's not yet done.


Posted on the users mailing list.