Sorry it just fails to import, what should my JamRoot file look like to include my opencv libs? I am very new to boost python.<br><br><div class="gmail_quote">On Wed, Sep 21, 2011 at 10:41 AM, Jim Bosch <span dir="ltr"><<a href="mailto:talljimbo@gmail.com">talljimbo@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">On 09/21/2011 10:25 AM, Kevin Hughes wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks for the reply, I tried adding import_array(); to my<br>
BOOST_PYTHON_MODULE block but I still got an error when importing my<br>
library into python, the same same error I mentioned above.<br>
</blockquote>
<br>
Does it actually crash Python, or just fail to import the module? It looks like a link error, and that usually just causes the module to fail to import. And that would suggest looking at your build system for whether you've linked properly against the opencv libs.<br>
<br>
Jim<br>
<br>
______________________________<u></u>_________________<br>
Cplusplus-sig mailing list<br>
<a href="mailto:Cplusplus-sig@python.org" target="_blank">Cplusplus-sig@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/cplusplus-sig" target="_blank">http://mail.python.org/<u></u>mailman/listinfo/cplusplus-sig</a><br>
</blockquote></div><br>