met some problem when install the glew library on the platform of Mac ox 10.9.1
It is my first to use OpenGL.
And I want install the glew library.
The version of the glew library I downloaded is 1.10.0.
I try to install it by the terminal.
And while I type into, make,
Then there is an error manifested on the terminal, saying as below,
tangketans-imac:glew-1.10.0 gaoyuan$ make
cc -DGLEW_NO_GLU -O2 -Wall -W -Iinclude -dynamic -fno-common -fPIC -o tmp/darwin/default/shared/glew.o -c src/glew.c
src/glew.c:93:10: fatal error: 'stdlib.h' file not found
1 error generated.
make: *** [tmp/darwin/default/shared/glew.o] Error 1
Could you please help me to solve this?
Looks like your standard includes are not installed properly. Do a:
ls -ld /usr/include /usr/include/stdlib.h