[Digikam-devel] digikam 0.10.0 svn build error -- greycstoration and cimg (again)

Gilles Caulier caulier.gilles at gmail.com
Thu Jul 17 13:20:51 BST 2008


Arnd,

The Jasper's problem is not a compilation problem but a linking
problem (which don't must never appears of course). sound like a X11
shared lib is not available in the default linker path.

Best

Gilles

2008/7/17, Arnd Baecker <arnd.baecker at web.de>:
> On Thu, 17 Jul 2008, Gilles Caulier wrote:
>
>> Arnd,
>>
>> Sound like all is fn in source code. Look here
>>
>> http://lxr.kde.org/source/extragear/graphics/digikam/libs/greycstoration/greycstorationiface.cpp#025
>>
>> This is the switch to not use X11 header during compilation. It's used
>> into CImg.h at this place :
>>
>> http://lxr.kde.org/source/extragear/graphics/digikam/libs/greycstoration/CImg.h#155
>>
>> 0 want mean do disable GUI interaction.
>> 1 want mean to use X11 API (Unix - default value in CImg.h)
>> 2 want mean to use Win32 API (Windows)
>> 3 want mean to use Carbon API (MACOS-X)
>
> Hmm, then I don't understand, where the problem comes from ....
>
> Best, Arnd
>
>> Best
>>
>> Gilles
>>
>> 2008/7/17, Gilles Caulier <caulier.gilles at gmail.com>:
>> > Arnd,
>> >
>> > I remember this problem from the past. Let's me give me info:
>> >
>> > CImg can prvide X11 interface in few case. In digiKam of course we
>> > don't care and we won't to compile this specific platteform issues to
>> > be portable everywhere.
>> >
>> > There is a CImg switch during compilation to disable X11 support.
>> > Sound like i have forget to set this one in CMakeLists.txt
>> >
>> > I will take a look and provide a patch in this way
>> >
>> > Best
>> >
>> > Gilles Caulier
>> >
>> > 2008/7/17, Arnd Baecker <arnd.baecker at web.de>:
>> >> On Thu, 17 Jul 2008, Jasper Mackenzie wrote:
>> >>
>> >>> Good day all,
>> >>>   Its always the poor debian users...
>> >>
>> >> can't confirm this ... ;-)
>> >>
>> >>> after experiencing all the symptoms
>> >>> of http://www.nabble.com/0.10-beta1-Building-error-td18380035r0.html
>> >>> with
>> >>> solid etc,
>> >>> i re-checked out the svn tree, the collections/solid issue has gone,
>> >>> now
>> >>> the build error is:
>> >>>
>> >>> ===
>> >>> CMakeFiles/digikam.dir/__/libs/greycstoration/greycstorationiface.o:
>> >>> In
>> >>> function `cimg_library::CImgDisplay::_desinit_fullscreen()':
>> >>> greycstorationiface.cpp:(.text._ZN12cimg_library11CImgDisplay19_desinit_fullscreenEv[cimg_library::CImgDisplay::_desinit_fullscreen()]+0x38):
>> >>> undefined reference to `XUngrabKeyboard'
>> >>
>> >> Installing libx11-dev should cure this problem.
>> >>
>> >> HTH, Arnd
>> >> _______________________________________________
>> >> Digikam-devel mailing list
>> >> Digikam-devel at kde.org
>> >> https://mail.kde.org/mailman/listinfo/digikam-devel
>> >>
>> >
>> _______________________________________________
>> Digikam-devel mailing list
>> Digikam-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/digikam-devel
>>
>>
> _______________________________________________
> Digikam-devel mailing list
> Digikam-devel at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-devel
>



More information about the Digikam-devel mailing list