<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 4: Compilation error connected with LABColor</title><link href="https://sourceforge.net/p/linuxprinting/bugs/4/" rel="alternate"/><link href="https://sourceforge.net/p/linuxprinting/bugs/4/feed.atom" rel="self"/><id>https://sourceforge.net/p/linuxprinting/bugs/4/</id><updated>2012-09-12T18:56:11Z</updated><subtitle>Recent changes to 4: Compilation error connected with LABColor</subtitle><entry><title>Compilation error connected with LABColor</title><link href="https://sourceforge.net/p/linuxprinting/bugs/4/" rel="alternate"/><published>2012-09-12T18:56:11Z</published><updated>2012-09-12T18:56:11Z</updated><author><name>fabian</name><uri>https://sourceforge.net/u/gfabianski/</uri></author><id>https://sourceforge.netb7832ae31d61f4bada01e233d1c2cf78d26e4cf3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;During compilation I got this error:&lt;/p&gt;
&lt;p&gt;===============================&lt;br /&gt;
|  Configuring LinuxPrinting  |&lt;br /&gt;
===============================&lt;br /&gt;
* Finding libraries...&lt;br /&gt;
======================&lt;br /&gt;
++ GtkPrinting support enabled&lt;br /&gt;
++ wxWidgets installed&lt;br /&gt;
++ libxml2 installed&lt;br /&gt;
++ Magick++ installed&lt;/p&gt;
&lt;p&gt;==========================================&lt;br /&gt;
C o n f i g u r a t i o n :&lt;br /&gt;
==========================================&lt;br /&gt;
Gtk printing support:   [enabled]&lt;br /&gt;
Gtk2 version:            0.27, recommended: min. 2.10 (gtk2 0.10)&lt;br /&gt;
WxWidgets version:       2.8.12, recommended: min. 2.8.8&lt;br /&gt;
LibXML2   version:       2.8.0&lt;br /&gt;
Magick++  version:       6.7.8 Q16 &lt;br /&gt;
==========================================&lt;/p&gt;
&lt;p&gt;For building LinuxPrinting please type make.&lt;br /&gt;
$ make&lt;br /&gt;
[...]&lt;br /&gt;
Compiling: SaveAsLayoutDialog.cpp&lt;br /&gt;
Compiling: CreatorIndexDialog.cpp&lt;br /&gt;
Compiling: PrintPosterWithMarginsDialog.cpp&lt;br /&gt;
Compiling: translations/TranslationProvider.cpp&lt;br /&gt;
Compiling: wxPhotoPageCtrl/PhotoBean.cpp&lt;br /&gt;
Compiling: wxPhotoPageCtrl/cms/cmsSupport.cpp&lt;br /&gt;
wxPhotoPageCtrl/cms/cmsSupport.cpp: In member function ‘Magick::Image* CMSSupport::convert(Magick::Image*, CMSProfile, int)’:&lt;br /&gt;
wxPhotoPageCtrl/cms/cmsSupport.cpp:167:39: error: ‘LabColorspace’ was not declared in this scope&lt;br /&gt;
make: *** [obj/Release/wxPhotoPageCtrl/cms/cmsSupport.o] Błąd 1&lt;/p&gt;
&lt;p&gt;So I look to source code and I found intresting switch-case.&lt;br /&gt;
I delete a case with LabColorSpace in wxPhotoPageCtrl/cms/cmsSupport.cpp and in the /wxPhotoCtrl/wxPhotoPageCtrl.cpp.&lt;br /&gt;
After that source compliled sucessfull (!) and final binary works well :)&lt;/p&gt;
&lt;p&gt;My system is gentoo, I install all depedenses on following versions:&lt;br /&gt;
imagemagick : 6.7.8.7(19:26:14 12.09.2012)  (compiled with: X bzip2 cxx jpeg lcms openmp pango png svg tiff truetype xml zlib and without: -autotrace -corefonts -djvu -fftw -fontconfig -fpx -graphviz -hdri -jbig -jpeg2k -lqr -lzma -opencl -openexr -perl -postscript -q32 -q64 -q8 -raw -static-libs -test -webp -wmf)&lt;br /&gt;
libxml2 - 2.8.0_rc1(17:26:48 08.06.2012)   (compiled options: ipv6 python readline disabled options: -debug -doc -examples -icu -lzma -static-libs -test)&lt;br /&gt;
wxGTK:  2.8.12.1(2.8)(21:09:38 26.03.2012)  (X gnome opengl sdl tiff -aqua -debug -doc -gstreamer -odbc -pch)&lt;/p&gt;
&lt;p&gt;I don't know why this intresting situation happen.&lt;br /&gt;
Maybe attached output of emerge --info be helpfull: it contains a basic information about my sytem.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>