[racket] Embedding an image in Racket source

From: José Lopes (jose.lopes at ist.utl.pt)
Date: Tue Jan 3 09:41:50 EST 2012

Hello,

I am using Racket 5.2.0.7.
I defined a name that holds an image, embedded in a Racket source file, 
and I exported the name.

When I try to import that name from another file I get this error:

..\..\..\..\..\..\..\Program 
Files\Racket-5.2.0.7\collects\compiler\cm.rkt:369:6: write: cannot 
marshal value that is embedded in compiled code: (object:image-snip% ...)

Does this mean I cannot export names that refer to an image?

Regards,
José

-- 
José António Branquinho de Oliveira Lopes
58612 - MEIC-A
jose.lopes at ist.utl.pt



Posted on the users mailing list.