[racket-dev] Fwd: Create executable problem
[ Nadeem sent me the file offline. ]
I've pushed a fix for the bug.
It is possible to work around it: the issue comes up when you copy and
paste the result of the 2htdp/image images back into the definitions
window. In this case, the image I noticed that does this is a flipped cat.
So you could delete that from the file and then put (presumably at the
top-level) a call to flip passing in the literal cat and then just use that
instead.
That should work with the released version.
Robby
On Fri, Mar 28, 2014 at 5:06 PM, Robby Findler
<robby at eecs.northwestern.edu>wrote:
> It looks like something has gone wrong in the code that figures out what
> kind of executable to create (or maybe the dependency tracking possibly).
>
> Do you have the game to share? That would help a lot with the
> investigation.
>
> Robby
>
>
>
> On Fri, Mar 28, 2014 at 4:08 PM, Nadeem Abdul Hamid <nadeem at acm.org>wrote:
>
>> I have a student trying to create a standalone executable of a
>> 2htdp/universe-based game written in ISL+lambda, but the resulting
>> executable crashes. On my Mac, using Racket 6.0, it results in the
>> following error when run from the generated disk image. Any ideas?
>>
>> Thanks,
>> nadeem
>>
>>
>> $ ./Ant\ Attack.app/Contents/MacOS/Ant\ Attack
>> image%: cannot get-shape without gui libraries
>> context...:
>> /Applications/Racket
>> v6.0/share/pkgs/htdp-lib/2htdp/private/image-more.rkt:261:0: overlay/δ
>> place-image/align
>> /Applications/Racket v6.0/collects/racket/private/list.rkt:245:7: loop
>> /Applications/Racket v6.0/collects/racket/private/list.rkt:245:7: loop
>> /Applications/Racket v6.0/collects/racket/private/list.rkt:242:4: foldr
>> render-world
>> /Applications/Racket
>> v6.0/share/pkgs/htdp-lib/2htdp/private/world.rkt:360:6: ppdraw method
>> in ...dp/private/world.rkt:57:4
>> /Applications/Racket
>> v6.0/share/pkgs/htdp-lib/2htdp/private/world.rkt:283:18: d
>> /Applications/Racket
>> v6.0/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:451:6
>> /Applications/Racket
>> v6.0/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:502:32
>> /Applications/Racket
>> v6.0/collects/racket/private/more-scheme.rkt:147:2:
>> call-with-break-parameterization
>> /Applications/Racket
>> v6.0/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:397:18: loop
>>
>> _________________________
>> Racket Developers list:
>> http://lists.racket-lang.org/dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20140404/c185d7bd/attachment.html>