Registered Member
|
I'm new to marble and using marble-14.12.3. I built and install the source code using cmake with VS2010 . Then I tried to run a simple test code as shown below.
Map theme file does not exist: "" Map theme file does not exist: "" Falling back to default theme: "earth/srtm/srtm.dgml" Map theme file does not exist: "" Couldn't find a valid DGML map. LEAK: 1 Page LEAK: 1 Frame LEAK: 3 RenderObject Please Help!! |
Registered Member
|
The paths to plugins and data is compiled into libmarblewidget-qt5.so, but can be changed at runtime. To do so, use MarbleDirs::setMarbleDataPath() and MarbleDirs::setMarblePluginPath().
In short, you have to ship all or some plugins to a folder of your choice Call
ship all or some data to another folder of your choice Call
The output you get (and likely also the segfault) happens because the compiled in plugin path does not exist on the target system, therefore Marble's plugin manager searches in / and tries to load the files it finds there. I've found the solution here: https://stackoverflow.com/questions/38521644/error-map-theme-file-does-not-exist-qt5-application-with-third-party-librar |
Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]