[MLton] OpenGL

Mike Thomas mike.thomas@brisbane.paradigmgeo.com
Thu, 9 Sep 2004 15:44:49 +1000


Thanks for that Stephen;

I'm back on track and hope to put a menus example + lib/opengl/Makefile
changes to accomodate the information below into CVS in a day or so.

Cheers

Mike Thomas.

| -----Original Message-----
| From: mlton-admin@mlton.org [mailto:mlton-admin@mlton.org]On Behalf Of
| Stephen Weeks
| Sent: Thursday, 9 September 2004 1:47 PM
| To: MLton@mlton.org
| Subject: [MLton] OpenGL
|
|
|
| Hi Mike.
|
| > I get numerous examples of the following error while
| > compiling the opengl library:
| >
| > miketh@water /c/cvs/head/mlton/lib/opengl
| > $ make
| > mlton -export-header GL_h.h -stop tc GL.cm
| > Error: GL.sml 726.25.
| >    _import disallowed.
|
| The behavior of MLton has changed to not allow syntax extensions by
| default. I've added something to the error message to assist users in
| discovering how to fix the problem.  Now, you get the following
| message.
|
| % mlton -export-header GL_h.h -stop tc GL.cm
| Error: GL.sml 726.25.
|    _import disallowed, compile with -default-ann 'allowImport true'.
|
| > I'm also interested in trying the MinGW32 build and in particular
| > ensuring that the opengl library works with that version of mlton.
| > Is that a case of just configuring and building the CVS source under
| > MSYS, or are there some other things I need to do?
|
| I don't think MLton is quite ready to be built under MSYS.  Brent is
| waiting until I track down a space leak, at which point he will resume
| development.  I think we are pretty close though.  Hopefully I will
| find this bug soon and we will have something in a week or two.
|
| _______________________________________________
| MLton mailing list
| MLton@mlton.org
| http://www.mlton.org/mailman/listinfo/mlton
|