caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Mac os X lablgl installation via Godi problem
@ 2005-08-05 14:42 N.P.S.Sika
  2005-08-05 18:29 ` [Caml-list] " David J Harr
  2005-08-08  5:56 ` Jacques Garrigue
  0 siblings, 2 replies; 3+ messages in thread
From: N.P.S.Sika @ 2005-08-05 14:42 UTC (permalink / raw)
  To: caml-list



Hello people,

I am trying to setup lablgl via Godi on Mac OS X Tiger (10.4)
and Godi does not seem to know where to find include files.

     >>> Installation <<<

### Fetching package conf-glut (if necessary)
### Fetching package godi-lablgl (if necessary)
### Building package conf-glut
> ===> Cleaning for conf-glut-1godi1
> => No checksum file.
> ===> Extracting for conf-glut-1godi1
> ===> Required installed package godi-core-mk>=1.2.3: godi-core-mk-1.2.14 found
> ===> Required installed package godi-core-script>=0.3.2:
godi-core-script-0.3.2 found
> ===> Required installed package conf-x11>=0: conf-x11-3 found
> ===> Required installed package conf-opengl>=0: conf-opengl-1 found
> ===> Required installed package godi-core-script>=0: godi-core-script-0.3.2
found
> /bin/mkdir -p /Users/fish/godi/build/conf/conf-glut/work/pseudo
> ===> Patching for conf-glut-1godi1
> ===> Configuring for conf-glut-1godi1
> Checking /usr:
>   Include=/usr/include/GL/glut.h Library=/usr/lib/<glut>
> Checking /usr/local:
>   Include=/usr/local/include/GL/glut.h Library=/usr/local/lib/<glut>
> Checking /usr/pkg:
>   Include=/usr/pkg/include/GL/glut.h Library=/usr/pkg/lib/<glut>
> Checking /opt/pkg:
>   Include=/opt/pkg/include/GL/glut.h Library=/opt/pkg/lib/<glut>
> Checking /opt/local:
>   Include=/opt/local/include/GL/glut.h Library=/opt/local/lib/<glut>
> Checking /opt/sfw:
>   Include=/opt/sfw/include/GL/glut.h Library=/opt/sfw/lib/<glut>
> Checking /sw:
>   Include=/sw/include/GL/glut.h Library=/sw/lib/<glut>
> Checking /cw:
>   Include=/cw/include/GL/glut.h Library=/cw/lib/<glut>
> Exception: Failure "Cannot find library".
> *** Error code 2
> Stop.
> godi_make: stopped in /Users/fish/godi/build/conf/conf-glut
> *** Error code 1
> Stop.
> godi_make: stopped in /Users/fish/godi/build/conf/conf-glut

### Error: Command fails with code 1: godi_make


I have heard that on Mac, libraries are not always the way they are on Linux and
stuff. for example the directory where I can find glut.h is

/System/Library/Frameworks/GLUT.framework/Headers/glut.h

and gl.h and glu.h are at a different directory which is

/System/Library/Frameworks/OpenGL.framework/Headers/gl.h
/System/Library/Frameworks/OpenGL.framework/Headers/glu.h


also there is a "Libraries" folder at

/System/Library/Frameworks/OpenGL.framework/Libraries/

containing such files as
- libGL.dylib
- libGLImage.dylib
- libGLProgrammability.dylib
- libGLSystem.dylib
- libGLU.dylib


anyone sees anything ??



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

* Re: [Caml-list] Mac os X lablgl installation via Godi problem
  2005-08-05 14:42 Mac os X lablgl installation via Godi problem N.P.S.Sika
@ 2005-08-05 18:29 ` David J Harr
  2005-08-08  5:56 ` Jacques Garrigue
  1 sibling, 0 replies; 3+ messages in thread
From: David J Harr @ 2005-08-05 18:29 UTC (permalink / raw)
  To: caml-list


On Aug 5, 2005, at 7:42 AM, N.P.S.Sika@westminster.ac.uk wrote:

>
>
> Hello people,
>
> I am trying to setup lablgl via Godi on Mac OS X Tiger (10.4)
> and Godi does not seem to know where to find include files.


One of the problems is that the headers are not located in
"GL/xxxxx.h" under Mac OS X, but are located under
"OpenGL/xxxxx.h". I like the way that Apple feels free to
just randomly set up their own header trees. It makes it
SOOOO much easier to port code back and forth among platforms.

David



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

* Re: [Caml-list] Mac os X lablgl installation via Godi problem
  2005-08-05 14:42 Mac os X lablgl installation via Godi problem N.P.S.Sika
  2005-08-05 18:29 ` [Caml-list] " David J Harr
@ 2005-08-08  5:56 ` Jacques Garrigue
  1 sibling, 0 replies; 3+ messages in thread
From: Jacques Garrigue @ 2005-08-08  5:56 UTC (permalink / raw)
  To: N.P.S.Sika; +Cc: caml-list

From: N.P.S.Sika@westminster.ac.uk

> I am trying to setup lablgl via Godi on Mac OS X Tiger (10.4)
> and Godi does not seem to know where to find include files.

I don't know how to solve it with godi. The directory-based approach
of conf-glut does not match the OSX architecture.

On the other hand, it is very easy to install lablGL by hand:
just unpack, and do
   cp Makefile.config.osx Makefile.config
   make all opt install

Cheers,

Jacques Garrigue


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

end of thread, other threads:[~2005-08-08  5:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-05 14:42 Mac os X lablgl installation via Godi problem N.P.S.Sika
2005-08-05 18:29 ` [Caml-list] " David J Harr
2005-08-08  5:56 ` Jacques Garrigue

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).