AW: How to debug marble-qt in build folder without sudo make install

2023-03-19 Thread Torsten Rahn
Hello, thanks for looking into the adventure of compiling marble-qt (which should be relatively easy compared to other software). Your problem sounds like a typical one that frequently happens to people compiling on Ubuntu/Debian. As a possible quick fix you might want to start marble-qt on t

RE: How to debug marble-qt in build folder without sudo make install

2023-03-19 Thread 王璀 WANG Cui
Hi Torsten, Thank you for the quick help! You are right, I am building and debug marble on Ubuntu 22.04. I do as your recommended, and added the built library paths: build/src/lib/marble build/src/lib/astro into /etc/ld.so.conf.d/local.conf Now I do can run ./marble from build folder. However, it s

AW: How to debug marble-qt in build folder without sudo make install

2023-03-19 Thread Torsten Rahn
Hello Cui, you are correct about your investigations. Now the help for further debugging: In order to get more debug messages start Marble with marble-qt --debug-info This will also output things like === MarbleDirs: === Local Path: "/home/tackat/.local/share/marble" Plugin Local Path:

RE: How to debug marble-qt in build folder without sudo make install

2023-03-19 Thread 王璀 WANG Cui
Hi Torsten, 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. As you helped, I go ahead 1 step advanced. I add program option as: ./marble --marbledatapath=/marble/data And the defa