1. 程式人生 > >ubuntu 下Eigen庫安裝

ubuntu 下Eigen庫安裝

3、cmake ..   報錯
    錯誤資訊為:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GLUT_Xmu_LIBRARY (ADVANCED)
    linked by target "openglsupport" in directory /home/hai/eigen-eigen-10219c95fe65/unsupported/test

-- Configuring incomplete, errors occurred!

google錯誤資訊後    eigen.tuxfamily.org/bz/show_bug.cgi?id=510
修改為 cmake -DEIGEN_TEST_NO_OPENGL=1 ..  成功