kthohr / mcmc

A C++ library of Markov Chain Monte Carlo (MCMC) methods
https://mcmclib.readthedocs.io/en/latest/
Apache License 2.0
166 stars 45 forks source link

error during installing #9

Closed zoe4cs closed 1 year ago

zoe4cs commented 1 year ago

After running make, I met an error that the version of Eigen is too low

In file included from ./include/BaseMatrixOps/include/BaseMatrixOps.hpp:26, from ./include/misc/mcmc_options.hpp:193, from ./include/mcmc.hpp:24, from src/aees.cpp:25: ./include/BaseMatrixOps/include/misc/bmo_options.hpp:27:10: error: #error Eigen must be version 3.4.0 or above 27 | #error Eigen must be version 3.4.0 or above

But my Eigen is 3.4.0: ❯ pkg-config --modversion eigen3 3.4.0

how to solve this problem? Thanks!