[Marble-devel] Re: marble make install step fails on MS Windows (using mingw)

Ákos Maróy akos at maroy.hu
Fri Apr 1 21:01:02 CEST 2011


Bernhard,

> Have you tried to run "make install" as administrator? I figure this
> is necessary for Vista and Win7.

another list member, Siddharth Srivastava also pointed this out. indeed,
if I run it as admin, it installs fine (even though the installation
directory is _not_ protected in any way - strange)

but, now there is only one problem: any app compiled with
libmarblewidget.dll
will only work it is started from the CMAKE_INSTALL_PREFIX directory I
specified at installation time. This is true for marble.exe compiled,
but also for any (very simple) sample application using libmarblewidget.dll

if any of these is started from another directory, then the effect is
that the app starts, but the window displaying the 3D map it pitch
black. mouse clicks bring up the popup menus as expected.

do you have an idea what is going wrong? are some paths hard-coded into
the library that have to be relative to the applications directory?

I haven't seen this issue on either Linux or Mac..


Akos



More information about the Marble-devel mailing list