To all,

I have a project that I'm trying to compile to a single bytecode file via 
(raco demod). I compile a module .rkt file which requires several library 
module .rkt files. One of these module .rkt files is a windowing library that 
call on #lang racket/gui. (raco demod) manages to flatten and generate the 
bytecode but the bytecode fails to run with (racket). This is the error I get 
from (raco decompile).
-----------------
    (#%apply-values
     _print-values4927
     (if (_scheme_register_process_global10921
          '"GRacket-support-initialized"
          (_cast8910 '1 _scheme _pointer))
       (error
        '"cannot instantiate `racket/gui/base' a second time in the same 
process")
       '#<void>))
-----------------
The program runs fine when I compile it with (raco make) and (raco exe). In 
addition, the windowing library is only required once. What could be causing 
this error?

Regards,
Mark

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to