[Therion] macOS installation

Matěj Plch plch.matej at gmail.com
Tue Nov 4 19:56:32 CET 2025


Hello,

CMake uses libraries which were found during initial configuration. To
search for libraries again you need to delete CMake cache and
reconfigure it, in other words you can just remove the whole build
folder and run CMake from scratch again.

Matěj

út 4. 11. 2025 v 12:37 odesílatel Anže Abram <anze.abram at gmail.com> napsal:
>
> A recent brew update/brew upgrade seems to break my Therion install again. The library in question is 'fmt' which was upgraded from v11 to v12 apparently. If I try to compile anything with therion, I get the following error:
>
> dyld[13602]: Library not loaded: /opt/homebrew/opt/fmt/lib/libfmt.11.dylib
>
>   Referenced from: <1DDE563D-8CCA-3795-BBC8-F76B62F9AE43> /usr/local/bin/therion
>
>   Reason: tried: '/opt/homebrew/opt/fmt/lib/libfmt.11.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/fmt/lib/libfmt.11.dylib' (no such file), '/opt/homebrew/opt/fmt/lib/libfmt.11.dylib' (no such file), '/opt/homebrew/Cellar/fmt/12.1.0/lib/libfmt.11.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/fmt/12.1.0/lib/libfmt.11.dylib' (no such file), '/opt/homebrew/Cellar/fmt/12.1.0/lib/libfmt.11.dylib' (no such file)
>
> zsh: abort      therion
>
>
>
> Do you recommend I look at trying to install the v11 again (brew install fmt at 11.2.0 doesn't work) or does this need to be addressed by therion developers?
>
> 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.
>
>
> On Sat, 1 Nov 2025 at 09:55, Anže Abram <anze.abram at gmail.com> wrote:
>>
>> 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
>
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> https://mailman.speleo.sk/listinfo/therion


More information about the Therion mailing list