yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #02103
Re: Optional libraries (VTK, Eigen)
I've installed Eigen on my computer, and scons with CPP='/usr/include/eigen2'. It's ok. :) However, I couldn't link VTK properly. First I tried adding vtk to features='gts, openmp, etc..., vtk'. Scons prompted me to remove it, and include CPPPATH=/usr/include/vtk-5.4
I followed the instruction. In the end, I get this:
Checking for gts_object_class() in C++ library gts... no
ERROR: Unable to compile with optional feature `gts'.
If you are sure, remove it from features (scons features=featureOne,featureTwo for example) and build again.
VTK seems to clash with gts. What should I do to get VTK work? Another question is my CPPPATH already has /usr/include/eigen2. How do I write CPPPATH with 2 paths?
Yours,
CWBoon
> From: eudoxos@xxxxxxxx
> To: yade-users@xxxxxxxxxxxxxxxxxxx
> Date: Thu, 10 Dec 2009 19:13:32 +0100
> Subject: Re: [Yade-users] Optional libraries (VTK, Eigen)
>
>
> > Q2. Also, in which directory should I unpack the tar.gz for
> > Eigen.tuxfamily? The tutorial uses the following header command:
> > #include <Eigen/Core>
> > USING_PART_OF_NAMESPACE_EIGEN
> > How does my YADE .cpp files know where I installed the library?
> > <Eigen/Core> could be anywhere..
>
> Huh?? If you are on Ubuntu, just install the libeigen2-dev package. Then
> the headers are in /usr/include/eigen2, so you will need to add
> CPPPATH=/usr/include/eigen2 to scons (such that the preprocessor finds
> the <Eigen/Core> etc files).
>
> I will add the 'eigen' feature if you want, with appropriate check and
> adding that directory for CPPPATH automatically, if you need that. (I
> hope we are not going to explode on too many features).
>
> Cheers, Vaclav
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
_________________________________________________________________
New Windows 7: Find the right PC for you. Learn more.
http://windows.microsoft.com/shop
Follow ups
References