Date: Tue, 20 May 2003 09:43:22 -0400 From: Alan Schmitt To: LablGTK mailing list Subject: compiling cvs snapshot 20030326 Message-ID: <20030520134322.GK1593 at alan-schm1p> Mail-Followup-To: LablGTK mailing list Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, As I realized that cvs now has lablgtk2 as lablgtk module, I got the cvs snapshot from the website and tried to compile it. It fails with the error (at link time): ocamlmktop -I /usr/local/lib/ocaml/lablGL -o lablgtktop unix.cma str.cma lablgl.cma -I . lablgtk.cma lablgtkgl.cma lablgnome.cma lablglade.cma gtkInit.cmo Error while linking /usr/local/lib/ocaml/lablGL/lablgl.cma(GlMat): The external function `ml_glGetDoublev' is not available make[1]: *** [lablgtktop] Error 2 I'm using today's cvs version of lablGL, which does not declare such a function: schmitta@alan-schm1p:/usr/src/ocaml/lablGL> grep glGetDoublev *.c ml_gl.c:ML_2 (glGetDoublev, GLenum_val, Double_raw) ml_glu.c: glGetDoublev (GL_MODELVIEW_MATRIX, model); ml_glu.c: glGetDoublev (GL_PROJECTION_MATRIX, proj); ml_glu.c: glGetDoublev (GL_MODELVIEW_MATRIX, model); ml_glu.c: glGetDoublev (GL_PROJECTION_MATRIX, proj); schmitta@alan-schm1p:/usr/src/ocaml/lablGL> grep glGetDoublev *.ml glMat.ml:external get_matrix : [`modelview_matrix|`projection_matrix|`texture_matrix] -> t -> unit = "ml_glGetDoublev" Alan -- The hacker: someone who figured things out and made something cool happen.