New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to find Eigen #172
Comments
@pmott91 you mentioned |
@evaleev The path does lead to the file FindEigen3.cmake. There is a file called Eigen3Config.cmake.in in that directory as well. But I have not used cmake to install Eigen. My understanding is that Eigen is simply a collection of header files that need to be downloaded. Is a cmake build necessary? |
@evaleev This is how I solve the problem. For me this means
which would generate |
I am trying to install Libint on Summit. The cmake process keeps derailing when the program tries to find Eigen3. I get the following warning after doing mkdir build, cd build, cmake .. :
**CMake Warning at CMakeLists.txt:88 (find_package):
By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Eigen3", but
CMake did not find one.
Could not find a package configuration file provided by "Eigen3" with any
of the following names:
Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set
"Eigen3_DIR" to a directory containing one of the above files. If "Eigen3"
provides a separate development package or SDK, be sure it has been
installed.
CMake Error at CMakeLists.txt:108 (message):
C++ API cannot be built without Eigen3; configure (via CMake) and install
Eigen3 and add the install prefix to CMAKE_PREFIX_PATH, or add
-DREQUIRE_CXX_API=OFF to the CMake command line if the C++ API is not
required**
I tried setting the environment variable Eigen3_Dir=/ccs/home/plot/software/Eigen3/cmake where the .cmake files mentioned are installed.
I tried appending /ccs/home/plot/software/Eigen3/cmake/FindEigen3.cmake to the CMAKE_MODULEPATH
I have not been able to figure out how to edit CMAKE_PREFIX_PATH.
Any help in pointing cmake to the location of Eigen3 would be helpful.
Thanks,
Paul
The text was updated successfully, but these errors were encountered: