<audio controls="controls" style="display:none;"></audio>
<pre style="font-family:SimSun;white-space:pre-wrap;">Hi <span style="font-family:SimSun;">everyone!</span></pre>
<pre style="font-family:SimSun;white-space:pre-wrap;"><span style="font-family:SimSun;"><span style="font-family:SimSun;">I am now trying to add gmp library and pbc library<span style="font-family:SimSun;"></span> to my ndnSIM.</span></span> </pre>
<p>
        <span style="font-family:SimSun;">I changed this file ns-3/src/ndnSIM/examples/ndn-simple.cpp to do my experiment. So I changed the wscript file in ns-3/src/ndnSIM/examples/wscript followed by Jenny Leein the website</span>
</p>
<p>
        <span style="font-family:SimSun;"> <a href="https://groups.google.com/forum/#!topic/ns-3-users/3ORM6E8Yt04">https://groups.google.com/forum/#!topic/ns-3-users/3ORM6E8Yt04</a></span>
</p>
<p>
        <span style="font-family:SimSun;"><span style="font-family:SimSun;white-space:normal;"><em>Jenny Lee</em></span><span style="font-family:SimSun;white-space:normal;"><em>in's steps</em></span></span>
</p>
<p>
        <span style="font-family:SimSun;"><em></em><span style="font-family:SimSun;white-space:normal;"><em>changed the wscript file in ns-3/src/ndnSIM/examples/wscript</em></span><em></em><br>
</span>
</p>
<p>
        <span style="font-family:SimSun;"><em>def configure(conf):</em></span>
</p>
<span style="font-family:SimSun;"><em>    conf.env.append_value("LINKFLAGS", ["-L/usr/local/lib/gmp.a","-Lgmp"])</em><br>
<em>    conf.env.append_value("LIB", ["gmp"])</em><br>
<em>did not linked successfully, then changed like this:</em><br>
<em>def build(bld):</em><br>
<em>    bld.env.append_value("CXXFLAGS", "-I/usr/local/include")</em><br>
<em>    bld.env.append_value("LINKFLAGS", ["-L/usr/local/lib"])</em><br>
<em>    bld.env.append_value("LIB", ["gmp"])</em><br>
</span>
<p>
        <span style="font-family:SimSun;"><em>still not linked.</em></span>
</p>
<p>
        <span style="font-family:SimSun;"><em>At last, he slove the problem. </em></span><span style="font-family:SimSun;"><em>He copyed the gmp.so.1 file into the /usr/lib file, and add</em><em> a simple code . </em></span><span style="font-family:SimSun;"><em>obj.env.append_value('LIB', 'gmp')</em></span>
</p>
<p>
        <span style="font-family:SimSun;">But my problem has not been solved.<br>
</span>
</p>
<span style="font-family:SimSun;">can anyone tell me what to do? thank you so much!<br>
<br>
<br>
<div style="margin:0px;padding:0px;border:0px;color:#222222;font-family:Arial, Helvetica, sans-serif;white-space:normal;background-color:#FFFFFF;">
        <br>
</div>
</span><br>
<span style="font-family:SimSun;">
<hr class="signature-separator" align="left" style="margin:0.5em 0;width:30em;height:1px;background-color:#999;border:none;">
<div style="margin:0px;padding:0px;color:#333333;font-family:verdana;font-size:13.3333px;white-space:normal;background-color:#FFFFFF;">
        <br>
</div>
<div style="margin:0px;padding:0px;color:#333333;font-family:verdana;font-size:13.3333px;white-space:normal;background-color:#FFFFFF;">
        <span style="font-size:10pt;">Ningchun Liu</span> 
</div>
<div style="margin:0px;padding:0px;color:#333333;font-family:verdana;font-size:13.3333px;white-space:normal;background-color:#FFFFFF;">
        <span style="font-size:10pt;">Email:</span><a href="mailto:17111014@bjtu.edu.cn" target="_blank" style="background-color:transparent;font-size:10pt;">nchliu@bjtu.edu.cn</a>
</div>
<div style="margin:0px;padding:0px;color:#333333;font-family:verdana;font-size:13.3333px;white-space:normal;background-color:#FFFFFF;">
        <span style="font-size:10pt;">School of Electronic and Information Engineering,</span> 
</div>
<div style="margin:0px;padding:0px;color:#333333;font-family:verdana;font-size:13.3333px;white-space:normal;background-color:#FFFFFF;">
        <span style="font-size:10pt;">Beijing Jiaotong University, Beijing 100044, China.</span> 
</div>
</span>