C include question

Jason Dusek jason-dusek at uiowa.edu
Wed Aug 4 17:52:17 PDT 2004


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 <gl.h>
   #inlcude <glu.h>

For it to work, I would have to ammend it to say:

   #include "gl.h"
   #inlcude "glu.h"

But at the point where I am rewriting bits of the standard GL libraries, it's 
time to take a different approach.

_jason

Jorge Mario G. wrote:
> 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


More information about the freebsd-questions mailing list