Hi I finally got everything working under Mac OSX Snow Leopard including Loch. The main Problem was to compile Loch as wxWidgets has to be compiled as 32-bit. (unless you find the 64-bit version of some libs needed by wxWidgets)
Follow the documentation on therion's wiki page http://therion.speleo.sk/wiki/doku.php?id=masox Make the following changes: - When installing TeX make sure to use the big MacTeX application. Otherwise you will get some compilation errors when trying to compile the maps. http://mirror.ctan.org/systems/mac/mactex/MacTeX.mpkg.zip - Install CMAKE as described in the documentation. I used the following version: 2.8-2 - Install VTK (I used version 5.4) as described but use different configuration for CMakeCache.txt CMAKE_INSTALL_PREFIX:PATH=/Applications/VTK_ALL/VTK_Bin CMAKE_OSX_ARCHITECTURES:STRING=i386;x86_64 VTK_USE_COCOA:BOOL=ON VTK_USE_CARBON:BOOL=OFF CMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.4 - Edit the Makefile of Loch in /Applications/therion/loch/Makefile as follows. Basically it is the same configuration as described in the documentation apart that I added the "-m32" option to the compiler. This will compile it as 32-bit Adjust VTK path if needed. (If you compiled VTK 64-bit only instead of universal build it will print some symbol linking errors) # PLATFORM MACOSX BITTINESS = -m32 CXX = c++ ${BITTINESS} CC = cc ${BITTINESS} VTKPATH = /Applications/VTK_All/VTK_Bin VTKINCLUDEPATH = $(VTKPATH)/include/vtk-5.4 VTKLIBPATH = $(VTKPATH)/lib/vtk-5.4 VTKLIBS = -lvtkHybrid -lvtkImaging -lvtkIO -lvtkGraphics -lvtkFiltering -lvtkCommon -lvtkjpeg -lvtkpng -lvtkzlib -lvtksys -lfreetype -lGLU -lGL POBJECTS = getline.o CXXPFLAGS = -W -Wall -DLXMACOSX $(shell wx-config --cxxflags) -I$(VTKINCLUDEPATH) -Wno-deprecated -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 CCPFLAGS = -W -Wall -DLXMACOSX $(shell wx-config --cflags) -I/usr/X11R6/include LXLIBDIR = PLIBS = -lz -L/usr/X11R6/lib $(shell wx-config --libs gl) -L$(VTKLIBPATH) $(VTKLIBS) POSTMAKE = cp -f ./loch ./loch.app/Contents/MacOS STRIPFLAG = # PLATFORM ENDCONFIG With a bit of luck everything will run through smoothly. Hopefully this will help you out! cheers Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20100915/b00dafa9/attachment.html>