[MINC-users] Register-1.3.5 on Mac OS X 10.4.1

Alexandre CARMEL-VEILLEUX minc-users@bic.mni.mcgill.ca
Tue Jul 12 15:39:04 2005


On Tue, Jul 12, 2005 at 08:23:44PM +0100, Morgan Hough wrote:
> 
> I was hoping to ask another Mac OS X question. ./configure fails with
> Register claiming it can't find GL/gl.h. Do you have to pass ./configure
> a GL path on Mac OS X? I have it in /usr/X11R6/include/GL/gl.h. Isn't
> that a normal place for it to be? Thanks in advance.

	Try setting adding "-I/usr/X11R6/include" to the CFLAGS environment
variable. Also set the corresponding bin dir in the LDFLAGS variable:

setenv CFLAGS "$CFLAGS -I/usr/X11R6/include"
setenv LDFLAGS "$LDFLAGS -L/usr/X11R6/lib"

	I hope that helps.

Alex