Menu

#1 Makefile Error

open
nobody
None
5
2008-04-07
2008-04-07
No

Running: OpenSuse 10.2
Architecture: x64 amd athlon x2

~/Desktop/cambio_sa> make
gcc -g -Wall -c world.c -o world.o -I/usr/X11R6/include -I/usr/include/GL
world.c: In function ‘LeMundo’:
world.c:47: warning: statement with no effect
gcc -g -Wall -c worlddraw.c -o worlddraw.o -I/usr/X11R6/include -I/usr/include/GL
worlddraw.c:33:18: error: glut.h: No such file or directory
worlddraw.c: In function ‘DesenhaObjeto’:
worlddraw.c:62: error: ‘GLfloat’ undeclared (first use in this function)
worlddraw.c:62: error: (Each undeclared identifier is reported only once
worlddraw.c:62: error: for each function it appears in.)
worlddraw.c:62: error: expected ‘;’ before ‘colour’
worlddraw.c:66: error: ‘colour’ undeclared (first use in this function)
worlddraw.c:66: error: expected ‘)’ before ‘o’
worlddraw.c:67: warning: implicit declaration of function ‘glPushMatrix’
worlddraw.c:68: warning: implicit declaration of function ‘glColor3f’
worlddraw.c:69: warning: implicit declaration of function ‘glTranslatef’
worlddraw.c:70: warning: implicit declaration of function ‘glRotatef’
worlddraw.c:71: warning: implicit declaration of function ‘glutSolidCube’
worlddraw.c:74: warning: implicit declaration of function ‘glPopMatrix’
worlddraw.c:77: error: expected ‘)’ before ‘o’
worlddraw.c:82: warning: implicit declaration of function ‘glutSolidSphere’
worlddraw.c:82: error: ‘GLint’ undeclared (first use in this function)
worlddraw.c:82: error: expected ‘)’ before ‘o’
make: *** [worlddraw.o] Error 1

Discussion


Log in to post a comment.