Re: [eigen] CMake 'tests' don't work out of the box |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] CMake 'tests' don't work out of the box
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Fri, 22 Jan 2010 08:40:55 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=MjoEu4BL90I9qTkFy4d9bvWEV1bvKoq/yxtt2fvRrJc=; b=Of8OpkhFkQkj7hIvCA6dWQo/VW7i/784Gf7QEWBIwVO2IVknxCIZXmLbb4/+g5baAN dbwMG7o8NrvfbpO6mIxiwO0FGWGkgDoikiZLltVLuBTut22mxB3DDANU6tmfnT1GnYCH GXjc3BaTXrIAAGcPkqbSgtIe/L9pnWvtM/tAo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=aWHcsjZq0C+yxYP5ZgSpPc2EOOkThchlRjWPYZFBZcvaxw/71CBzxHb/32DmeHqdQ5 rTpfUZnPzVgK43pDuawpBBTN6Z9buvkiNClNDITIPX6mfgQtIxVIySyXsoBmPMsGBG5d rq68lkNvstqFqY0zQc99sKkJVHeHWFMktdihU=
Hi,
I tested:
- I renamed /usr/bin/qmake so it can't be found
- I nuked my build directory
- I re-ran cmake from scratch
it does fail to find Qt and goes on without Qt support in tests/demos.
So i think that nuking your build-directory will do the trick.
Benoit
2010/1/22 Aron Ahmadia <aja2111@xxxxxxxxxxxx>:
> Hi Eigen team,
>
> This is probably a really silly question, but I am a novice CMake
> user, and I've been fiddling around with it for 15 minutes and can't
> seem to get it to generate 'tests'. I use the curses-based ccmake and
> it whines that it can't find the qmake executable like so when I try
> to configure:
>
> CMake Error at
> /home/aron/opt/share/cmake-2.8/Modules/FindQt4.cmake:1726 (MESSAGE):
> Qt qmake not found!
> Call Stack (most recent call first):
> demos/mandelbrot/CMakeLists.txt:1 (find_package)
>
> I try to set the options:
>
> EIGEN_TEST_NOQT ON
>
> And even (out of desperation)
>
> EIGEN_BUILD_TESTS OFF
>
> But CMake still gives me the same error. I'm going to try blowing
> away the cmake cache and starting anew (most likely just compiling
> some of the demos by hand, I'm starting a port to the IBM XLC
> compilers). I'm just wondering how I would fix this in the future if
> I wanted cmake to construct Makefiles that would run tests sans
> Qt-qmake, or if I'm out of luck on a non-qmake platform.
>
> Warm Regards and Thanks in Advance,
> Aron
>
>
>