<div dir="ltr">Hi Mark,<br><br>Sound like internal libraw source code is not used to compile libkdcraw. I don't know why because you can see this option "-I../libraw" during compialtion. Also, all compile fine here...<br>
<br>Gilles Caulier<br><br>I<br><br><div class="gmail_quote">2008/10/16 Mark Purcell <span dir="ltr"><<a href="mailto:msp@debian.org">msp@debian.org</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I have an issue building libkdcraw/0.1.6:<br>
<br>
Making all in libkdcraw<br>
make[4]: Entering directory `/home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/obj-i486-linux-gnu/libkdcraw/libkdcraw'<br>
/usr/share/qt3/bin/moc /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.h -o kdcraw.moc<br>
/bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I/home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw -I../libraw -<br>
I/usr/include/kde -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -<br>
Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -g -O2 -g -Wall -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -<br>
fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions -DDCRAW_VERBOSE -<br>
DUSE_LCMS -c -o kdcraw.lo /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp<br>
/home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:37:35: error: libraw/libraw_version.h: No such file or directory<br>
In file included from /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:43:<br>
/home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcrawprivate.h:32:27: error: libraw/libraw.h: No such file or directory<br>
In file included from /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:43:<br>
/home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcrawprivate.h:45: error: use of enum 'LibRaw_progress' without previous declaration<br>
/home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcrawprivate.h:58: error: 'libraw_processed_image_t' has not been declared<br>
/home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcrawprivate.h:60: error: 'LibRaw' has not been declared<br>
/home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcrawprivate.h:62: error: use of enum 'LibRaw_progress' without previous declaration<br>
In file included from /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.h:32,<br>
from /home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:44:<br>
/usr/share/qt3/include/qimage.h: In member function 'bool QImageTextKeyLang::operator<(const QImageTextKeyLang&) const':<br>
/usr/share/qt3/include/qimage.h:61: warning: suggest parentheses around && within ||<br>
/home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp: In static member function 'static bool<br>
KDcrawIface::KDcraw::loadEmbeddedPreview(QByteArray&, const QString&)':<br>
/home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:110: error: 'LibRaw' was not declared in this scope<br>
/home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:110: error: expected `;' before 'raw'<br>
/home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:112: error: 'raw' was not declared in this scope<br>
/home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:113: error: 'LIBRAW_SUCCESS' was not declared in this scope<br>
/home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:115: error: 'libraw_strerror' was not declared in this scope<br>
/home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:121: error: 'LIBRAW_SUCCESS' was not declared in this scope<br>
/home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:124: error: 'libraw_strerror' was not declared in this scope<br>
/home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:129: error: 'libraw_processed_image_t' was not declared in this scope<br>
/home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:129: error: 'thumb' was not declared in this scope<br>
/home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:132: error: 'libraw_strerror' was not declared in this scope<br>
/home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:137: error: 'LIBRAW_IMAGE_BITMAP' was not declared in this scope<br>
/home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp:147: error: 'free' was not declared in this scope<br>
/home/mark/src/kde-extras/build-area/libkdcraw-0.1.6/./libkdcraw/libkdcraw/kdcraw.cpp: In static member function 'static bool KDcrawIface::KDcraw::loadHalfPreview(QImage&,<br>
const QString&)':<br>
<br>
<br>
Weird thing is if I have libraw include files installed under /usr/local it picks that up and builds :-(<br>
<br>
Build Depends:<br>
ii gcc 4:4.3.2-2 The GNU C compiler<br>
ii kdelibs4-dev 4:3.5.9.dfsg.1-6 development files for the KDE core libraries<br>
ii libjpeg62-dev 6b-14 Development files for the IJG JPEG library<br>
ii liblcms1-dev 1.17.dfsg-1 Color management library (Development headers)<br>
<br>
Mark<br>
_______________________________________________<br>
Digikam-devel mailing list<br>
<a href="mailto:Digikam-devel@kde.org">Digikam-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/digikam-devel" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-devel</a><br>
</blockquote></div><br></div>