Registered Member
|
I try to compile Eigen. When I use CMake to generate Makefile, encounter this error:
I check the /unsupported/test/CMakeLists.txt , found the error generate by this code
if I modify the code as below, the error will gone, but if compile in this way Eigen maybe not support OpenGL.
Is there someone know how to fix this problem in right way? |
Moderator
|
Eigen is header only, so there is nothing to configure/compile to use Eigen. The cmake build scripts are only for building the unit tests and the documentation. (and also to provide a "make install" copying the header files.).
You can bypass OpenGL cheking with cmake -DEIGEN_TEST_NO_OPENGL=OFF. The origin of your problem seems to come from the FindGLUT.cmake cmake module which defines GLUT_FOUND to true whereas some of its dependencies are missing. See also: http://ubuntuforums.org/showthread.php?t=1703770 |
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft