installation on Mac OS X

View: New views
2 Messages — Rating Filter:   Alert me  

installation on Mac OS X

by Alessandro-23 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,
I need to install freeglut on Mac OS X (10.4.11).
After "config", "make" gives me the following error:

Marcklard:~/Desktop/freeglut-
2.4.0 mono$ make
cd . \
  && CONFIG_FILES= CONFIG_HEADERS=config.h \
     /bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
make  all-recursive
Making all in src
source='freeglut_callbacks.c' object='libglut_la-freeglut_callbacks.lo' libtool=yes \
depfile='.deps/libglut_la-freeglut_callbacks.Plo' tmpdepfile='.deps/libglut_la-freeglut_callbacks.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -g -O2 -Wall -pedantic -Werror -c -o libglut_la-freeglut_callbacks.lo `test -f freeglut_callbacks.c || echo './'`freeglut_callbacks.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -Wall -pedantic -Werror -c freeglut_callbacks.c -MT libglut_la-freeglut_callbacks.lo -MD -MP -MF .deps/libglut_la-freeglut_callbacks.TPlo  -fno-common -DPIC -o .libs/libglut_la-freeglut_callbacks.lo
In file included from ../include/GL/freeglut.h:17,
                 from freeglut_callbacks.c:28:
../include/GL/freeglut_std.h:114:19: error: GL/gl.h: No such file or directory
../include/GL/freeglut_std.h:115:20: error: GL/glu.h: No such file or directory
In file included from ../include/GL/freeglut.h:17,
                 from freeglut_callbacks.c:28:
../include/GL/freeglut_std.h:432: error: parse error before 'layer'
../include/GL/freeglut_std.h:491: error: parse error before 'query'
../include/GL/freeglut_std.h:492: error: parse error before 'query'

.....and then a bunch of lines...

I found a post of another person who coudn't compile it, but I coudn't
get help from it.
So far I've been using Mac's Glut but I need glutStrokeCharacter, that is
called from the Tao framework I'm using.
Thanks in advance for your help.

Alessandro


P.S. I tried to copy and include Mac's headers Gl.h and Glu.h but
it doesn't work.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Freeglut-developer mailing list
Freeglut-developer@...
https://lists.sourceforge.net/lists/listinfo/freeglut-developer

Re: installation on Mac OS X

by smcguffee :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I also am trying to get freeglut on Mac OS X, but because I want to be able to close windows without closing my program. Anyway, good news for your problem though. The most recent additions have glutStrokeCharacter on the regular glut from Mesa: http://www.mesa3d.org/


Alessandro-23 wrote:
Hello,
I need to install freeglut on Mac OS X (10.4.11).
After "config", "make" gives me the following error:

Marcklard:~/Desktop/freeglut-2.4.0 mono$ make
cd . \
  && CONFIG_FILES= CONFIG_HEADERS=config.h \
     /bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
make  all-recursive
Making all in src
source='freeglut_callbacks.c' object='libglut_la-freeglut_callbacks.lo'
libtool=yes \
depfile='.deps/libglut_la-freeglut_callbacks.Plo'
tmpdepfile='.deps/libglut_la-freeglut_callbacks.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-I../include    -g -O2 -Wall -pedantic -Werror -c -o
libglut_la-freeglut_callbacks.lo `test -f freeglut_callbacks.c || echo
'./'`freeglut_callbacks.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -Wall -pedantic -Werror
-c freeglut_callbacks.c -MT libglut_la-freeglut_callbacks.lo -MD -MP -MF
.deps/libglut_la-freeglut_callbacks.TPlo  -fno-common -DPIC -o
.libs/libglut_la-freeglut_callbacks.lo
In file included from ../include/GL/freeglut.h:17,
                 from freeglut_callbacks.c:28:
../include/GL/freeglut_std.h:114:19: error: GL/gl.h: No such file or
directory
../include/GL/freeglut_std.h:115:20: error: GL/glu.h: No such file or
directory
In file included from ../include/GL/freeglut.h:17,
                 from freeglut_callbacks.c:28:
../include/GL/freeglut_std.h:432: error: parse error before 'layer'
../include/GL/freeglut_std.h:491: error: parse error before 'query'
../include/GL/freeglut_std.h:492: error: parse error before 'query'

.....and then a bunch of lines...

I found a post of another person who coudn't compile it, but I coudn't
get help from it.
So far I've been using Mac's Glut but I need glutStrokeCharacter, that is
called from the Tao framework I'm using.
Thanks in advance for your help.

Alessandro


P.S. I tried to copy and include Mac's headers Gl.h and Glu.h but
it doesn't work.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Freeglut-developer mailing list
Freeglut-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freeglut-developer