[racket] the program can't find image file

From: 김태윤 (kty1104 at gmail.com)
Date: Sat Oct 9 09:38:56 EDT 2010

thank you for your replying
but it still doesn't work.
(define-runtime-path run-bmp-path "run.bmp")
(define run-bitmap (bitmap run-bmp-path))
>bitmap: could not find the run-bmp-path collection in: (bitmap
run-bmp-path)
what's wrong with me?

2010/10/9 Matthew Flatt <mflatt at cs.utah.edu>

> At Sat, 9 Oct 2010 16:28:58 +0900, 김태윤 wrote:
> > hello.
> > thank you for your kindness
> > the following code
> > (define-runtime-path here ".")
> > (define here
> >  (bitmap
> >    (path->string (build-path here "run.bmp"))))
> > doesn't work
>
> I recommend instead
>
>  (define-runtime-path run-bmp-path "run.bmp")
>  (define run-bitmap (bitmap run-bmp-path))
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20101009/318914f7/attachment.html>

Posted on the users mailing list.