Hi all,<br><br>I am new to boost library.<br><br>First of all, I apologize that my question will be pretty basic to people in this mailing list,<br>nevertheless I have spent 30 min + to figure it out and couldn&#39;t find the answer.<br>
So, here it goes...<br><br>I need to find which library (lib*.a) file contains the &quot;ibeta&quot; function which is defined under<br>boost/math/special_functions/gamma.hpp.<br><br>When I compile the following simple test.cpp<br>
-----------------------------------------<br>#include &lt;boost/math/special_functions/gamma.hpp&gt;<br>
#include &lt;iostream&gt;<br>
<br>
using namespace std;<br>
using namespace boost::math;<br>
<br>
<br>
int main() {<br>
� cout &lt;&lt; &quot;it is my birthday...\n&quot;; <br>
� cout &lt;&lt; ibeta(5, 2, 0.5) &lt;&lt; &quot;\n&quot;;<br>
}<br>-----------------------------------------<br><br>with this command line,<br><br>g++ -I /my_own_boost_root_path/ test.cpp<br><br>I get� link error message (undefined reference)<br><br>/tmp/ccgrrT4l.o: In function `main&#39;:<br>
test.cpp:(.text+0xc1): undefined reference to `boost::math::tools::promote_args&lt;int, int, double, float, float, float&gt;::type boost::math::ibeta&lt;int, int, double&gt;(int, int, double)&#39;<br>collect2: ld returned 1 exit status<br>
<br>I know that I just need to put the correct library in the command line, but I can&#39;t figure it out.<br><br>There are 6 lib*.a files in<br>boost_build_dir/bin.vs/libs/math/build/gcc-4.1.2/release/link-static/threading-multi/<br>
<br>I tried to each of them at the end of my compilation command line, in the hope that &quot;ibeta&quot; is contained in one of them, but I failed.<br><br>1. Where should I look to find the lib*.a that contains &quot;ibeta&quot;� (ibeta is incomplete beta function integral)<br>
2. In general, how do I figure out which lib*.a to use, when I need to use specific classes or functions?<br>�� (I have looked at &quot;getting started&quot;, and &quot;libraries&quot; for proper documentation, but they explain in detail<br>
��� the available libraries, but, not what lib*.a file to use for specific functions...)<br>3. Is it possible� that &quot;ibeta&quot; is not built<br><br>Thanks a lot !<br><br><br><br>