(no subject)

classic Classic list List threaded Threaded
18 messages Options
Reply | Threaded
Open this post in threaded view
|

(no subject)

Sambhav Dusad
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re:

Gilles Caulier-4


Le sam. 2 févr. 2019 à 07:02, Sambhav Dusad <[hidden email]> a écrit :
Hello everyone,
I am Sambhav, an undergrad from IIT Mandi. I want to contrubute in Project: "Zoomable and Resizable Brush for Healing Clone Tool" for GSoC 2019. 
I am quite comfortable in C/C++ and i also know about other designing tools.
Please guide me for building digikam locally on my system and solving some bugs.


Hi,

The GoSC 2019 projects will use the implementation available from digiKam "dplugins" git branch. This code will switch back to git master branch after digiKam 6.0.0 release, planed around the 10 february.

So i recommend to checkout this branch and compile it. 


To compile all source code, you need to resolve all dependencies before. Check the list given in developers documentation :


Installing all devel packages with headers and shared libraries is enough. If your Linux distro is well done, there is nothing to tune especially. Check well all dependency versions.

When all is ready, run the bootstrap.linux script. If dependencies are missing cmake will report the problem on the console.

When all is configured, it's time to compile. The script create a build sub-directory to separate compilation files from source files. Go to build and run the famous "make -jN", with N the number of CPU core to use. Here, with a i7 8 cores, 32 Gb of RAM, and a SSD storage, this take 10 minutes to compile from scratch.

When all is compiled, form build sub-directory, run "make install/fast" to install whole digiKam in your system.

Voilà, you will found more detail in online documentation if necessary.

Best

Gilles Caulier
Thank You,
Sambhav Dusad
Reply | Threaded
Open this post in threaded view
|

Re:

Sambhav Dusad
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re:

Gilles Caulier-4


Le sam. 2 févr. 2019 à 21:10, Sambhav Dusad <[hidden email]> a écrit :
Thanks,
I am using kdesrc-build from https://community.kde.org/Get_Involved/development#Set_up_kdesrc-build to build digikam locally. Currently, I am resolving the errors. 
Is it the correct way of building it?

Not at all. KDE is not digiKam and vis versa. digiKAm is an application using some KF5 API. Install all devel package from digiKam dependencies list, configure digiKam source code with bootstrap script and compile.

It's explained here : https://www.digikam.org/api/

How to edit the files after building digikam and compiling it?


use a good text editor as Kate (which can compile also with right module, after to configure from console), and recompile / install...

Gilles
Reply | Threaded
Open this post in threaded view
|

Re:

Gilles Caulier-4
Hi,

Any progress here ?

Best

Gilles Caulier

Le sam. 2 févr. 2019 à 22:11, Gilles Caulier <[hidden email]> a écrit :


Le sam. 2 févr. 2019 à 21:10, Sambhav Dusad <[hidden email]> a écrit :
Thanks,
I am using kdesrc-build from https://community.kde.org/Get_Involved/development#Set_up_kdesrc-build to build digikam locally. Currently, I am resolving the errors. 
Is it the correct way of building it?

Not at all. KDE is not digiKam and vis versa. digiKAm is an application using some KF5 API. Install all devel package from digiKam dependencies list, configure digiKam source code with bootstrap script and compile.

It's explained here : https://www.digikam.org/api/

How to edit the files after building digikam and compiling it?


use a good text editor as Kate (which can compile also with right module, after to configure from console), and recompile / install...

Gilles
Reply | Threaded
Open this post in threaded view
|

Re:

Sambhav Dusad
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re:

Gilles Caulier-4
Hi,

You don't need to use download-repos script. All is already in place in fact.

Just switch to the "dplugins" branch like this :

git checkout -b dplugins remotes/origin/development/dplugins

Now, you have a local dplugins branch following the remote one from the git server.

"git branch -a" will give you the full list of branches (local and remote)

"git pull" will be enough to update code in local, when code will change in remote server.

Best

Gilles Caulier

Le lun. 4 févr. 2019 à 14:43, Sambhav Dusad <[hidden email]> a écrit :
Hi,
I followed the instructions and installed the required dependencies. 
After cloning the development/dplugins repo, When I run ./download-repos it gives following error.
"fatal: 'origin/development/dplugins' is not a commit and a branch 'development/dplugins' cannot be created from it"
And also is there an IRC channel of digikam, so that I can share my issues easily there.
 
Thank You,
Sambhav Dusad

On Mon 4 Feb, 2019, 17:52 Gilles Caulier <[hidden email] wrote:
Hi,

Any progress here ?

Best

Gilles Caulier

Le sam. 2 févr. 2019 à 22:11, Gilles Caulier <[hidden email]> a écrit :


Le sam. 2 févr. 2019 à 21:10, Sambhav Dusad <[hidden email]> a écrit :
Thanks,
I am using kdesrc-build from https://community.kde.org/Get_Involved/development#Set_up_kdesrc-build to build digikam locally. Currently, I am resolving the errors. 
Is it the correct way of building it?

Not at all. KDE is not digiKam and vis versa. digiKAm is an application using some KF5 API. Install all devel package from digiKam dependencies list, configure digiKam source code with bootstrap script and compile.

It's explained here : https://www.digikam.org/api/

How to edit the files after building digikam and compiling it?


use a good text editor as Kate (which can compile also with right module, after to configure from console), and recompile / install...

Gilles
Reply | Threaded
Open this post in threaded view
|

Re:

Sambhav Dusad
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re:

Gilles Caulier-4


Le mar. 5 févr. 2019 à 06:14, Sambhav Dusad <[hidden email]> a écrit :
Thanks Gilles,
I ran the bootstrap-linux script and it successfully builds digikam but with this warning:
"Could not set up the appstream test. appstreamcli is missing."

You can forget. This has nothing to do with the build workflow.
 
I searched about it but couldn't find anything. What should I do?

Wikipedia is always your friend : https://en.wikipedia.org/wiki/AppStream
 
And also the digiKam IRC channel on freenode is inactive most of the time, where should i ask my doubts?

yes. I cannot use it in my office due to FW limitation. I can use LinkedIn channel instead, or talking by mail if you prefer.

Best

Gilles Caulier
Reply | Threaded
Open this post in threaded view
|

Re: Re: Compiling digikam on my system

Sambhav Dusad
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Re: Compiling digikam on my system

Gilles Caulier-4
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 <[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Compiling digikam on my system

Gilles Caulier-4

Le mar. 5 févr. 2019 à 09:03, Gilles Caulier <[hidden email]> 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 <[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Compiling digikam on my system

Sambhav Dusad
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Re: Compiling digikam on my system

Gilles Caulier-4


Le mar. 5 févr. 2019 à 09:32, Sambhav Dusad <[hidden email]> a écrit :
Thanks Gilles,
It compiled successfully :)
But what was the error about?

Which one exactly ? 
 
For other contributors who try to build digiKam on Ubuntu, I found a decent
tutorial
https://discuss.pixls.us/t/compile-latest-digikam-on-ubuntu-18-04/9882.

Now, what should I do? Any bugs to solve or any other thing for the project?


Look the resize tools improvements to do :

* For Batch Queue Management  :



* For Image Editor :



Both tools need to be homogeneous as possible. Please take a care to improve both at the same time. Read well the report and comment in bugzilla.

Best

Gilles Caulier
Reply | Threaded
Open this post in threaded view
|

Re: Re: Compiling digikam on my system

Sambhav Dusad
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Re: Compiling digikam on my system

Gilles Caulier-4


Le mar. 5 févr. 2019 à 16:09, Sambhav Dusad <[hidden email]> a écrit :
I looked into the issues and tried reproducing them. Please correct me if I
am wrong somewhere.

> It would be great if digiKam had a few of such buttons so I wouldn't have
> to type the resolution every time I work on 50 photos from one photoshoot.
> Batch processing resize won't work for me as I usually crop the photo
> before resizing.

I think we can implement this and provide some basic dimensions for resizing
the photo.
Also, we can give some option to the user to have their own customized
dimensions.


yes it is.
 
> Currently, resize is limited to setting the desired length of one side of
> the image, with a maximum value of 4000 pixels.

Sorry, but I wasn't able to perfectly understand this issue. I tried to
reproduce it and from what I understood, the bug is that the image is
resizable from one side only but I was able to resize it from both the sides
and also the resolution could go to 999% of the image original size which
was greater than 4000px.


Better is to ask to bugzilla as well and share the Q with the end user.
 
> The values should not be limited to 4000 pixels. Better use input boxes
> instead of sliders for that.

If we right click the bars, it turns into a text box and the desired values
can be entered. Do we have to provide a better way to use text boxes?

no need. the current slider widget is able to capture the value with right click. Again, please comment on bugzilla entry, it's better. 

Gilles Caulier
Reply | Threaded
Open this post in threaded view
|

Re: Re: Compiling digikam on my system

Sambhav Dusad
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Re: Compiling digikam on my system

Gilles Caulier-4


Le ven. 8 févr. 2019 à 09:07, Sambhav Dusad <[hidden email]> a écrit :
Thanks, Gilles

I have started working on the issue. I'll notify you if I encounter any
issue.

Can you please guide me how to compile modified digikam on my system after
making changes in the code.
I changed some code in resize.cpp in core directory and ran "make" and "sudo
make install" again. But the changes were not there.
Is there any other way?


No, it's the right way. Note : if you touch only the plugin code, you just need to re-install the plugin. That all. So go to build/core/dplugins/.../_your_plugin_  and run make install/fast as root.


Also, I am a beginner in Qt. Is there a need to have good experience in Qt
before working on the code?


yes for the basis. But you are there to learn. The DK code base is already a good example and fully coded with Qt API (1.5 M code lines). Explore and ask in this room if necessary. 

I am comfortable in learning about it. So, please suggest me some tutorials
to learn Qt.

Qt provide a package to install with all examples  used in Qt API doc. it's a first start. Else look in Qt wiki forum, StackOverflow, Youtube, and the learn area from LinkedIn SN.
Best
Gilles Caulier