[Fluxus] [plt-scheme] Repl during animation or simulation

From: gabor papp (gabor.lists at mndl.hu)
Date: Fri Jun 5 16:30:16 EDT 2009

> I'm not sure if the latest osx version embeds the binary plt modules in
the osx binary does not embed the binary plt modules, although it is a
bit complicated to load them into drscheme. if you put the fluxus
application to /Applications, you need to include the resources folder
of the fluxus.app to the collects path, so drscheme finds the fluxus
modules. because they depend on the dynamic libraries and frameworks
included in the application, you also need to set the dynamic library
path. something like this:

export PLTCOLLECTS=/Applications/PLT\ Scheme\
v4.2/collects/:/Applications/Fluxus.app/Contents/Resources/collects/
export DYLD_LIBRARY_PATH=/Applications/Fluxus.app/Contents/Frameworks/

then load drscheme:
open /Applications/PLT\ Scheme\ v4.2/DrScheme.app/

a simple test script should work now:

#lang scheme
(require fluxus-016/drflux)
(clear)
(build-cube)

on the other hand compiling fluxus is not that difficult on osx if you
have macports installed. all required depencies are included in
macports, and the fluxus readme file gives step by step instructions.

best,
gabor



Posted on the users mailing list.