Error while building from source code.

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

Error while building from source code.

harsh agrawal
Hi everyone,
I was trying to build DigiKam from the source code.
When I ran make from terminal
I was able to build till 77% after which I got the following error.

home/dexter/digikam/digikam/digikam/database/dio.cpp: In member function
‘void Digikam::DIO::DIOPriv::processJob(int, const KUrl::List&, const
KUrl&)’:
/home/dexter/digikam/digikam/digikam/database/dio.cpp:90:31: error:
‘sidecarFilePathForFile’ is not a member of ‘Digikam::DMetadata’
/home/dexter/digikam/digikam/digikam/database/dio.cpp:100:35: error:
‘sidecarFilePathForFile’ is not a member of ‘Digikam::DMetadata’
/home/dexter/digikam/digikam/digikam/database/dio.cpp: In member
function ‘void Digikam::DIO::DIOPriv::processRename(const KUrl&, const
KUrl&)’:
/home/dexter/digikam/digikam/digikam/database/dio.cpp:118:23: error:
‘sidecarFilePathForFile’ is not a member of ‘Digikam::DMetadata’
/home/dexter/digikam/digikam/digikam/database/dio.cpp:121:31: error:
‘sidecarFilePathForFile’ is not a member of ‘Digikam::DMetadata’
make[2]: *** [digikam/CMakeFiles/digikam.dir/database/dio.o] Error 1
make[1]: *** [digikam/CMakeFiles/digikam.dir/all] Error 2
make: *** [all] Error 2

Any idea why this can happen? What should I do to troubleshoot.
Any help is appreciated.

Thanks
Harsh Agrawal


_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error while building from source code.

Gilles Caulier-4
you don't use current libkexiv2 implementation to compile digiKam. Use
libkexiv2 from git/master

Gilles Caulier

2012/3/17 harsh agrawal <[hidden email]>:

> Hi everyone,
> I was trying to build DigiKam from the source code.
> When I ran make from terminal
> I was able to build till 77% after which I got the following error.
>
> home/dexter/digikam/digikam/digikam/database/dio.cpp: In member function
> ‘void Digikam::DIO::DIOPriv::processJob(int, const KUrl::List&, const
> KUrl&)’:
> /home/dexter/digikam/digikam/digikam/database/dio.cpp:90:31: error:
> ‘sidecarFilePathForFile’ is not a member of ‘Digikam::DMetadata’
> /home/dexter/digikam/digikam/digikam/database/dio.cpp:100:35: error:
> ‘sidecarFilePathForFile’ is not a member of ‘Digikam::DMetadata’
> /home/dexter/digikam/digikam/digikam/database/dio.cpp: In member
> function ‘void Digikam::DIO::DIOPriv::processRename(const KUrl&, const
> KUrl&)’:
> /home/dexter/digikam/digikam/digikam/database/dio.cpp:118:23: error:
> ‘sidecarFilePathForFile’ is not a member of ‘Digikam::DMetadata’
> /home/dexter/digikam/digikam/digikam/database/dio.cpp:121:31: error:
> ‘sidecarFilePathForFile’ is not a member of ‘Digikam::DMetadata’
> make[2]: *** [digikam/CMakeFiles/digikam.dir/database/dio.o] Error 1
> make[1]: *** [digikam/CMakeFiles/digikam.dir/all] Error 2
> make: *** [all] Error 2
>
> Any idea why this can happen? What should I do to troubleshoot.
> Any help is appreciated.
>
> Thanks
> Harsh Agrawal
>
>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error while building from source code.

harsh agrawal
Hi,

Thanks for the quick reply. I got it to build successfully. :)

I had libkexiv2 installed using synaptic. And hence it didn't show any errors while using cmake. That was the problem. I then downloaded the source code using the link given in the read me file and build libkexiv2.


Thanks
Harsh Agrawal

On Sat, Mar 17, 2012 at 8:54 PM, Gilles Caulier <[hidden email]> wrote:
you don't use current libkexiv2 implementation to compile digiKam. Use
libkexiv2 from git/master

Gilles Caulier

2012/3/17 harsh agrawal <[hidden email]>:
> Hi everyone,
> I was trying to build DigiKam from the source code.
> When I ran make from terminal
> I was able to build till 77% after which I got the following error.
>
> home/dexter/digikam/digikam/digikam/database/dio.cpp: In member function
> ‘void Digikam::DIO::DIOPriv::processJob(int, const KUrl::List&, const
> KUrl&)’:
> /home/dexter/digikam/digikam/digikam/database/dio.cpp:90:31: error:
> ‘sidecarFilePathForFile’ is not a member of ‘Digikam::DMetadata’
> /home/dexter/digikam/digikam/digikam/database/dio.cpp:100:35: error:
> ‘sidecarFilePathForFile’ is not a member of ‘Digikam::DMetadata’
> /home/dexter/digikam/digikam/digikam/database/dio.cpp: In member
> function ‘void Digikam::DIO::DIOPriv::processRename(const KUrl&, const
> KUrl&)’:
> /home/dexter/digikam/digikam/digikam/database/dio.cpp:118:23: error:
> ‘sidecarFilePathForFile’ is not a member of ‘Digikam::DMetadata’
> /home/dexter/digikam/digikam/digikam/database/dio.cpp:121:31: error:
> ‘sidecarFilePathForFile’ is not a member of ‘Digikam::DMetadata’
> make[2]: *** [digikam/CMakeFiles/digikam.dir/database/dio.o] Error 1
> make[1]: *** [digikam/CMakeFiles/digikam.dir/all] Error 2
> make: *** [all] Error 2
>
> Any idea why this can happen? What should I do to troubleshoot.
> Any help is appreciated.
>
> Thanks
> Harsh Agrawal
>
>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel


_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error while building from source code.

harsh agrawal
I wanted to ask one more thing, what's the default development environment.

Is it KDevelop? Can it be done on Eclipse? Although while searching I found that Eclipse doesnt provide a good GIT support.



On Sat, Mar 17, 2012 at 9:48 PM, harsh agrawal <[hidden email]> wrote:
Hi,

Thanks for the quick reply. I got it to build successfully. :)

I had libkexiv2 installed using synaptic. And hence it didn't show any errors while using cmake. That was the problem. I then downloaded the source code using the link given in the read me file and build libkexiv2.


Thanks
Harsh Agrawal


On Sat, Mar 17, 2012 at 8:54 PM, Gilles Caulier <[hidden email]> wrote:
you don't use current libkexiv2 implementation to compile digiKam. Use
libkexiv2 from git/master

Gilles Caulier

2012/3/17 harsh agrawal <[hidden email]>:
> Hi everyone,
> I was trying to build DigiKam from the source code.
> When I ran make from terminal
> I was able to build till 77% after which I got the following error.
>
> home/dexter/digikam/digikam/digikam/database/dio.cpp: In member function
> ‘void Digikam::DIO::DIOPriv::processJob(int, const KUrl::List&, const
> KUrl&)’:
> /home/dexter/digikam/digikam/digikam/database/dio.cpp:90:31: error:
> ‘sidecarFilePathForFile’ is not a member of ‘Digikam::DMetadata’
> /home/dexter/digikam/digikam/digikam/database/dio.cpp:100:35: error:
> ‘sidecarFilePathForFile’ is not a member of ‘Digikam::DMetadata’
> /home/dexter/digikam/digikam/digikam/database/dio.cpp: In member
> function ‘void Digikam::DIO::DIOPriv::processRename(const KUrl&, const
> KUrl&)’:
> /home/dexter/digikam/digikam/digikam/database/dio.cpp:118:23: error:
> ‘sidecarFilePathForFile’ is not a member of ‘Digikam::DMetadata’
> /home/dexter/digikam/digikam/digikam/database/dio.cpp:121:31: error:
> ‘sidecarFilePathForFile’ is not a member of ‘Digikam::DMetadata’
> make[2]: *** [digikam/CMakeFiles/digikam.dir/database/dio.o] Error 1
> make[1]: *** [digikam/CMakeFiles/digikam.dir/all] Error 2
> make: *** [all] Error 2
>
> Any idea why this can happen? What should I do to troubleshoot.
> Any help is appreciated.
>
> Thanks
> Harsh Agrawal
>
>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel



_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel