Compiling digikam on my system
Gilles Caulier
caulier.gilles at gmail.com
Tue Feb 5 08:05:48 GMT 2019
Done :
https://commits.kde.org/digikam/9635c3ff490feff09877953d24fea46737537e29
Gilles Caulier
Le mar. 5 févr. 2019 à 09:03, Gilles Caulier <caulier.gilles at gmail.com> a
écrit :
> Ok, i see.
>
> It's strange because i cannot reproduce here under Linux and MacOS. I will
> disable this test code for the moment.
>
> Gilles Caulier
>
>
>
> Le mar. 5 févr. 2019 à 08:23, Sambhav Dusad <sambhavdusad24 at gmail.com> a
> écrit :
>
>> Thanks, I will look into the appstream more.
>> Also, I am comfortable in using mail for asking doubts.
>> So. after building digikam , I ran "make" from build sub-directory and it
>> gives some undefined reference error along with some other and the process
>> stops.
>>
>> [ 65%] Built target Generic_PrintCreator_Plugin
>> Scanning dependencies of target panoparser_test
>> Scanning dependencies of target Generic_VideoSlideShow_Plugin
>> Scanning dependencies of target Generic_Panorama_Plugin
>> Scanning dependencies of target Generic_GLViewer_Plugin
>> [ 65%] Generating ui_presentationctrlwidget.h
>> [ 65%] Generating ui_presentation_audiopage.h
>> [ 65%] Generating ui_presentationaudiowidget.h
>> [ 65%] Generating ui_presentation_mainpage.h
>> [ 65%] Building CXX object
>>
>> core/dplugins/generic/tools/panorama/tests/CMakeFiles/panoparser_test.dir/panoparser_test.cpp.o
>> [ 65%] Generating ui_presentation_captionpage.h
>> [ 65%] Building CXX object
>>
>> core/dplugins/generic/tools/mediaserver/tests/CMakeFiles/dmediaservertest.dir/dmediaserver_test.cpp.o
>> [ 65%] Generating ui_presentation_advpage.h
>> Scanning dependencies of target Generic_Presentation_Plugin
>> /usr/bin/ld:
>>
>> CMakeFiles/filemediaserver.dir/__/upnpsdk/Platinum/Source/Tests/FileMediaServer/FileMediaServerTest.cpp.o:
>> in function `main':
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/upnpsdk/Platinum/Source/Tests/FileMediaServer/FileMediaServerTest.cpp:151:
>> warning: the `gets' function is dangerous and should not be used.
>> /usr/bin/ld: ../libmediaserverbackend.a(dmediaserver.cpp.o): in function
>> `NPT_Console::Output(char const*)':
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dmediaserver.cpp:47:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG()'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dmediaserver.cpp:47:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG()'
>> /usr/bin/ld: ../libmediaserverbackend.a(dmediaserver.cpp.o): in function
>> `UPnPLogger(NPT_LogRecord const*)':
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dmediaserver.cpp:60:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG_FATAL()'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dmediaserver.cpp:60:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG_FATAL()'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dmediaserver.cpp:63:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG_SEVERE()'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dmediaserver.cpp:63:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG_SEVERE()'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dmediaserver.cpp:66:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG_WARN()'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dmediaserver.cpp:66:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG_WARN()'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dmediaserver.cpp:69:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG_INFO()'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dmediaserver.cpp:69:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG_INFO()'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dmediaserver.cpp:72:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG()'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dmediaserver.cpp:72:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG()'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dmediaserver.cpp:75:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG_DEBUG()'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dmediaserver.cpp:75:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG_DEBUG()'
>> /usr/bin/ld: ../libmediaserverbackend.a(dmediaserver.cpp.o): in function
>> `Digikam::DMediaServer::init(int)':
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dmediaserver.cpp:140:
>> undefined reference to `Digikam::DAboutData::digiKamSlogan()'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dmediaserver.cpp:141:
>> undefined reference to `Digikam::DAboutData::webProjectUrl()'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dmediaserver.cpp:143:
>> undefined reference to `Digikam::DAboutData::webProjectUrl()'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dmediaserver.cpp:150:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG()'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dmediaserver.cpp:150:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG()'
>> /usr/bin/ld: ../libmediaserverbackend.a(dlnaserver.cpp.o): in function
>> `Digikam::DLNAMediaServer::SetupIcons()':
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dlnaserver.cpp:85:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG()'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dlnaserver.cpp:85:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG()'
>> /usr/bin/ld: ../libmediaserverbackend.a(dlnaserverdelegate.cpp.o): in
>> function
>>
>> `Digikam::DLNAMediaServerDelegate::OnBrowseMetadata(NPT_Reference<PLT_Action>&,
>> char const*, char const*, unsigned int, unsigned int, char const*,
>> PLT_HttpRequestContext const&)':
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dlnaserverdelegate.cpp:154:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG()'
>> /usr/bin/ld:
>>
>> ../libmediaserverbackend.a(dlnaserverdelegate.cpp.o):/home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dlnaserverdelegate.cpp:154:
>> more undefined references to `DIGIKAM_MEDIASRV_LOG()' follow
>> /usr/bin/ld: ../libmediaserverbackend.a(dlnaserverdelegate.cpp.o): in
>> function `Digikam::DLNAMediaServerDelegate::BuildFromFilePath(NPT_String
>> const&, PLT_HttpRequestContext const&, bool, bool, bool)':
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dlnaserverdelegate.cpp:375:
>> undefined reference to `Digikam::DRawDecoder::isRawFile(QUrl const&)'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dlnaserverdelegate.cpp:396:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG()'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dlnaserverdelegate.cpp:396:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG()'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dlnaserverdelegate.cpp:412:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG()'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dlnaserverdelegate.cpp:412:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG()'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dlnaserverdelegate.cpp:464:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG()'
>> /usr/bin/ld:
>>
>> ../libmediaserverbackend.a(dlnaserverdelegate.cpp.o):/home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dlnaserverdelegate.cpp:464:
>> more undefined references to `DIGIKAM_MEDIASRV_LOG()' follow
>> /usr/bin/ld: ../libmediaserverbackend.a(dlnaserverdelegate.cpp.o): in
>> function `Digikam::DLNAMediaServerDelegate::ServeFile(NPT_HttpRequest
>> const&, NPT_HttpRequestContext const&, NPT_HttpResponse&, NPT_String
>> const&)':
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dlnaserverdelegate.cpp:729:
>> undefined reference to `Digikam::IccProfile::IccProfile()'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dlnaserverdelegate.cpp:729:
>> undefined reference to
>> `Digikam::PreviewLoadThread::loadFastSynchronously(QString const&, int,
>> Digikam::IccProfile const&)'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dlnaserverdelegate.cpp:729:
>> undefined reference to `Digikam::IccProfile::~IccProfile()'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dlnaserverdelegate.cpp:731:
>> undefined reference to `Digikam::DImg::isNull() const'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dlnaserverdelegate.cpp:736:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG()'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dlnaserverdelegate.cpp:736:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG()'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dlnaserverdelegate.cpp:791:
>> undefined reference to `Digikam::DImg::copyQImage() const'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dlnaserverdelegate.cpp:729:
>> undefined reference to `Digikam::DImg::~DImg()'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dlnaserverdelegate.cpp:820:
>> undefined reference to `Digikam::IccProfile::~IccProfile()'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dlnaserverdelegate.cpp:729:
>> undefined reference to `Digikam::DImg::~DImg()'
>> /usr/bin/ld: ../libmediaserverbackend.a(dmediaservermngr.cpp.o): in
>> function
>> `Digikam::DMediaServerMngr::mediaServerNotification(bool)':
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dmediaservermngr.cpp:162:
>> undefined reference to `Digikam::DNotificationWrapper(QString const&,
>> QString const&, QWidget*, QString const&, QPixmap const&)'
>> /usr/bin/ld: ../libmediaserverbackend.a(dmediaservermngr.cpp.o): in
>> function
>> `Digikam::DMediaServerMngr::save()':
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dmediaservermngr.cpp:274:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG()'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dmediaservermngr.cpp:274:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG()'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dmediaservermngr.cpp:275:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG()'
>> /usr/bin/ld:
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dmediaservermngr.cpp:275:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG()'
>> /usr/bin/ld: ../libmediaserverbackend.a(dmediaservermngr.cpp.o): in
>> function
>> `Digikam::DMediaServerMngr::load()':
>>
>> /home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dmediaservermngr.cpp:296:
>> undefined reference to `DIGIKAM_MEDIASRV_LOG()'
>> /usr/bin/ld:
>>
>> ../libmediaserverbackend.a(dmediaservermngr.cpp.o):/home/darkrai/projects/digikam/core/dplugins/generic/tools/mediaserver/server/dmediaservermngr.cpp:296:
>> more undefined references to `DIGIKAM_MEDIASRV_LOG()' follow
>> collect2: error: ld returned 1 exit status
>> make[2]: ***
>>
>> [core/dplugins/generic/tools/mediaserver/tests/CMakeFiles/filemediaserver.dir/build.make:138:
>> core/dplugins/generic/tools/mediaserver/tests/filemediaserver] Error 1
>> make[1]: *** [CMakeFiles/Makefile2:9704:
>>
>> core/dplugins/generic/tools/mediaserver/tests/CMakeFiles/filemediaserver.dir/all]
>> Error 2
>> make[1]: *** Waiting for unfinished jobs....
>>
>>
>>
>>
>> -----
>> Thanks
>> Sambhav Dusad
>> --
>> Sent from:
>> http://digikam.1695700.n4.nabble.com/digikam-devel-f1695701.html
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20190205/d30eb5d4/attachment.html>
More information about the Digikam-devel
mailing list