Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chapter 09 hdr_imaging is completely broken / missing on Linux #52

Open
GoogleCodeExporter opened this issue Feb 17, 2016 · 0 comments
Open

Comments

@GoogleCodeExporter
Copy link

There are no files in the hdr_imaging folder under Chapter 09 in Linux. Not 
even a makefile.

Here are the steps to make this work...

1. Copy the exr images and shaders from the 
VisualStudio2008/Chapter09/hdr_imaging to the Linux/Chapter09/hdr_imaging.

2. Modify hdr_imaging.cpp in the Src to replace #include <GL\glu.h> by #include 
<GL/glu.h>.

3. Download the attached makefile and move it to the hdr_imaging folder.

4. You need to install a few things - run this on the command line.
  sudo apt-get install libilmbase6 libilmbase-dev

5. Download the build OpenEXR from http://www.openexr.com/downloads.html (or 
just run the below commands)

cd ~/Downloads
wget http://download.savannah.nongnu.org/releases/openexr/openexr-1.7.0.tar.gz
tar zxvf openexr-1.7.0.tar.gz
cd openexr-1.7.0
./configure
make
sudo make install

6. You are all set to make and run the hdr_imaging example.

Original issue reported on code.google.com by [email protected] on 20 Sep 2012 at 7:50

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant