[Digikam-devel] [Bug 305382] editing RAW gives artefacts with Bilinear quality

Gilles Caulier caulier.gilles at gmail.com
Sat Oct 27 11:16:06 BST 2012


https://bugs.kde.org/show_bug.cgi?id=305382

--- Comment #12 from Gilles Caulier <caulier.gilles at gmail.com> ---
Created attachment 74824
  --> https://bugs.kde.org/attachment.cgi?id=74824&action=edit
libraw as SHARED patch

Marcel,

See as attached my patch to use libraw as SHARED. libraw sample files do not
link with it :

[gilles at localhost libraw]$ make
Building CXX object
extra/libkdcraw/libraw/CMakeFiles/raw.dir/internal/dcraw_common.cpp.o
Building CXX object
extra/libkdcraw/libraw/CMakeFiles/raw.dir/internal/dcraw_fileio.cpp.o
Building CXX object
extra/libkdcraw/libraw/CMakeFiles/raw.dir/internal/demosaic_packs.cpp.o
Building CXX object
extra/libkdcraw/libraw/CMakeFiles/raw.dir/src/libraw_cxx.cpp.o
Building CXX object
extra/libkdcraw/libraw/CMakeFiles/raw.dir/src/libraw_c_api.cpp.o
Building CXX object
extra/libkdcraw/libraw/CMakeFiles/raw.dir/src/libraw_datastream.cpp.o
Linking CXX shared library ../../../lib/libraw.so
Built target raw
Building CXX object
extra/libkdcraw/libraw/CMakeFiles/4channels.dir/samples/4channels.cpp.o
Linking CXX executable 4channels
CMakeFiles/4channels.dir/samples/4channels.cpp.o: In function `main':
/mnt/devel/GIT/3.x/extra/libkdcraw/libraw/samples/4channels.cpp:46: undefined
reference to `LibRaw::LibRaw(unsigned int)'
/mnt/devel/GIT/3.x/extra/libkdcraw/libraw/samples/4channels.cpp:59: undefined
reference to `LibRaw::cameraCount()'
/mnt/devel/GIT/3.x/extra/libkdcraw/libraw/samples/4channels.cpp:59: undefined
reference to `LibRaw::version()'
/mnt/devel/GIT/3.x/extra/libkdcraw/libraw/samples/4channels.cpp:102: undefined
reference to `LibRaw::open_file(char const*, long long)'
/mnt/devel/GIT/3.x/extra/libkdcraw/libraw/samples/4channels.cpp:104: undefined
reference to `libraw_strerror'
/mnt/devel/GIT/3.x/extra/libkdcraw/libraw/samples/4channels.cpp:112: undefined
reference to `LibRaw::unpack()'
/mnt/devel/GIT/3.x/extra/libkdcraw/libraw/samples/4channels.cpp:114: undefined
reference to `libraw_strerror'
/mnt/devel/GIT/3.x/extra/libkdcraw/libraw/samples/4channels.cpp:117: undefined
reference to `LibRaw::raw2image()'
/mnt/devel/GIT/3.x/extra/libkdcraw/libraw/samples/4channels.cpp:120: undefined
reference to `LibRaw::subtract_black()'
/mnt/devel/GIT/3.x/extra/libkdcraw/libraw/samples/4channels.cpp:173: undefined
reference to `LibRaw::dcraw_ppm_tiff_writer(char const*)'
/mnt/devel/GIT/3.x/extra/libkdcraw/libraw/samples/4channels.cpp:174: undefined
reference to `libraw_strerror'
/mnt/devel/GIT/3.x/extra/libkdcraw/libraw/samples/4channels.cpp:178: undefined
reference to `LibRaw::~LibRaw()'
/mnt/devel/GIT/3.x/extra/libkdcraw/libraw/samples/4channels.cpp:178: undefined
reference to `LibRaw::~LibRaw()'
collect2: ld a retourné 1 code d'état d'exécution
make[2]: *** [extra/libkdcraw/libraw/4channels] Erreur 1
make[1]: *** [extra/libkdcraw/libraw/CMakeFiles/4channels.dir/all] Erreur 2
make: *** [all] Erreur 2

[gilles at localhost libraw]$

Why ?

Gilles Caulier

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Digikam-devel mailing list