<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Nor,<div><br></div><div>If you're trying to use python bindings on OSX 10.9, then it most likely not going to work.  There were several known issues with clang compiler.  You may try to use apple-gcc42 compiler (from macports), but it also not guaranteed to work.</div><div><br></div><div>The whole python is relatively hacky thing in NS3, so I wouldn't rely on it too much..</div><div><br></div><div>---</div><div>Alex</div><div><br><div><div>On Jan 28, 2014, at 12:58 AM, nor masri sahri <<a href="mailto:masri.sahri@gmail.com">masri.sahri@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><span style="font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;">Based on </span><a href="http://ndnsim.net/getting-started.html" rel="nofollow" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;color:rgb(74,107,130);text-decoration:none;font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:18px">http://ndnsim.net/getting-started.html</a><span style="font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;">, ndnsim uses </span><a href="https://code.google.com/p/pybindgen/" rel="nofollow" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;color:rgb(74,107,130);text-decoration:none;font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:18px">pybindgen</a><span style="font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"> to generate the python bindings. </span><div>
<font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="font-size:14px;line-height:18px">In the simulator, you provide two kind of helper to SetName and GetName. I tried to use only one method given for (SetName and GetName, disable other). When i try to build, error occured.</span></font></div>
<div><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="font-size:14px;line-height:18px"><br></span></font><div><span style="font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"> I guess is that ndnsim run (py)gccxml on  header file. If that is the case, then the problem is likely a bug in pybindgen since it is reading your header file directly.</span></div>
<div><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span style="font-size:14px;line-height:18px">Is it a problem or I am missing something here. Need advice<br clear="all"></span></font><div>
<br></div>-- <br><div dir="ltr">Regards,<div><br></div><div>masri.sahri</div><div><br></div></div>
</div></div></div>
_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br></blockquote></div><br></div></body></html>