[racket-dev] Fwd: Create executable problem

From: Nadeem Abdul Hamid (nadeem at acm.org)
Date: Fri Mar 28 17:08:31 EDT 2014

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


Posted on the dev mailing list.