# Compile with eigen

**URL:** <https://www.ruby-forum.com/t/compile-with-eigen/239671>\
**Category:** GNU Radio\
**Created:** [March 10, 2014, 5:25am UTC](https://www.ruby-forum.com/t/compile-with-eigen/239671 "2014-03-10T05:25:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [March 10, 2014, 5:25am UTC](https://www.ruby-forum.com/t/compile-with-eigen/239671/1 "2014-03-10T05:25:03Z")

</div>

hi ,all  
i write a block whit eigen library,and what should i do when to compile  
with this library,such as add something in the Cmakelist.txt or Makefile  
,  
i’m sorry ,i donot familiar with this  
thanks,  
BZS

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [March 10, 2014, 2:05pm UTC](https://www.ruby-forum.com/t/compile-with-eigen/239671/2 "2014-03-10T14:05:10Z")

</div>

On Mon, Mar 10, 2014 at 12:18 AM, ͷ [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> hi ,all  
> i write a block whit eigen library,and what should i do when to compile with  
> this library,such as add something in the Cmakelist.txt or Makefile ,  
> i’m sorry ,i donot familiar with this  
> thanks,  
> BZS

My benchmarking of eigen has not shown positive results. Similar  
methods that we have in VOLK run much, much faster than the eigen  
functions.

If you’re using eigen because it already has functionality you need,  
I’d recommend you starting with numpy/scipy in Python and then migrate  
that the a more optimized C++ block using VOLK and skip the step  
altogether of trying to link against eigen.

Tom

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [March 10, 2014, 10:59am UTC](https://www.ruby-forum.com/t/compile-with-eigen/239671/3 "2014-03-10T10:59:09Z")

</div>

On 03/10/2014 05:18 AM, 猪猪猪猪猪猪头 wrote:

> hi ,all  
> i write a block whit eigen library,and what should i do when to compile  
> with this library,such as add something in the Cmakelist.txt or Makefile ,  
> i’m sorry ,i donot familiar with this  
> thanks,  
> BZS

Hi BZS,

please make sure you’ve read this page  
[http://gnuradio.org/redmine/projects/gnuradio/wiki/ReportingErrors](http://gnuradio.org/redmine/projects/gnuradio/wiki/ReportingErrors)  
as well as  
[http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModulesConfig](http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModulesConfig)

M
