Search code examples
cmakeeigencgal

"EIGEN3_INCLUDE_DIR-NOTFOUND" error message


The demo Polyhedron in CGA with Cmake Configuring incomplete, gives:

"EIGEN3_INCLUDE_DIR-NOTFOUND"

error screenshot

I've been stuck for a while; any idea to help me?


Solution

  • It means that Eigen's headers have not been automatically found. Therefore you need to explicitly specify their location by defining the cmake variable EIGEN3_INCLUDE_DIR to the appropriate location. Of course, this also means that you need to have Eigen's headers installed somewhere.