[Therion] macOS installation

Anže Abram anze.abram at gmail.com
Sat Nov 1 09:55:25 CET 2025


Thank you for this tip, I managed to successfully compile it this way. I
had to do 'cd .' before cmake command, and finish off with 'make install'
to place the apps at the correct location. It still produced a few errors
in Loch sections, but the program seems to run OK in the end. The errors:

[ 92%] Building CXX object loch/CMakeFiles/loch.dir/lxWX.cxx.o

[ 92%] Building CXX object loch/CMakeFiles/loch.dir/lxData.cxx.o

*/Users/aabram/Downloads/--therion-6.3.4/loch/lxData.cxx:255:12: **warning:
**unused variable 'inpln' [-Wunused-variable]*

  255 |   wxString inpln, flags, filename;

      | *           ^~~~~*

*/Users/aabram/Downloads/--therion-6.3.4/loch/lxData.cxx:255:19: **warning:
**unused variable 'flags' [-Wunused-variable]*

  255 |   wxString inpln, flags, filename;

      | *                  ^~~~~*

*/Users/aabram/Downloads/--therion-6.3.4/loch/lxData.cxx:255:26: **warning:
**unused variable 'filename' [-Wunused-variable]*

  255 |   wxString inpln, flags, filename;

      | *                         ^~~~~~~~*

3 warnings generated.

[ 93%] Building CXX object loch/CMakeFiles/loch.dir/lxGLC.cxx.o

[ 94%] Building CXX object loch/CMakeFiles/loch.dir/lxImgIO.cxx.o


For those having problems with tcl/tk versions, there is a section at
homebrew-therion mentioning this problem:
https://github.com/ladislavb/homebrew-therion?tab=readme-ov-file#xtherion---cant-find-package-bwidget


Cheers,

A.

*Anže Abram*
Ulica bratov Učakar 84, 1000 Ljubljana
SI - Slovenia

*M* +386 41 480 906
*@* anze.abram at gmail.com

*Naše oči je zalila*
*lava goreča*.


On Thu, 30 Oct 2025 at 13:50, Oliver Legg <ollylegg at gmail.com> wrote:

> Trying using cmake, I find it does a better job at finding dependencies:
>
>     cd therion
>     cmake -S . -B build
>     cd build
>     make
>
> > On 30 Oct 2025, at 13:36, Anže Abram <anze.abram at gmail.com> wrote:
> >
> > Hi.
> >
> > - I am also using the 6.3.4 version I got from
> https://github.com/therion/therion/releases/tag/v6.3.4
> > - For compiling from source, I am using this page:
> https://therion.speleo.sk/wiki/os-tips:osx10.8
> >
> > I produce the error when I run the bolded command.
> >
> > cd ~/Downloads/therion
> > make config-macosx
> > make <----
> > cd loch
> > make
> > cd ..
> > make install
> >
> > - I installed all the dependencies before via homebrew. Most were
> installed, but I run into two problems:
> >
> > 'lcdf' package is non-existent, so I installed 'lcdf-typetools' instead.
> > 'pkg' package is also non-existant, but I didn't know which package to
> install instead. Suggestions?
> >
> > Maybe it's worth pointing out that 'therion' and 'xtherion' compile
> fine, it's the Loch part that the compiler gets stuck at.
> >
> > Anze
> >
> > Anže Abram
> > Ulica bratov Učakar 84, 1000 Ljubljana
> > SI - Slovenia
> >
> > M +386 41 480 906
> > @ anze.abram at gmail.com
> >
> > Naše oči je zalila
> > lava goreča.
> >
> >
> > On Thu, 30 Oct 2025 at 12:20, Oliver Legg <ollylegg at gmail.com> wrote:
> > Anže,
> >
> > I managed to compile therion from source yesterday, on an Apple Silicon
> Mac, but with the previous version of macOS Sequoia 15.6.1.
> >
> > I used the v6.3.4 tag (17059ab27ce491f1edac150da2b7e2011f79b800).
> >
> > Are you using the CMake build method?
> >
> > I did install the dependencies via Homebrew (taken from the
> `ladislavb/homebrew-therion` repository):
> >
> >     brew install BWidget cmake catch2 fmt freetype ghostscript
> imagemagick lcdf libjpeg libpng pkg proj tcl vtk wxwidgets zlib
> >     brew install --cask xquartz
> >
> > Olly
> >
> > > On 30 Oct 2025, at 07:52, Anže Abram <anze.abram at gmail.com> wrote:
> > >
> > > Greetings.
> > >
> > > I've been trying to reinstall Therion on a new M-series macbook on the
> newest OS (Tahoe) but have run into several 'dead ends'.
> > >
> > > (1) First I tried the homebrew method, but I ran into the same issue
> as several others. The whole homebrew route seems to be broken currently.
> > >
> > > https://github.com/ladislavb/homebrew-therion/issues/15
> > >
> > > (2) I tried to compile it from source, but it gets stuck while trying
> to compile Loch with the following error:
> > >
> > > In file included from lxSetup.cxx:39:
> > > ./lxData.h:35:10: fatal error: 'vtkPolyData.h' file not found
> > >    35 | #include <vtkPolyData.h>
> > >       |          ^~~~~~~~~~~~~~~
> > > 1 error generated.
> > > make[1]: *** [lxSetup.o] Error 1
> > > make: *** [loch/loch] Error 2
> > >
> > > Does anyone know of a solution, how to tackle any of these problems by
> chance? Thanks in advance,
> > > Anze
> > >
> > > Anže Abram
> > > Ulica bratov Učakar 84, 1000 Ljubljana
> > > SI - Slovenia
> > >
> > > M +386 41 480 906
> > > @ anze.abram at gmail.com
> > >
> > > Naše oči je zalila
> > > lava goreča.
> > > _______________________________________________
> > > Therion mailing list
> > > Therion at speleo.sk
> > > https://mailman.speleo.sk/listinfo/therion
> >
> > _______________________________________________
> > Therion mailing list
> > Therion at speleo.sk
> > https://mailman.speleo.sk/listinfo/therion
> > _______________________________________________
> > Therion mailing list
> > Therion at speleo.sk
> > https://mailman.speleo.sk/listinfo/therion
>
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> https://mailman.speleo.sk/listinfo/therion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20251101/493b2fa1/attachment.htm>


More information about the Therion mailing list