rivetTDA / rivet

RIVET is a tool for Topological Data Analysis, in particular two-parameter persistent homology.
GNU General Public License v3.0
76 stars 24 forks source link

Fix compilation under newer compilers #165

Closed aj-alonso closed 1 year ago

aj-alonso commented 3 years ago

Newer GCC versions, at least those greater than or equal to 10.0, fail to compile the project because they cannot find std::runtime_error when compiling docopt.

This was fixed in docopt at commit docopt/docopt.cpp@1ae5cd6 In this pull request we bump the docopt version to fix the issue here.

I have also changed the reference to the compiled docopt library, as it was different on my machine, maybe also due to a change of versions.

I have tested it under cmake 3.21.3 and GCC 11.1.0 in Archlinux. Older versions were not tested and may fail to compile.