[plt-scheme] Re: Make executable with mzc

From: OXINARF (francisco.ns.ferreira at gmail.com)
Date: Thu Dec 20 12:17:31 EST 2007

When I run DrScheme with language module all works fine.

On 20 Dez, 14:04, Jens Axel Soegaard <jensa... at soegaard.net> wrote:
> OXINARF wrote:
> > No, has I said I used Graphical (MrEd with MzScheme).
>
> What does it say, when you use module?
>
> --
> Jens Axel Søgaard
>
>
>
>
>
>
>
> > On 19 Dez, 20:57, Jens Axel Soegaard <jensa... at soegaard.net> wrote:
> >> OXINARF wrote:
> >>> I had a work for university, where teachers gave us one compiled file
> >>> with an interface for the program that we have to do. The language
> >>> used was Graphical (MrEd with MzScheme).
> >>> I have writte all the code, and it's all working. But since it's my
> >>> first "job" I would like to put it on an executable that I can share
> >>> with everyone (people already asked me for it). So I tried it with
> >>> mzc. But it requires modules to one executable, so I simply put:
> >>> (module <name of file> mzscheme
> >>> <my code>
> >>> (provide (all-defined) (all-from "interface.zo")))
> >>> where interface.zo is file that teachers gave us.
> >>> Now I go do following command: C:\Programas\PLT\mzc.exe --gui-exe
> >>> Sudoku FP0708-10.scm  (first the path for mzc than the commands,
> >>> FP0708-10.scm is name of file with module).
> >>> All seems done but when I tried to execute file Sudoku it gives me:
> >>> define: not allowed in an expression context in: (define on-event
> >>> (lambda (event) (#<procedure:on-event-aux> event)))
> >>>  === context ===
> >>> #f::355: loop
> >>> I don't know why, because on DrScheme, everything is doing just fine.
> >> Which language mode did you use in DrScheme? module?
>
> >> --
> >> Jens Axel Søgaard
>
> >> _________________________________________________
> >>   For list-related administrative tasks:
> >>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme-Ocultar texto citado -
>
> >> - Mostrar texto citado -
> > _________________________________________________
> >   For list-related administrative tasks:
> >  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
> _________________________________________________
>   For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme- Ocultar texto citado -
>
> - Mostrar texto citado -


Posted on the users mailing list.