Browse thread
[Caml-list] Wierd??? Doesn't compile under emacs edit
- chris.danx
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2003-11-22 (00:48) |
From: | chris.danx <chris.danx@n...> |
Subject: | [Caml-list] Wierd??? Doesn't compile under emacs edit |
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