Oh actually I was finally able to build lablgl by reenabling togl.

On Sun, Oct 24, 2010 at 1:31 PM, philippe <[email protected]> wrote:
> hello,
>
> on OSX you need to disable the togl build in the config of lablgl, but
> even doing so, I got the following error on a fresh install:
>
> ...
>
>> ocamlc.opt -c -w s -I +labltk glArray.ml
>> ocamlmklib -o lablgl ml_gl.o ml_glu.o ml_raw.o ml_glarray.o ml_glutess.o 
>> raw.cmo gl.cmo  glLight.cmo glList.cmo glMap
>  .cmo glMat.cmo glMisc.cmo glPix.cmo glClear.cmo glTex.cmo glDraw.cmo
> glFunc.cmo gluMisc.cmo gluNurbs.cmo gluQuadric.c
>  mo gluTess.cmo gluMat.cmo glArray.cmo -framework OpenGL
>> cd Togl/src && /usr/bin/make all
>> ocamlc.opt -c -w s -I +labltk -I ../../src togl.mli
>> ocamlc.opt -c -w s -I +labltk -I ../../src togl.ml
>> ocamlrun ../../src/var2def < togl_tags.var > togl_tags.h
>> ocamlrun ../../src/var2switch TOGL_ < togl_tags.var > togl_tags.c
>> ocamlc.opt -c -w s -ccopt "-c -O -I../../src -ITogl  -I.  " ml_togl.c
>> In file included from ml_togl.c:19:
>> Togl/togl.h:90:19: error: GL/gl.h: No such file or directory
>> make[8]: *** [ml_togl.o] Error 2
>> make[7]: *** [togl] Error 2
>> Error: Exec error: File 
>> /opt/godi312/build/godi/godi-lablgl/./../../mk/bsd.pkg.mk, line 1039: 
>> Command returned with n
>  on-zero exit code
>> Error: Exec error: File 
>> /opt/godi312/build/godi/godi-lablgl/./../../mk/bsd.pkg.mk, line 1378: 
>> Command returned with n
>  on-zero exit code
>
> ### Error: Command fails with code 1: godi_console
>
>
> this is on 10.6.4, x86_64, godi sect. 3.12
> (and this error remain me of something but very vaguely only)
>

_______________________________________________
Godi-list mailing list
[email protected]
https://godirepo.camlcity.org/mailman/listinfo/godi-list

Reply via email to