Thanks, Bruno, you are right!
I am new in scons, sorry,
2010/1/20 Anton Gladky <gladky.anton@xxxxxxxxx
<mailto:gladky.anton@xxxxxxxxx>>
There are only headers. It does not compiles independently.
______________________________
Anton Gladkyy
2010/1/20 Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx
<mailto:bruno.chareyre@xxxxxxxxxxx>>
I can't check actually, eigen2 is not available for ubuntu
hardy (only libeigen-dev).
Two things :
- You typed ['Eigen'] in the lib field, when (based on cgal)
the syntax should be 'Eigen'.
- More important : is there really a libEigen.so(/.a) on your
disk? Browsing package files on ubuntu website, I see only
headers with templates. In that case you'd want to
conf.CheckCXXHeader perhaps.
Bruno
Anton Gladky a écrit :
Thanks, Bruno.
I have next error:
___________________________________________________________
Checking for Eigen::Matrix4f::Identity() in C++ library
Eigen... no
ERROR: Unable to compile with optional feature `eigen'.
If you are sure, remove it from features (scons
features=featureOne,featureTwo for example) and build again.
Note: You might have to add eigen header directory (e.g.
/usr/include/eigen2) to CPPPATH
___________________________________________________________
The header is just:
#include <Eigen/Core>
See http://eigen.tuxfamily.org/dox/TutorialCore.html
So it should work. But...
______________________________
Anton Gladkyy
2010/1/20 Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx
<mailto:bruno.chareyre@xxxxxxxxxxx>
<mailto:bruno.chareyre@xxxxxxxxxxx
<mailto:bruno.chareyre@xxxxxxxxxxx>>>
Can anyone help me with that?
I can try, but what is the compile error?
Also, I see you are trying to check lib+header, but
there is no
header name in your checklist (should be eigen/core.hpp or
something, unless .hpp is added implicitely...).
Bruno
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
<https://launchpad.net/%7Eyade-dev>
<https://launchpad.net/%7Eyade-dev>
Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
<mailto:yade-dev@xxxxxxxxxxxxxxxxxxx>
<mailto:yade-dev@xxxxxxxxxxxxxxxxxxx
<mailto:yade-dev@xxxxxxxxxxxxxxxxxxx>>
Unsubscribe : https://launchpad.net/~yade-dev
<https://launchpad.net/%7Eyade-dev>
<https://launchpad.net/%7Eyade-dev>
More help : https://help.launchpad.net/ListHelp
------------------------------------------------------------------------
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
<https://launchpad.net/%7Eyade-dev>
Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
<mailto:yade-dev@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~yade-dev
<https://launchpad.net/%7Eyade-dev>
More help : https://help.launchpad.net/ListHelp
--
_______________
Bruno Chareyre
Associate Professor
Grenoble INP
Lab. 3SR
BP 53 - 38041, Grenoble cedex 9 - France
Tél : 33 4 56 52 86 21
Fax : 33 4 76 82 70 43
________________
------------------------------------------------------------------------
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp