building on MacOS
Dirk Hohndel
dirk at hohndel.org
Wed Oct 9 13:59:21 UTC 2013
On Wed, 2013-10-09 at 22:52 +0200, Thomas 'Mike' Michlmayr wrote:
> hi!
>
> i followed the instructions from the INSTALL file on 10.8.5 with XCode.
>
> i had one problem with the header files of marble. INSTALL says:
> $ cd ~/src/marble/build
> $ cmake -DCMAKE_BUILD_TYPE=Debug -DQTONLY=TRUE -DCMAKE_INSTALL_PREFIX=/usr/local ~/src/marble/sources
> $ make
> $ sudo make install
> $ cd src/lib
> $ mkdir -p /usr/local/include/marble
> $ cp $(find . -name '*.h') /usr/local/include/marble/
> $ cp *dylib /usr/local/lib/
>
> the header files from ~/src/marble/build/src/lib were not the ones that
> subsurface expected. when i used the header files from the sources
> directory ~/src/marble/sources/src/lib, i was able to compile subsurface.
The instructions have been updated in master (about 15 minutes ago)
> i've also executed the mkdir and the two cp commands as root, to be on
> the safe side (/usr/local/lib and /usr/local/include are not writeable
> for non-root on my system.
They are if you installed brew as the first user of /usr/local
> unfortunately, the compiled (and installed) Subsurface.app does not run,
> it crashes on startup with the following the crash report:
>
> Application Specific Information:
> /usr/local/lib/libmarblewidget.16.dylib
> abort() called
That seems a little less than what I am used to seeing in Mac crash
reports.
It works fine here built following the updated instructions on 10.7.5
/D
More information about the subsurface
mailing list