<div dir="ltr">I don't have a fix. It sound like a problem with your X11 headers. Here code compile fine under Linux.<div><br></div><div style>My link to the forum is just to show that problem exist with Qt code and X11.</div>
<div style><br></div><div style>Gilles Caulier</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/3/19 Borries Demeler <span dir="ltr"><<a href="mailto:demeler@biochem.uthscsa.edu" target="_blank">demeler@biochem.uthscsa.edu</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Gilles,<br>
<br>
thanks very much for responding, but can you tell me what the fix is?<br>
<br>
There was no solution indicated in your link. Including <X11/Xlib.h> is<br>
not the remedy, since it is already included in screenproperties.cpp<br>
<br>
Thanks! -Borries<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Tue, Mar 19, 2013 at 06:53:47AM +0100, Gilles Caulier wrote:<br>
> Hi<br>
><br>
> It's an X11 header failure... #include <X11/xlib.h><br>
><br>
> Problem is already seen in other system as<br>
><br>
> <a href="http://forums.gentoo.org/viewtopic-t-939638-view-next.html?sid=c137290470508c6a78dcfd37776e734c" target="_blank">http://forums.gentoo.org/viewtopic-t-939638-view-next.html?sid=c137290470508c6a78dcfd37776e734c</a><br>
><br>
> Gilles Caulier<br>
><br>
><br>
> 2013/3/19 Borries Demeler <<a href="mailto:demeler@biochem.uthscsa.edu">demeler@biochem.uthscsa.edu</a>><br>
><br>
> > I am trying to compile digikam 3.1 on Slackware 14/64 (upgraded to<br>
> > current), but am<br>
> > running into compilation issues. My first issue is:<br>
> ><br>
> > [ 35%] Building CXX object<br>
> > extra/kipi-plugins/advancedslideshow/CMakeFiles/kipiplugin_advancedslideshow.dir/plugin/screenproperties.cpp.o<br>
> > In file included from<br>
> > /root/digikam-3.1.0/extra/kipi-plugins/advancedslideshow/plugin/screenproperties.cpp:38:0:<br>
> > /usr/include/X11/Xlib.h:1694:1: error: '_X_DEPRECATED' does not name a type<br>
> > /usr/include/X11/Xlib.h:3579:3: error: expected initializer before<br>
> > '_X_SENTINEL'<br>
> > /usr/include/X11/Xlib.h:3584:3: error: expected initializer before<br>
> > '_X_SENTINEL'<br>
> > /usr/include/X11/Xlib.h:3597:3: error: expected initializer before<br>
> > '_X_SENTINEL'<br>
> > /usr/include/X11/Xlib.h:3610:3: error: expected initializer before<br>
> > '_X_SENTINEL'<br>
> > /usr/include/X11/Xlib.h:3615:3: error: expected initializer before<br>
> > '_X_SENTINEL'<br>
> > /usr/include/X11/Xlib.h:3847:3: error: expected initializer before<br>
> > '_X_SENTINEL'<br>
> > /usr/include/X11/Xlib.h:3851:3: error: expected initializer before<br>
> > '_X_SENTINEL'<br>
> > /usr/include/X11/Xlib.h:3863:3: error: expected initializer before<br>
> > '_X_SENTINEL'<br>
> > /usr/include/X11/Xlib.h:3891:3: error: expected initializer before<br>
> > '_X_SENTINEL'<br>
> > /usr/include/X11/Xlib.h:3895:3: error: expected initializer before<br>
> > '_X_SENTINEL'<br>
> > /usr/include/X11/Xlib.h:3935:3: error: expected initializer before<br>
> > '_X_SENTINEL'<br>
> > make[2]: ***<br>
> > [extra/kipi-plugins/advancedslideshow/CMakeFiles/kipiplugin_advancedslideshow.dir/plugin/screenproperties.cpp.o]<br>
> > Error 1<br>
> > make[1]: ***<br>
> > [extra/kipi-plugins/advancedslideshow/CMakeFiles/kipiplugin_advancedslideshow.dir/all]<br>
> > Error 2<br>
> > make: *** [all] Error 2<br>
> ><br>
> ><br>
> > Can someone suggest a solution?<br>
> ><br>
> > Thanks, -Borries<br>
> > _______________________________________________<br>
> > Digikam-users mailing list<br>
> > <a href="mailto:Digikam-users@kde.org">Digikam-users@kde.org</a><br>
> > <a href="https://mail.kde.org/mailman/listinfo/digikam-users" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-users</a><br>
> ><br>
<br>
> _______________________________________________<br>
> Digikam-users mailing list<br>
> <a href="mailto:Digikam-users@kde.org">Digikam-users@kde.org</a><br>
> <a href="https://mail.kde.org/mailman/listinfo/digikam-users" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-users</a><br>
<br>
_______________________________________________<br>
Digikam-users mailing list<br>
<a href="mailto:Digikam-users@kde.org">Digikam-users@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/digikam-users" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-users</a><br>
</div></div></blockquote></div><br></div>