[Digikam-devel] digikam git build failed, possibly missing lensfun
Wolfgang Mader
Wolfgang_Mader at brain-frog.de
Sun Dec 8 21:31:28 GMT 2013
Hello,
I am new to the list.
I try to compile digikam from git on arch linux; qt and kde come from git also
and are installed under /usr/. I followed
http://www.digikam.org/download/GIT
The execution of bootstrap.linux issued the following warning:
----- bootstrap.linux -----
CMake Warning at /usr/share/apps/cmake/modules/KDE4Macros.cmake:1062
(add_library):
Cannot generate a safe linker search path for target digikamcore because
files in some directories may conflict with libraries in implicit
directories:
link library [libz.so] in /usr/lib64 may be hidden by files in:
/lib64
Some of these libraries may not be found correctly.
Call Stack (most recent call first):
core/digikam/CMakeLists.txt:67 (KDE4_ADD_LIBRARY)
-----
I think they are not crutial since on arch all lib directories are symlinks to
/usr/lib.
After changing into the build directory, make gives this error
----- make error -----
Linking CXX shared library ../../lib/libdigikamcore.so
CMakeFiles/digikamcore.dir/__/libs/dimg/filters/lens/lensfunfilter.cpp.o: In
function `Digikam::LensFunFilter::~LensFunFilter()':
/home/wmader/src/digikam/core/libs/dimg/filters/lens/lensfunfilter.cpp:79:
undefined reference to `lfModifier::Destroy()'
CMakeFiles/digikamcore.dir/__/libs/dimg/filters/lens/lensfunfilter.cpp.o: In
function `Digikam::LensFunFilter::filterImage()':
/home/wmader/src/digikam/core/libs/dimg/filters/lens/lensfunfilter.cpp:138:
undefined reference to `lfModifier::Create(lfLens const*, float, int, int)'
/home/wmader/src/digikam/core/libs/dimg/filters/lens/lensfunfilter.cpp:148:
undefined reference to `lfModifier::Initialize(lfLens const*, lfPixelFormat,
float, float, float, float, lfLensType, int, bool)'
/home/wmader/src/digikam/core/libs/dimg/filters/lens/lensfunfilter.cpp:186:
undefined reference to `lfModifier::ApplySubpixelDistortion(float, float, int,
int, float*) const'
/home/wmader/src/digikam/core/libs/dimg/filters/lens/lensfunfilter.cpp:236:
undefined reference to `lfModifier::ApplyColorModification(void*, float,
float, int, int, int, int) const'
/home/wmader/src/digikam/core/libs/dimg/filters/lens/lensfunfilter.cpp:267:
undefined reference to `lfModifier::ApplyGeometryDistortion(float, float, int,
int, float*) const'
CMakeFiles/digikamcore.dir/__/libs/dimg/filters/lens/lensfuncameraselector.cpp.o:
In function `Digikam::LensFunCameraSelector::populateLensCombo()':
/home/wmader/src/digikam/core/libs/dimg/filters/lens/lensfuncameraselector.cpp:643:
undefined reference to `lfDatabase::FindLenses(lfCamera const*, char const*,
char const*, int) const'
CMakeFiles/digikamcore.dir/__/libs/dimg/filters/lens/lensfuniface.cpp.o: In
function `Digikam::LensFunIface::LensFunIface()':
/home/wmader/src/digikam/core/libs/dimg/filters/lens/lensfuniface.cpp:60:
undefined reference to `lf_db_new'
/home/wmader/src/digikam/core/libs/dimg/filters/lens/lensfuniface.cpp:61:
undefined reference to `lfDatabase::Load()'
/home/wmader/src/digikam/core/libs/dimg/filters/lens/lensfuniface.cpp:62:
undefined reference to `lfDatabase::GetCameras() const'
CMakeFiles/digikamcore.dir/__/libs/dimg/filters/lens/lensfuniface.cpp.o: In
function `Digikam::LensFunIface::~LensFunIface()':
/home/wmader/src/digikam/core/libs/dimg/filters/lens/lensfuniface.cpp:67:
undefined reference to `lf_db_destroy'
CMakeFiles/digikamcore.dir/__/libs/dimg/filters/lens/lensfuniface.cpp.o: In
function `Digikam::LensFunIface::findCamera(QString const&, QString const&)
const':
/home/wmader/src/digikam/core/libs/dimg/filters/lens/lensfuniface.cpp:143:
undefined reference to `lfDatabase::FindCameras(char const*, char const*)
const'
CMakeFiles/digikamcore.dir/__/libs/dimg/filters/lens/lensfuniface.cpp.o: In
function `Digikam::LensFunIface::findLens(QString const&) const':
/home/wmader/src/digikam/core/libs/dimg/filters/lens/lensfuniface.cpp:165:
undefined reference to `lfDatabase::GetLenses() const'
CMakeFiles/digikamcore.dir/__/libs/dimg/filters/lens/lensfuniface.cpp.o: In
function `Digikam::LensFunIface::findLenses(lfCamera const*, QString const&,
QString const&) const':
/home/wmader/src/digikam/core/libs/dimg/filters/lens/lensfuniface.cpp:194:
undefined reference to `lfDatabase::FindLenses(lfCamera const*, char const*,
char const*, int) const'
/home/wmader/src/digikam/core/libs/dimg/filters/lens/lensfuniface.cpp:198:
undefined reference to `lfDatabase::FindLenses(lfCamera const*, char const*,
char const*, int) const'
CMakeFiles/digikamcore.dir/__/libs/dimg/filters/lens/lensfuniface.cpp.o: In
function `Digikam::LensFunIface::supportsDistortion() const':
/home/wmader/src/digikam/core/libs/dimg/filters/lens/lensfuniface.cpp:476:
undefined reference to `lfLens::InterpolateDistortion(float,
lfLensCalibDistortion&) const'
CMakeFiles/digikamcore.dir/__/libs/dimg/filters/lens/lensfuniface.cpp.o: In
function `Digikam::LensFunIface::supportsCCA() const':
/home/wmader/src/digikam/core/libs/dimg/filters/lens/lensfuniface.cpp:487:
undefined reference to `lfLens::InterpolateTCA(float, lfLensCalibTCA&) const'
CMakeFiles/digikamcore.dir/__/libs/dimg/filters/lens/lensfuniface.cpp.o: In
function `Digikam::LensFunIface::supportsVig() const':
/home/wmader/src/digikam/core/libs/dimg/filters/lens/lensfuniface.cpp:500:
undefined reference to `lfLens::InterpolateVignetting(float, float, float,
lfLensCalibVignetting&) const'
collect2: error: ld returned 1 exit status
core/digikam/CMakeFiles/digikamcore.dir/build.make:7135: recipe for target
'lib/libdigikamcore.so.3.0.0' failed
make[2]: *** [lib/libdigikamcore.so.3.0.0] Error 1
CMakeFiles/Makefile2:11490: recipe for target
'core/digikam/CMakeFiles/digikamcore.dir/all' failed
make[1]: *** [core/digikam/CMakeFiles/digikamcore.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2
-----
lensefun is installed. What am I missing? Headers? Do I have to install libfun
from source?
I saw that bootstrap.linux sets up LD_LIBRARY_PATH. Is this needed for
whenever I want to compile digikam?
Thank you.
Best,
Wolfgang
P.s.: I anyone installing digikam using kde-srcbuild?
More information about the Digikam-devel
mailing list