[haiku-bugs] Re: [Haiku] #11739: Cannot find GL/glut.h

  • From: "waddlesplash" <trac@xxxxxxxxxxxx>
  • Date: Sat, 30 Jul 2016 13:27:22 -0000

#11739: Cannot find GL/glut.h
----------------------------+----------------------------
   Reporter:  TheNavigator  |      Owner:  bonefish
       Type:  bug           |     Status:  closed
   Priority:  normal        |  Milestone:  R1
  Component:  Build System  |    Version:  R1/Development
 Resolution:  fixed         |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  All
----------------------------+----------------------------

Comment (by waddlesplash):

Includes in glut.h seem to have extra GL/ in their path.

 I'm not sure why that's happening. As you can see in the glut.h header, it
 includes the files using <GL/gl.h> and <GL/glut.h>. I tried some of the
 GLUT samples from
 
https://www.opengl.org/archives/resources/code/samples/glut_examples/examples/examples.html
 using just {{{gcc file.c -lGL -lglut}}} and they compiled and ran just
 fine.

--
Ticket URL: <https://dev.haiku-os.org/ticket/11739#comment:11>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: