Dear people, Completely novice question...
Since I don't have much experience with gnu programming tools (make, gcc), I don't have a good idea of what is happening. When I tried to compile a simple example of Pepsi using OpenGL under CygWin I get the compilation errors: $ make idc -J/usr/X11R6/include -s opengl.st -lglut32 -lglu32 -lopengl32 opengl.so.c: In function `Glut__glutInitDisplayMode_': opengl.so.c:454: warning: implicit declaration of function `glutInitDisplayMode' opengl.so.c: In function `Glut__glutInitWindowSizex_y_': opengl.so.c:466: warning: implicit declaration of function `glutInitWindowSize' opengl.so.c: In function `Glut__glutInitWindowPositionx_y_': opengl.so.c:478: warning: implicit declaration of function `glutInitWindowPosition' opengl.so.c: In function `Glut__glutCreateWindow_': opengl.so.c:490: warning: implicit declaration of function `glutCreateWindow' opengl.so.c: In function `Glut__glutMainLoop': opengl.so.c:502: warning: implicit declaration of function `glutMainLoop' make: *** [opengl.so] Error 1 Contents of the makefile: ------------------------ LIBS = opengl.so PROGRAM = main IDC = idc all : $(LIBS) $(PROGRAM) run : all ./main %.so : %.st $(IDC) -J/usr/X11R6/include -s $< -lglut32 -lglu32 -lopengl32 %.o : %.st $(IDC) -J/usr/X11R6/include -s % : %.st $(IDC) $< -lglut32 -lglu32 -lopengl32 tidy: .FORCE rm -f *~ clean : tidy .FORCE rm -f $(PROGRAM) $(LIBS) *.exe spotless : clean .FORCE .FORCE : Can someone give me some help please? Thanks in advance Claudio _______________________________________________ fonc mailing list [email protected] http://vpri.org/mailman/listinfo/fonc
