[plt-scheme] Problem with Create Executable (Win XP)

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sun Aug 17 07:38:11 EDT 2008

At Sun, 17 Aug 2008 08:50:24 +0200, "Sverrir Valgeirsson" wrote:
> I'm using DrScheme 4.1 for writing a very simple MrEd program.
> The program works well when run from DrScheme, but when I've done a
> "Create Executable" and run the resulting file I get an error message
> saying: "cddr: expects argument of type <cddrable value>; given
> ("#f")" and then the program exits.
> I never use cddr in my program so I don't know where this comes from.
> 
> Any ideas?

Are you using the "Pretty Big" language? I see that "Create Executable"
doesn't work with Pretty Big in v4.x.

If so, we'll fix that bug, but your best option is really to use the
module system (and the "Module" language in DrScheme). Converting your
program to a module may be as simple as adding

  #lang scheme/gui

to the beginning of your program.


Matthew



Posted on the users mailing list.