title: How to get the GLTools library from SuperBible to work in Ubuntu? or an alternative?
body: <p>I recently bought the SuperBible 5th edition book.
  I use Ubuntu 12.04 LTS. I use Code::Blocks. I'm not very proficient with C++ libraries and setting up.
  I wanted a book that will guide me from scratch.
  I was disappointed when I saw that the book doesn't help us set up projects in Linux.</p>
  
  <p>They use 2 libraries ,freeglut and GLTools.
  I read <a href="http://www.codeproject.com/Articles/182109/Setting-up-an-OpenGL-development-environment-in-Ub" rel="nofollow">this</a> wonderful tutorial that explained the freeglut part for linux.</p>
  
  <p>Now I am clueless about GLTools. I searched in debian.org for a package containing GLTools.h and there were none. 
  So, I can't find the package at all.
  <a href="http://www.starstonesoftware.com/OpenGL/" rel="nofollow">Here</a>, they do give the libraries , but it is only for Windows and Mac. 
  Inclusion of a library in Ubuntu was a piece of cake(just a command in the terminal) , but I do not how I can use a Windows library for this.</p>
  
  <p>Is there any other book that would help with Linux? </p>
  
  <p>edit: after doing the 1st 2 steps of what HaloWebMaster said, I did a cd and went inside the gltools folder (and there was a makefile there). There I did <code>make all</code>. But this is what hapenned:</p>
  
  <pre><code>Package OpenEXR was not found in the pkg-config search path.
  Perhaps you should add the directory containing `OpenEXR.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'OpenEXR' found
  make[1]: sdl-config: Command not found
  make[1]: Entering directory `/home/user/gltools/framework'
  make[1]: freetype-config: Command not found
  Package OpenEXR was not found in the pkg-config search path.
  Perhaps you should add the directory containing `OpenEXR.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'OpenEXR' found
  make[1]: sdl-config: Command not found
  make[1]: freetype-config: Command not found
  Compiling camera.cpp
  Package OpenEXR was not found in the pkg-config search path.
  Perhaps you should add the directory containing `OpenEXR.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'OpenEXR' found
  make[1]: sdl-config: Command not found
  make[1]: freetype-config: Command not found
  Package OpenEXR was not found in the pkg-config search path.
  Perhaps you should add the directory containing `OpenEXR.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'OpenEXR' found
  make[1]: sdl-config: Command not found
  make[1]: freetype-config: Command not found
  Compiling fs.cpp
  Package OpenEXR was not found in the pkg-config search path.
  Perhaps you should add the directory containing `OpenEXR.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'OpenEXR' found
  make[1]: sdl-config: Command not found
  make[1]: freetype-config: Command not found
  Package OpenEXR was not found in the pkg-config search path.
  Perhaps you should add the directory containing `OpenEXR.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'OpenEXR' found
  make[1]: sdl-config: Command not found
  make[1]: freetype-config: Command not found
  Compiling image/image-convert.cpp
  image/image-convert.cpp:7:18: fatal error: half.h: No such file or directory
  compilation terminated.
  Compilation failed for libgltools_a_image-convert.o: 
  make[1]: *** [libgltools_a_image-convert.o] Error 1
  make[1]: Leaving directory `/home/user/gltools/framework'
  make: *** [framework] Error 2
  </code></pre>