<br><br><div class="gmail_quote">On Fri, Jan 7, 2011 at 11:17 AM, David Van Horn <span dir="ltr"><<a href="mailto:dvanhorn@ccs.neu.edu">dvanhorn@ccs.neu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On 1/6/11 7:11 PM, Sayth Renshaw wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Would it be possible to get the image SDL_image library added to planet<br>
racket? that way I could require the package and use it. Currently<br>
cannot do the examples from the first page of HTDP2e because I cannot<br>
use the SDL_image library.<br>
</blockquote>
<br></div>
You don't need SDL_image to run the examples from HTDP2e.<br>
<br>
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".<br>
<br>
Does that help?<br><font color="#888888">
<br>
David<br>
</font></blockquote></div><br>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.<br><br> (* (image-width <img src="file:///C:/DOCUME%7E1/renshaw/LOCALS%7E1/Temp/moz-screenshot.png" alt=""> )<br>
(image-height <img src="file:///C:/DOCUME%7E1/renshaw/LOCALS%7E1/Temp/moz-screenshot-1.png" alt=""> ))<br><br>and it gives this error.<br><br>image-width: name is not defined, not a parameter, and not a primitive name<br>
<br>meaning to me that the library isn't loaded.<br><br>Sayth<br><br>NB The image isn't showing properly in this email but is in the racket definitions window.<br>