[C++-sig] Boost Python wrapper for a c++ class that uses Opencv 2.3
k.hughes at queensu.ca
Wed Sep 21 17:12:37 CEST 2011
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.
On Wed, Sep 21, 2011 at 10:41 AM, Jim Bosch <talljimbo at gmail.com> wrote:
> On 09/21/2011 10:25 AM, Kevin Hughes wrote:
>> Thanks for the reply, I tried adding import_array(); to my
>> BOOST_PYTHON_MODULE block but I still got an error when importing my
>> library into python, the same same error I mentioned above.
> 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.
> Cplusplus-sig mailing list
> Cplusplus-sig at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Cplusplus-sig