Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jun 2003 09:17:28 +0000
From:      Rohit <rohitvis@rogers.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   OpenGL Hello World Example
Message-ID:  <200306180917.28978.rohitvis@rogers.com>

next in thread | raw e-mail | index | archive | help
Hi, 
This is something that has troubled me quite a bit. I followed the hello world 
tutorial for opengl found here. 

http://www.eecs.tulane.edu/www/Terry/OpenGL/Simple_Example.html#A%20Simple%20Example

This is the command I'm using to compile it (as suggested at the website)

gcc -o Hello_World Hello_World.c -lX11 -lMesaGL -lMesaGLU -lMesatk -lm 

However it says gltk.h not found when I have gltk.h in 
/usr/X11R6/include/GL/gltk.h

This is the same type of scenario I ran into when I tried compiling qt 
examples. I have tried appending  I/usr/X11R6/include/GL/gltk.h to the above 
gcc command.


Any advice will be greatly appreciated. 

Thanks
Rohit



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306180917.28978.rohitvis>