[racket] Load Showimage
On Fri, Jan 7, 2011 at 11:17 AM, David Van Horn <dvanhorn at ccs.neu.edu>wrote:
> On 1/6/11 7:11 PM, Sayth Renshaw wrote:
>
>> Would it be possible to get the image SDL_image library added to planet
>> racket? that way I could require the package and use it. Currently
>> cannot do the examples from the first page of HTDP2e because I cannot
>> use the SDL_image library.
>>
>
> You don't need SDL_image to run the examples from HTDP2e.
>
> If you're reading the HTDP2e, right-click the rocket image, select "Copy
> Image" (or something equivalent for your browser). Then, in the DrRacket
> definitions window, right-click and select "Paste".
>
> Does that help?
>
> David
>
No the test example fails. It states to run this code after library is
loaded(haven't been able to load library) and it gives this error.
(* (image-width )
(image-height ))
and it gives this error.
image-width: name is not defined, not a parameter, and not a primitive name
meaning to me that the library isn't loaded.
Sayth
NB The image isn't showing properly in this email but is in the racket
definitions window.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20110107/563c7802/attachment.html>