There was a breaking change to doto, you now need a dot before Java
method names, e.g.
(doto gl
(.glVertex3f ; etc.
Looks like you there are several dozen similar changes needed in that
file.
Cheers,
Stuart
>
> Has something changed in Clojure that has broken the OpenGL gears
> demo?
>
> When I attempt to run it, I get:
> $ ~/bin/clj opengl-gears.clj
> Exception in thread "main" java.lang.Exception: Unable to resolve
> symbol: glShadeModel in this context (opengl-gears.clj:27)
> at clojure.lang.Compiler.analyze(Compiler.java:3922)
> at clojure.lang.Compiler.analyze(Compiler.java:3880)
> at clojure.lang.Compiler$InvokeExpr.parse(Compiler.java:2724)
> at clojure.lang.Compiler.analyzeSeq(Compiler.java:4073)
> <lots of stuff deleted>
> Caused by: java.lang.Exception: Unable to resolve symbol: glShadeModel
> in this context
> at clojure.lang.Compiler.resolveIn(Compiler.java:4255)
> at clojure.lang.Compiler.resolve(Compiler.java:4201)
> at clojure.lang.Compiler.analyzeSymbol(Compiler.java:4178)
> at clojure.lang.Compiler.analyze(Compiler.java:3895)
> ... 40 more
>
> Thanks.
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---