Hi,<br><br>I'm trying to use `create-embedding-executable' (DrRacket 5.0, WinXP and Vista), with this little module:<br><br>#lang racket/gui<br><br>(define f (new frame% [label "Test"]))<br>(send f show #t)<br>
<br><br>But I don't know exactly how to set the arguments to produce the same result as "raco exe --gui", which works fine. <br>Going through the collections I found little help.<br>The best I could do is this:<br>
<br>(create-embedding-executable<br> "test.exe"<br> #:modules '((#f "test.rkt"))<br> #:configure-via-first-module? #t<br> #:literal-expression<br> (parameterize ([current-namespace (make-base-namespace)])<br>
(compile `(namespace-require ''test)))<br> #:gracket? #t<br> #:collects-path (current-library-collection-paths)<br> #:verbose? #t<br> )<br><br>which effectively creates test.exe, but running the latter fails on:<br>
<br>link: namespace mismatch; reference (phase 0) to a module "M:\Program Files\Rack<br>et\collects\errortrace\errortrace-key.rkt" that is not available (phase level 0)<br>; reference appears in module: 'test in: init-test-coverage<br>
<br> === context ===<br>test: [running body]<br>loop<br><br>I have absolutely no clue of what is going on here.<br>Can someone help me with this?<br><br>Thanks,<br>Laurent<br>