Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
/MyFolder/../../../boost_1_42_0/boost/gil/extension/io/jpeg_io.hpp:29: In file included from ../../../boost_1_42_0/boost/gil/extension/io/jpeg_io.hpp:29, |
IDE: Qt Creator 1.3.1
Project type: Qt4 Console Application
Selected required modules: QtCore
Boost version: 1.42.0
Additional libraries: jpeg-8a from the Independent JPEG Group
The following code caused the error:
#include <boost/gil/extension/io/jpeg_dynamic_io.hpp> |
The following project file was used:
#------------------------------------------------- |
You need to build the the jpeg-8a library, as this will create the file jconfig.h. Go to the jpeg-8a library folder and read the install.txt file.
When using Ubuntu 10.04, the following commands worked for me:
./configure |
You will probably need to add the following line to your project file:
LIBS += -L/usr/local/lib -ljpeg
|
Remove the jpeg-8a library from the INCLUDEPATH.
Then, you might then get the jpeglib.h: No such file or directory compile error.
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.