<br><div class="gmail_quote">On Thu, Dec 9, 2010 at 23:31, Michael G. Hansen <span dir="ltr"><<a href="mailto:mike@mghansen.de">mike@mghansen.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div><div></div><div class="h5">On 12/09/2010 12:19 AM, Martin Klapetek wrote:<br>
> Hi,<br>
><br>
> I'd just like to inform you, that libkmap from kdereview/ does not compile<br>
> anymore with the newest KDE 4.6 beta2 (4.5.85) because of some Marble stuff.<br>
> Also, digiKam  won't run on 4.5.85 with the libkmap compiled against Marble<br>
> <= 4.5.80. Probably some changes in Marble. Here's the build log:<br>
><br>
> [ 54%] Building CXX object libkmap/CMakeFiles/kmap.dir/backend-marble.o<br>
><br>
><br>
> [ 59%] Building CXX object<br>
> libkmap/CMakeFiles/kmap.dir/backend-marble-layer.o<br>
><br>
> [ 63%] Building CXX object libkmap/CMakeFiles/kmap.dir/backend-googlemaps.o<br>
><br>
> /home/mck182/GSoC/trunk/libkmap/libkmap/backend-marble-layer.cpp:49:6:<br>
> warning: unused parameter ‘viewport’<br>
><br>
> /home/mck182/GSoC/trunk/libkmap/libkmap/backend-marble-layer.cpp:49:6:<br>
> warning: unused parameter ‘layer’<br>
> /home/mck182/GSoC/trunk/libkmap/libkmap/backend-marble.cpp: In constructor<br>
> ‘KMap::BackendMarble::BackendMarble(const<br>
> QExplicitlySharedDataPointer<KMap::KMapSharedData>&, QObject*)’:<br>
> /home/mck182/GSoC/trunk/libkmap/libkmap/backend-marble.cpp:156:31: error:<br>
> ‘class Marble::MarbleModel’ has no member named ‘addLayer’<br>
> /home/mck182/GSoC/trunk/libkmap/libkmap/backend-marble.cpp: In destructor<br>
> ‘virtual KMap::BackendMarble::~BackendMarble()’:<br>
> /home/mck182/GSoC/trunk/libkmap/libkmap/backend-marble.cpp:179:35: error:<br>
> ‘class Marble::MarbleModel’ has no member named ‘removeLayer’<br>
> make[2]: *** [libkmap/CMakeFiles/kmap.dir/backend-marble.o] Error 1<br>
> make[1]: *** [libkmap/CMakeFiles/kmap.dir/all] Error 2<br>
> make: *** [all] Error 2<br>
> [mck182@mck182-tablet build]$<br>
<br>
</div></div>Thanks Marty! However, I'm not up to 4.6 beta2 yet.<br>
<br>
As a temporary solution, you could modify libkmap/CMakelists.txt in this<br>
region to not define KMAP_MARBLE_ADD_LAYER for KDE 4.6 beta2 or later:<br>
<br>
IF (${KDE_VERSION} VERSION_GREATER "4.4.66")<br>
     ADD_DEFINITIONS(-DKMAP_MARBLE_ADD_LAYER)<br>
     SET( backend_marble_sources ${backend_marble_sources}<br>
backend-marble-layer.cpp )<br>
ELSE (${KDE_VERSION} VERSION_GREATER "4.4.66")<br>
     SET( backend_marble_sources ${backend_marble_sources}<br>
backend-marble-subwidget.cpp )<br>
ENDIF (${KDE_VERSION} VERSION_GREATER "4.4.66")<br></blockquote><div><br></div><div>Where exactly should I place this? I tried to put it before the lines</div><div><br></div><div><div>SUBDIRS(libkmap)</div><div>

SUBDIRS(test)</div><div>SUBDIRS(calibrator)</div></div><div><br></div><div>but the build still fails, with the same error.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


<div class="im"><br>
 > Also, digiKam  won't run on 4.5.85 with the libkmap compiled against<br>
Marble<br>
 > <= 4.5.80. Probably some changes in Marble. Here's the build log:<br>
<br>
</div>"Won't run" as in "crashes"? Do you have a backtrace? :-)<br></blockquote><div><br></div><div>Oh, yes, of course :) Here's the relevant part:</div><div><br></div><div><meta name="qrichtext" content="1"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Thread 1 (Thread 0x7f461daf6a00 (LWP 22137)):</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">[KCrash Handler]</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">#6  0x0000000000000000 in ?? ()</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">#7  0x00000036ad238d62 in KMap::BackendMarble::BackendMarble (this=0x1c22720, sharedData=..., parent=0x1bb1f40) at /home/mck182/GSoC/trunk/libkmap/libkmap/backend-marble.cpp:158</p>


<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">#8  0x00000036ad216848 in KMap::KMapWidget::KMapWidget (this=0x1bb1f40, parent=0x1bb1130) at /home/mck182/GSoC/trunk/libkmap/libkmap/kmap_widget.cpp:256</p>


<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">#9  0x00000000006357a6 in Digikam::MapWidgetView::MapWidgetView (this=0x1bb1130, selectionModel=0x11152b0, imageFilterModel=0xfddbd0, parent=0x11fa160) at /home/mck182/GSoC/trunk/digikam-gsoc/digikam/mapwidgetview.cpp:107</p>


<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">#10 0x00000000005c5c62 in Digikam::AlbumWidgetStack::AlbumWidgetStack (this=0x11fa160, parent=0x1117890) at /home/mck182/GSoC/trunk/digikam-gsoc/digikam/albumwidgetstack.cpp:110</p>


<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">#11 0x00000000005faf21 in Digikam::DigikamView::DigikamView (this=0x11aa890, parent=0x107ab50, modelCollection=0x10f7630) at /home/mck182/GSoC/trunk/digikam-gsoc/digikam/digikamview.cpp:189</p>


<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">#12 0x00000000005d8600 in Digikam::DigikamApp::setupView (this=0x107ab50) at /home/mck182/GSoC/trunk/digikam-gsoc/digikam/digikamapp.cpp:517</p>


<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">#13 0x00000000005d7157 in Digikam::DigikamApp::DigikamApp (this=0x107ab50, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /home/mck182/GSoC/trunk/digikam-gsoc/digikam/digikamapp.cpp:236</p>


<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">#14 0x00000000006a4397 in main (argc=1, argv=0x7fff955b5eb8) at /home/mck182/GSoC/trunk/digikam-gsoc/digikam/main.cpp:188</p>

<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">

Marty</p></div></div>