caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Wierd???  Doesn't compile under emacs edit
@ 2003-11-22  0:53 chris.danx
  2003-11-22  8:19 ` art yerkes
  0 siblings, 1 reply; 3+ messages in thread
From: chris.danx @ 2003-11-22  0:53 UTC (permalink / raw)
  To: Caml Mailing List

Hi,

Does anyone here have trouble compiling files edited in emacs?  I put 
this in a file, but it gives

File "nehe_two.ml", line 3, characters 2-15:
Unbound value GLClear.color


let init_gL =
   GlDraw.shade_model `smooth;
   GLClear.color (0.0, 0.0, 0.0);
   GLClear.depth 1.0                          ;
   GLClear.clear [`color;  `depth]            ;
   GL.enable `depth_test                      ;
   GLFunc.depth_func `lequal                  ;
   GLMisc.hint `perspective_correction `nicest


The trouble is, if I cut and paste bits from the example files with 
liblglut it works fine.

Previously I got the same error with line 2 (gldraw.shade_model ...) so 
  I copied that line from one of the examples.  It worked ok.

Do these things only happen to me?


compiled it with...

lablglut nehe_two.ml


Running debian sid with tuareg 1.40.5 and gnu emacs 21.3.1


I tried opening it, editing, saving and then closing it in kedit...


:(

Chris

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-11-22 13:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-22  0:53 [Caml-list] Wierd??? Doesn't compile under emacs edit chris.danx
2003-11-22  8:19 ` art yerkes
2003-11-22 13:59   ` chris.danx

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).