[plt-scheme] Creating executable from DrScheme ...

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon Jan 5 06:29:46 EST 2009

At Mon, 05 Jan 2009 11:31:44 +0800, kumar_lista at mac.com wrote:
> I'm trying to create a gui executable using "Scheme->Create  
> executable..." in v4.1.3.
> 
> As recommended, my language is "Module" and my source file starts with
> "#lang scheme/gui". My app runs fine when launched from within DrScheme
> (my module creates a single frame upon load).
> 
> However, the created MrEd executable fails to run with the following  
> error
> message in standard output window -
>  >>>>>
> call-with-input-file: expects type <path or string> as 1st
> argument, given: #f; other arguments were #<procedure:read>
> 
> === context ===
> loop
> <<<<<

Since "Create Executable..." works on the examples I tried, can you
provide an example (ideally a small variant of your actual program)
that shows the problem?


Matthew



Posted on the users mailing list.