building on MacOS

Thomas 'Mike' Michlmayr mike at cluon.priv.at
Wed Oct 9 13:52:48 UTC 2013


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.

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.

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

-- 
Thomas 'Mike' Michlmayr  | ignorami: n: The BOFH art of folding problem 
<mike+sig at cluon.priv.at> |           lusers into representational shapes.



More information about the subsurface mailing list