Re: C include question

2004-08-04 Thread Benjamin Sobotta
Hi! My stuff is also in /usr/X11R6/include/GL and I use to following line to compile: gcc -I /usr/X11R6/include/ -L /usr/X11R6/lib -lglut -lGLU -lGL -lXmu -lXext -lX11 -lm file.c Works for all the code examples given on www.opengl.org. Hope that helps Ben On Thursday 05 August 2004 00:41, y

Re: C include question

2004-08-04 Thread Jason Dusek
No, because the libs have include statements in them. For example, in my source code I might write: #include "/usr/X11R6/include/GL/glut.h" But this fails because glut.h has the following statements in it: #include #inlcude For it to work, I would have to ammend it to say: #include "gl.

Re: C include question

2004-08-04 Thread Jorge Mario G.
Hi there cant you just use #include "/the/libs/are/here" = _ Do You Yahoo!? Información de Estados Unidos y América Latina, en Yahoo! Noticias. Visítanos en http://noticias.espanol.yahoo.com _

Re: C include question

2004-08-04 Thread Jerry McAllister
> > Hi, > > I would like to compile some OpenGL stuff on my BSD box. Unfortunately, the GL > libraries are not in /usr/include/GL - they are in /usr/X11R6/include/GL and my > C compiler does not see that by default. Check out compiler options such as -I for include file directories and linker

C include question

2004-08-04 Thread Jason Dusek
Hi, I would like to compile some OpenGL stuff on my BSD box. Unfortunately, the GL libraries are not in /usr/include/GL - they are in /usr/X11R6/include/GL and my C compiler does not see that by default. One easy way around this is, I think, to just soft link /usr/X11R6/include/* to /usr/includ