我转换了这段代码:
#lang racket
(require pict3d)
(combine
(with-color (rgba "red")
(sphere (pos 1 0 0) 1/10) )
(with-color (rgba "blue")
(sphere (pos 0 1 1) 1/10) )
(for/list ( [ t (in-range 1/10 1 1/10) ] )
(define v (pos-between (pos 1 0 0) (pos 0 1 1) t) )
(sphere v 1/20) ) )
此代码成功运行。但是当我将其转换为.exe时。它会打开交互式球拍(命令提示符)1秒钟。并关闭它。 我用Racket和GRacket创建了两个exe文件。两者都不起作用。如何解决这个问题?