<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title></title></head><body><p style="margin: 0px;"><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;text-decoration:none">Hello Cui,</span></p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;text-decoration:none"><span style="font-family: 等线;">> ./marble --marbledatapath=<prefix>/marble/data</span></span></p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;text-decoration:none"><span style="font-family: 等线;">Oh that looks like the source directory.</span></span></p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;text-decoration:none"><span style="font-family: 等线;">> Do you also need to do the manual install/copy step to setup environment?</span></span></p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;text-decoration:none"><span style="font-family: 等线;">Yes that is the preferred way to do it. You can try to find your way keeping things in the build directory - and it's possible to do that - but it you need to make the adjustments to the data and plugin path in that case.</span></span></p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;text-decoration:none"><span style="font-family: 等线;">So better do the install, e.g. like this:</span></span></p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;text-decoration:none"><span style="font-family: 等线;">After doing the compilation via "make", have you actually installed the application (via make install)?</span></span></p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;text-decoration:none"><span style="font-family: 等线;">Let me quickly tell how this works on the commandline:</span></span></p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;text-decoration:none"><span style="font-family: 等线;">Create a build directory next to your sources - which I have  located in ~/marble/sources in my example:</span></span></p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;text-decoration:none"><span style="font-family: 等线;">tackat@tackat-ThinkPad-T440p:~/marble$ mkdir mybuild<br /></span></span></p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;text-decoration:none"><span style="font-family: 等线;">tackat@tackat-ThinkPad-T440p:~/marble$ cd mybuild/<br /><br /></span></span></p>
<p style="margin: 0px;"><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;text-decoration:none"><span style="font-family: 等线;">(if you have Qt installed via the maintenance tool then you might need to tell where your Qt installation is e.g. via:  export Qt5_DIR=/opt/Qt/5.14.2/gcc_64/)<br /></span></span></p>
<p style="margin: 0px 5px 0px 0px;"> </p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000; text-decoration: none;"><span style="font-family: 等线;">Start the build via:</span></span></p>
<p style="margin: 0px 5px 0px 0px;"> </p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000; text-decoration: none;"><span style="font-family: 等线;">tackat@tackat-ThinkPad-T440p:~/marble/mybuild$ cmake ../sources<br /><br /></span></span></p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000; text-decoration: none;"><span style="font-family: 等线;">Do the "install" step via:</span></span></p>
<p style="margin: 0px 5px 0px 0px;"> </p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000; text-decoration: none;"><span style="font-family: 等线;">tackat@tackat-ThinkPad-T440p:~/marble/mybuild$ sudo cmake --build . --target all && sudo cmake --build . --target install <br /><br /></span></span></p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000; text-decoration: none;"><span style="font-family: 等线;">If you use Qt Creator you probably need to add the last step under the project tab in the build section.</span></span></p>
<p style="margin: 0px 5px 0px 0px;"> </p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000; text-decoration: none;"><span style="font-family: 等线;">Best regards</span></span></p>
<p style="margin: 0px 5px 0px 0px;"><span style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000; text-decoration: none;"><span style="font-family: 等线;">Torsten</span></span></p>
<p style="margin: 0px 5px 0px 0px;"> </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"><span style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:#000000;text-decoration:none"> </span></p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">-----Original-Nachricht-----</p>
<p style="margin: 0px;">Betreff: RE: How to debug marble-qt in build folder without sudo make install</p>
<p style="margin: 0px;">Datum: 2023-03-20T07:57:27+0100</p>
<p style="margin: 0px;">Von: "王璀 WANG Cui" <iucgnaw@msn.com></p>
<p style="margin: 0px;">An: "Torsten Rahn" <tackat@t-online.de>, "Mailinglist, Marble-Devel" <marble-devel@kde.org></p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<div style="position: relative; color: #000000; font: 12px Arial,Helvetica,sans-serif;">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family: 等线;">Hi Torsten,</span></p>
<p class="MsoNormal"><span style="font-family: 等线;">Thanks again, I am trying to write a Placemark plugin, while sometimes the code crashes in libmarblewidget-qt5.so functions, that is why I need to debug through it.</span></p>
<p class="MsoNormal"><span style="font-family: 等线;"> </span></p>
<p class="MsoNormal"><span style="font-family: 等线;">As you helped, I go ahead 1 step advanced.</span></p>
<p class="MsoNormal"><span style="font-family: 等线;">I add program option as:</span></p>
<p class="MsoNormal"><span style="font-family: 等线;">./marble --marbledatapath=<prefix>/marble/data</span></p>
<p class="MsoNormal"><span style="font-family: 等线;">And the default virtual globe show as expected. However, plugins are still not found as below Terminal:</span></p>
<p class="MsoNormal"><span style="font-family: 等线;">--------</span></p>
<p class="MsoNormal"><span style="font-family: 等线;">$ ./marble-qt --marbledatapath=/home/ubuntu/Git/GitHub/KDE/marble/data</span></p>
<p class="MsoNormal"><span style="font-family: 等线;"> </span></p>
<p class="MsoNormal"><span style="font-family: 等线;">Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.</span></p>
<p class="MsoNormal"><span style="font-family: 等线;"> </span></p>
<p class="MsoNormal"><span style="font-family: 等线;">No plugins loaded. Please check if the plugins were installed in the correct path, or if any errors occurred while loading plugins.</span></p>
<p class="MsoNormal"><span style="font-family: 等线;"> </span></p>
<p class="MsoNormal"><span style="font-family: 等线;">[17943:7:0320/144328.132821:ERROR:command_buffer_proxy_impl.cc(141)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.</span></p>
<p class="MsoNormal"><span style="font-family: 等线;"> </span></p>
<p class="MsoNormal"><span style="font-family: 等线;">[17970:6:0320/144328.132861:ERROR:command_buffer_proxy_impl.cc(141)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.</span></p>
<p class="MsoNormal"><span style="font-family: 等线;">--------</span></p>
<p class="MsoNormal"><span style="font-family: 等线;">Seems there is not such --marbleplugpath option available.</span></p>
<p class="MsoNormal"><span style="font-family: 等线;"> </span></p>
<p class="MsoNormal"><span style="font-family: 等线;">I know I can:</span></p>
<p class="MsoNormal"><span style="font-family: 等线;">- sudo make install, to install plugins into Plugin System Path</span></p>
<p class="MsoNormal"><span style="font-family: 等线;">- manually copy built plugin into Plugin Local Path</span></p>
<p class="MsoNormal"><span style="font-family: 等线;">But still it not as I expected debug in place right after build.</span></p>
<p class="MsoNormal"><span style="font-family: 等线;"> </span></p>
<p class="MsoNormal"><span style="font-family: 等线;">Maybe I can ask in different way, for Marble official developers, how do you debug every executables/libraries/plugins? Do you also need to do the manual install/copy step to setup environment?</span></p>
<p class="MsoNormal"><span style="font-family: 等线;"> </span></p>
<p class="MsoNormal"><span style="font-family: 等线;">WANG Cui</span></p>
<p class="MsoNormal"><span style="font-family: 等线;"> </span></p>
<div>
<div style="border: none; border-top: solid #E1E1E1 1.0pt; padding: 3.0pt 0in 0in 0in;">
<p class="MsoNormal"><strong>From:</strong> Torsten Rahn <tackat@t-online.de> <br /><strong>Sent:</strong> Monday, March 20, 2023 2:59 AM<br /><strong>To:</strong> <span lang="ZH-CN" style="font-family: 宋体;">王璀</span> WANG Cui <iucgnaw@msn.com>; Mailinglist, Marble-Devel <marble-devel@kde.org><br /><strong>Subject:</strong> AW: How to debug marble-qt in build folder without sudo make install</p>
</div>
</div>
<p class="MsoNormal"> </p>
<p style="margin: 0px;"><span style="font-size: 10.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;">Hello Cui,</span></p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"><span style="font-size: 10.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;">you are correct about your investigations.</span></p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"><span style="font-size: 10.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;">Now the help for further debugging:</span></p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"><span style="font-size: 10.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;">In order to get more debug messages start Marble with</span></p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"><span style="font-size: 10.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;">marble-qt --debug-info</span></p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"><span style="font-size: 10.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;">This will also output things like</span></p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"><span style="font-size: 10.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;">=== MarbleDirs: === <br />Local Path: "/home/tackat/.local/share/marble" <br />Plugin Local Path: "/home/tackat/.marble/plugins" <br /><br />Marble Data Path (Run Time) : "" <br />Marble Data Path (Compile Time): "/usr/local/share/marble/data" <br /><br />Marble Plugin Path (Run Time) : "" <br />Marble Plugin Path (Compile Time): "/usr/local/lib/marble/plugins" <br /><br />System Path: "/usr/local/share/marble/data" <br />Plugin System Path: "/usr/local/lib/marble/plugins"</span></p>
<p style="margin: 0px;"><span style="font-size: 10.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;">... which should help you to see where Marble is looking for its data and plugins.</span></p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"><span style="font-size: 10.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;">Another cue: Starting Marble with</span></p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"><span style="font-size: 10.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;">marble-qt -h</span></p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">This allows you to adjust data and plugin path at runtime.</p>
<p style="margin: 0px;">Adjusting it at compile-time can be achieved by changing these </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">MARBLE_DATA_INSTALL_PATH</p>
<p style="margin: 0px;">MARBLE_PLUGIN_INSTALL_PATH</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">in the cmake call.</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">Hope that helps :)</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">Which problem do you want to debug? :-)</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">Best regards</p>
<p style="margin: 0px;">Torsten</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"><span style="font-size: 10.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;"> </span></p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">-----Original-Nachricht-----</p>
<p style="margin: 0px;">Betreff: RE: How to debug marble-qt in build folder without sudo make install</p>
<p style="margin: 0px;">Datum: 2023-03-19T17:46:19+0100</p>
<p style="margin: 0px;">Von: "<span lang="ZH-CN" style="font-family: 等线;">王璀</span> WANG Cui" <<a href="mailto:iucgnaw@msn.com">iucgnaw@msn.com</a>></p>
<p style="margin: 0px;">An: "Torsten Rahn" <<a href="mailto:tackat@t-online.de">tackat@t-online.de</a>>, "Mailinglist, Marble-Devel" <<a href="mailto:marble-devel@kde.org">marble-devel@kde.org</a>></p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;">Hi Torsten,</span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;">Thank you for the quick help!</span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;">You are right, I am building and debug marble on Ubuntu 22.04.</span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;">I do as your recommended, and added the built library paths:</span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;">build/src/lib/marble</span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;">build/src/lib/astro</span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;">into /etc/ld.so.conf.d/local.conf</span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;">Now I do can run ./marble from build folder.</span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;">However, it shows a blank Marble window as attached screenshot, also below displayed in Terminal window:</span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;">--------</span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;">$ ./marble-qt</span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;"> </span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;">Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.</span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;"> </span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;">Map theme file does not exist: ""</span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;"> </span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;">No plugins loaded. Please check if the plugins were installed in the correct path, or if any errors occurred while loading plugins.</span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;"> </span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;">Falling back to default theme: "earth/srtm/srtm.dgml"</span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;"> </span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;">Map theme file does not exist: ""</span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;"> </span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;">Couldn't find a valid DGML map.</span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;"> </span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;">[5816:7:0320/003352.567904:ERROR:command_buffer_proxy_impl.cc(141)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.</span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;"> </span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;">[5805:7:0320/003352.569258:ERROR:command_buffer_proxy_impl.cc(141)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.</span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;">--------</span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;">I guess it is because marble can<span lang="ZH-CN">’</span>t find data/plugin path (which suppose to be installed by sudo make install)? Is there way to let marble also know to get such data/plugin from build folder?</span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;"> </span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;">Thanks in advance!</span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: 等线; color: black;"> </span></p>
<div>
<div style="border: none; border-top: solid #E1E1E1 1.0pt; padding: 3.0pt 0in 0in 0in;">
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><strong><span style="font-size: 9.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;">From:</span></strong><span style="font-size: 9.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;"> Torsten Rahn <<a href="mailto:tackat@t-online.de">tackat@t-online.de</a>> <br /><strong><span style="font-family: &quot;">Sent:</span></strong> Sunday, March 19, 2023 11:33 PM<br /><strong><span style="font-family: &quot;">To:</span></strong> ?? WANG Cui <<a href="mailto:iucgnaw@msn.com">iucgnaw@msn.com</a>>; Mailinglist, Marble-Devel <<a href="mailto:marble-devel@kde.org">marble-devel@kde.org</a>><br /><strong><span style="font-family: &quot;">Subject:</span></strong> AW: How to debug marble-qt in build folder without sudo make install</span></p>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;"> </span></p>
<p style="margin: 0px;"><span style="font-size: 10.0pt; font-family: &quot; &quot&quot;,serif;color: black;">Hello,</span></p>
<p style="margin: 0px;"><span style="font-size: 9.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;"> </span></p>
<p style="margin: 0px;"><span style="font-size: 10.0pt; font-family: &quot; &quot&quot;,serif;color: black;">thanks for looking into the adventure of compiling marble-qt (which should be relatively easy compared to other software).</span></p>
<p style="margin: 0px;"><span style="font-size: 9.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;"> </span></p>
<p style="margin: 0px;"><span style="font-size: 10.0pt; font-family: &quot; &quot&quot;,serif;color: black;">Your problem sounds like a typical one that frequently happens to people compiling on Ubuntu/Debian.</span></p>
<p style="margin: 0px;"><span style="font-size: 10.0pt; font-family: &quot; &quot&quot;,serif;color: black;">As a possible quick fix you might want to start marble-qt on the terminal/shell via:</span></p>
<p style="margin: 0px;"><span style="font-size: 9.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;"> </span></p>
<p style="margin: 0px;"><span style="font-size: 10.0pt; font-family: &quot; &quot&quot;,serif;color: black;">LD_LIBRARY_PATH=/usr/local/lib marble-qt</span></p>
<p style="margin: 0px;"><span style="font-size: 9.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;"> </span></p>
<p style="margin: 0px;"><span style="font-size: 10.0pt; font-family: &quot; &quot&quot;,serif;color: black;">In case this works you might want to follow up on this stackoverflow question (the common place where coders borrowed their knowledge/codesamples from before chatgpt arrived):</span></p>
<p style="margin: 0px;"><span style="font-size: 9.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;"> </span></p>
<p style="margin: 0px;"><span style="font-size: 10.0pt; font-family: &quot; &quot&quot;,serif;color: black;"><a href="https://stackoverflow.com/questions/69061258/permanent-fix-for-export-ld-library-path-usr-local-libld-library-path">https://stackoverflow.com/questions/69061258/permanent-fix-for-export-ld-library-path-usr-local-libld-library-path</a></span></p>
<p style="margin: 0px;"><span style="font-size: 9.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;"> </span></p>
<p style="margin: 0px;"><span style="font-size: 9.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;">Hope this helps :-)</span></p>
<p style="margin: 0px;"><span style="font-size: 9.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;"> </span></p>
<p style="margin: 0px;"><span style="font-size: 9.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;">BR</span></p>
<p style="margin: 0px;"><span style="font-size: 9.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;">Torsten</span></p>
<p style="margin: 0px;"><span style="font-size: 10.0pt; font-family: &quot; &quot&quot;,serif;color: black;"> </span></p>
<p style="margin: 0px;"><span style="font-size: 9.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;"> </span></p>
<p style="margin: 0px;"><span style="font-size: 9.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;"> </span></p>
<p style="margin: 0px;"><span style="font-size: 9.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;">-----Original-Nachricht-----</span></p>
<p style="margin: 0px;"><span style="font-size: 9.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;">Betreff: How to debug marble-qt in build folder without sudo make install</span></p>
<p style="margin: 0px;"><span style="font-size: 9.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;">Datum: 2023-03-19T15:54:22+0100</span></p>
<p style="margin: 0px;"><span style="font-size: 9.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;">Von: "?? WANG Cui" <<a href="mailto:iucgnaw@msn.com">iucgnaw@msn.com</a>></span></p>
<p style="margin: 0px;"><span style="font-size: 9.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;">An: "<a href="mailto:marble-devel-owner@kde.org">marble-devel-owner@kde.org</a>" <<a href="mailto:marble-devel-owner@kde.org">marble-devel-owner@kde.org</a>></span></p>
<p style="margin: 0px;"><span style="font-size: 9.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;"> </span></p>
<p style="margin: 0px;"><span style="font-size: 9.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;"> </span></p>
<p style="margin: 0px;"><span style="font-size: 9.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;"> </span></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: &quot; &quot&quot;,serif;color: black;">Hi,</span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: &quot; &quot&quot;,serif;color: black;">As I want to debug marble-qt and library, but after finish build, by default can run marble-qt in build folder as it won</span><span lang="ZH-CN" style="font-size: 9.0pt; font-family: 等线; color: black;">’</span><span style="font-size: 9.0pt; font-family: &quot; &quot&quot;,serif;color: black;">t find library in system folder.</span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: &quot; &quot&quot;,serif;color: black;">Right now I have to run sudo make install all these files, then debug it.</span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: &quot; &quot&quot;,serif;color: black;">I just wonder is there a way to run marble-qt and let it find library and data in the marble/build folder, without have to install them after rebuild?</span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: &quot; &quot&quot;,serif;color: black;">Thanks in advance.</span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: &quot; &quot&quot;,serif;color: black;"> </span></p>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 9.0pt; font-family: &quot; arial&quot;,sans-serif;color: black;"> </span></p>
</div>
</div>
<p style="margin: 0px;"> </p>
<p class="MsoNormal"> </p>
</div>
</div>
<p style="margin: 0px;"> </p></body></html>