Skip to content
Browse files

fix for Racket 5.2+

  • Loading branch information...
1 parent cf2500d commit 29c9debabd7b013142d32b4306e38bd458fbbfda @gaborpapp gaborpapp committed
Showing with 6 additions and 5 deletions.
  1. +2 −2 README
  2. +2 −2 modules/scheme/fluxus.ss
  3. +1 −0 src/Interpreter.cpp
  4. +1 −1 src/main.cpp
View
4 README
@@ -91,12 +91,12 @@ MacPorts (http://www.macports.org/).
Put the bin directory of Racket and MacPorts to your path by adding
the following line to the .bash_profile file in your home directory:
-PATH=$PATH:/opt/local/bin:/Applications/Racket\ v5.1.1/bin/
+PATH=$PATH:/opt/local/bin:/Applications/Racket\ v5.2.1/bin/
Also add this line to .bash_profile, which is necessary for fluxus to
find the Racket framework:
-export DYLD_FRAMEWORK_PATH=/Applications/Racket\ v5.1.1/lib/
+export DYLD_FRAMEWORK_PATH=/Applications/Racket\ v5.2.1/lib/
You might need to change the Racket version number according to
the binary package you have installed.
View
4 modules/scheme/fluxus.ss
@@ -7,7 +7,7 @@
"help.ss"
"camera.ss"
"building-blocks.ss"
- "collada-import.ss"
+ ;"collada-import.ss" ;; FIXME: does not work with Racket 5.2+
"randomness.ss"
"poly-tools.ss"
"pixels-tools.ss"
@@ -25,7 +25,7 @@
(all-from-out "help.ss")
(all-from-out "camera.ss")
(all-from-out "building-blocks.ss")
- (all-from-out "collada-import.ss")
+ ;(all-from-out "collada-import.ss")
(all-from-out "randomness.ss")
(all-from-out "poly-tools.ss")
(all-from-out "pixels-tools.ss")
View
1 src/Interpreter.cpp
@@ -81,6 +81,7 @@ void Interpreter::Initialise()
MZ_GC_REG();
m_Scheme=scheme_basic_env();
+ Interpreter::Register();
scheme_pipe(&m_OutReadPort,&m_OutWritePort);
scheme_pipe(&m_ErrReadPort,&m_ErrWritePort);
View
2 src/main.cpp
@@ -266,7 +266,7 @@ int run(void *data)
char **argv = myargs->argv;
// we create our own Scheme_Env in here, as we need
// to be able to reset it with F6. Seems to be ok to ignore se...
- Interpreter::Register();
+ //Interpreter::Register();
Interpreter::Initialise();
srand(time(NULL));

0 comments on commit 29c9deb

Please sign in to comment.
Something went wrong with that request. Please try again.