I followed the installation instructions (Mac OS) here:
https://gitlab.com/conradsnicta/armadillo-code/#5-linux-and-macos-installation
I successfully compiled the example code, as given here:
http://arma.sourceforge.net/docs.html#example_prog
by
g++ example1.cpp -o example1 -O2 -larmadillo
then I tried to run the output, but got the following error:
dyld: Library not loaded: @rpath/libhdf5.101.dylib
Referenced from: /usr/local/lib/libarmadillo.9.dylib
Reason: image not found
Abort trap: 6
Any ideas how to make it work?