Hi Thomas,<div><br><div>So you mean I do not need to build it?</div><div>And how do I use boost numerical bindings??</div><div>I specified the -I options (actually I am using cmake) so  I have </div><div><span style="color:rgb(128,128,0)">include_directories</span>(<span style="color:rgb(128,0,0)">${inc}</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">${CMAKE_SOURCE_DIR}</span>/bnb)</div>

<div>I can find all the headers but:</div><div><br></div><div>but than </div><div><span style="color:rgb(190,20,20)"><br></span></div><div><span style="color:rgb(190,20,20)">/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 0 has invalid symbol index 10</span></div>


<p style="margin:0px"><span style="color:#be1414">/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 1 has invalid symbol index 11</span></p>
<p style="margin:0px"><span style="color:#be1414">/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 2 has invalid symbol index 2</span></p>
<p style="margin:0px"><span style="color:#be1414">/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 3 has invalid symbol index 2</span></p>
<p style="margin:0px"><span style="color:#be1414">/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 4 has invalid symbol index 10</span></p>
<p style="margin:0px"><span style="color:#be1414">/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 5 has invalid symbol index 12</span></p>
<p style="margin:0px"><span style="color:#be1414">/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 6 has invalid symbol index 12</span></p>
<p style="margin:0px"><span style="color:#be1414">/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 7 has invalid symbol index 12</span></p>
<p style="margin:0px"><span style="color:#be1414">/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 8 has invalid symbol index 2</span></p>
<p style="margin:0px"><span style="color:#be1414">/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 9 has invalid symbol index 2</span></p>
<p style="margin:0px"><span style="color:#be1414">/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 10 has invalid symbol index 11</span></p>
<p style="margin:0px"><span style="color:#be1414">/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 11 has invalid symbol index 12</span></p>
<p style="margin:0px"><span style="color:#be1414">/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 12 has invalid symbol index 12</span></p>
<p style="margin:0px"><span style="color:#be1414">/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 13 has invalid symbol index 12</span></p>
<p style="margin:0px"><span style="color:#be1414">/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 14 has invalid symbol index 12</span></p>
<p style="margin:0px"><span style="color:#be1414">/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 15 has invalid symbol index 12</span></p>
<p style="margin:0px"><span style="color:#be1414">/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 16 has invalid symbol index 12</span></p>
<p style="margin:0px"><span style="color:#be1414">/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 17 has invalid symbol index 12</span></p>
<p style="margin:0px"><span style="color:#be1414">/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 18 has invalid symbol index 12</span></p>
<p style="margin:0px"><span style="color:#be1414">/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 19 has invalid symbol index 12</span></p>
<p style="margin:0px"><span style="color:#be1414">/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 20 has invalid symbol index 19</span></p>
<p style="margin:0px"><span style="color:#be1414">/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crt1.o: In function `_start&#39;:</span></p>
<p style="margin:0px"><span style="color:#be1414">(.text+0x20): undefined reference to `main&#39;</span></p>
<p style="margin:0px"><span style="color:#be1414">CMakeFiles/linmodtest.dir/mytest.cpp.o: In function `boost::numeric::bindings::lapack::detail::gesvd(char, char, int, int, double*, int, double*, double*, int, double*, int, double*, int, double*, int*)&#39;:</span></p>

<p style="margin:0px"><span style="color:#be1414">/home/witold/prog/test/bnb/boost/numeric/bindings/lapack/gesvd.hpp:80: undefined reference to `dgesvd_&#39;</span></p><div><br></div><div><br><div class="gmail_quote">On 9 October 2012 15:27, Thomas Klimpel <span dir="ltr">&lt;<a href="mailto:Thomas.Klimpel@synopsys.com" target="_blank">Thomas.Klimpel@synopsys.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Witold E Wolski wrote:<br>
&gt; I checked out the boost bindings from the svn<br>
&gt; there is Jamroot file so I thought to build it with bjam<br>
&gt; First do I need to build it?<br>
&gt; How do I build and configure it? couldt find a readme.<br>
<br>
</div>The Jamroot file is just for the tests and the quickbook documentation.<br>
<br>
For running the test, I set the environment variable BOOST_ROOT explicitly to the root directory of a boost tree I want to use. Then I change into the directory where I want to run the tests, and type &quot;b2&quot; or &quot;b2 test_case_name&quot;. I normally adjust the paths in numeric-bindings.jam first. You can also use &quot;b2 numbind=mkl-gcc matlib=eigen&quot; to specify that you want to test with &quot;mkl&quot; instead of lapack and and eigen instead of ublas.<br>

<br>
Regards,<br>
Thomas<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
ublas mailing list<br>
<a href="mailto:ublas@lists.boost.org">ublas@lists.boost.org</a><br>
<a href="http://listarchives.boost.org/mailman/listinfo.cgi/ublas" target="_blank">http://listarchives.boost.org/mailman/listinfo.cgi/ublas</a><br>
Sent to: <a href="mailto:wewolski@gmail.com">wewolski@gmail.com</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Witold Eryk Wolski<br><br>Triemlistrasse 155<br>8047 Zuerich<br>
</div></div>

