Date: Tue, 20 May 2003 10:13:30 -0400 From: Alan Schmitt To: Olivier Andrieu Cc: LablGTK mailing list Subject: Re: compiling cvs snapshot 20030326 Message-ID: <20030520141330.GL1593 at alan-schm1p> Mail-Followup-To: Olivier Andrieu , LablGTK mailing list References: <20030520134322.GK1593 at alan-schm1p> <16074.13852.5816.530453 at akasha.ijm.jussieu.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <16074.13852.5816.530453 at akasha.ijm.jussieu.fr> * Olivier Andrieu (olivier.andrieu at polytechnique.org) wrote: > Salut, >=20 > > ocamlmktop -I /usr/local/lib/ocaml/lablGL -o lablgtktop unix.cma str.c= ma lablgl.cma -I . lablgtk.cma lablgtkgl.cma lablgnome.cma lablglade.cma gt= kInit.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 > >=20 > > I'm using today's cvs version of lablGL, which does not declare such a > > function: >=20 > Yes it does ! >=20 > >=20 > > schmitta at alan-schm1p:/usr/src/ocaml/lablGL> grep glGetDoublev *.c = =20 > > ml_gl.c:ML_2 (glGetDoublev, GLenum_val, Double_raw) =20 > ^^^ > ML_2 est une macro qui d=E9finit une fonction ml_truc o=F9 truc est le > premier argument. >=20 > Le probl=E8me est que le linker ne trouve pas le dll, il faut donc lui > sp=E9cifier dans CAML_LD_LIBRARY_PATH. Si tu veux faire un toplevel > statique, il faut ajouter l'option -custom. OK, my problem was that I did not uninstall my old lablGL, and it was using the old dll (which were in the labGL dir, whereas the new ones are in the stublibs dir). Sorry about the confusion. Alan --=20 The hacker: someone who figured things out and made something cool happen.