Re: [eigen] beta2 ready for testing

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


2010/10/12 Gael Guennebaud <gael.guennebaud@xxxxxxxxx>:
> On Tue, Oct 12, 2010 at 5:26 PM, Benoit Jacob <jacob.benoit.1@xxxxxxxxx> wrote:
>> 2010/10/12 Carlos Becker <carlosbecker@xxxxxxxxx>:
>>> Hi, I am trying to run the tests and I get this error when running ccmake:
>>> 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
>>> /tmp/eigen/unsupported/test
>>> Where can I disable openGL tests?
>>
>> Your easiest way is to edit unsupported/test/CMakeLists.txt and remove
>> the faulty ei_add_test() lines.
>
> I'm tempted to say the problem comes from CMake's FindGLUT.cmake
> module since I properly check that GLUT was found before using it.

The error was elsewhere in our cmake code: in the ei_add_test_internal
macro, where we strip argv3 and pass it to target_link_libraries, we
were not properly handling the case when argv3 is a list; fixed by
using a foreach statement.

Benoit

> In
> the meantime, I've added an option to disable OpenGL testing:
>
> EIGEN_TEST_NO_OPENGL
>
> Regarding mpreal, I don't know since I cannot reproduce.
>
> gael
>
>> Everybody --- together with mpreal_support this is the second
>> unsupported test that is causing build issues. Please fix your tests!
>> When you rely on an external library, write CMake code determining if
>> the library is present and disable your test otherwise.
>>
>> Benoit
>>
>>
>>
>>> Thanks
>>>
>>> On Tue, Oct 12, 2010 at 4:42 PM, Rhys Ulerich <rhys.ulerich@xxxxxxxxx>
>>> wrote:
>>>>
>>>> > beta2 is ready for testing.
>>>>
>>>> Lame question-- how does the dabbler get ahold of beta2?  My clumsy
>>>> attempts to change 1 -> 2 and follow
>>>> http://eigen.tuxfamily.org/index.php?title=3.0-beta1 aren't
>>>> successful.
>>>>
>>>> - Rhys
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>
>



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/