[racket] the program can't find image file

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Sat Oct 9 09:49:15 EDT 2010

I think you must be using a different library. What library are you
using to get the bitmap binding?

Robby

On Sat, Oct 9, 2010 at 8:38 AM, 김태윤 <kty1104 at gmail.com> wrote:
> 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))
>>
>
>
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users
>


Posted on the users mailing list.