[C++-sig] Boost Python wrapper for a c++ class that uses Opencv 2.3
Jim Bosch
talljimbo at gmail.com
Wed Sep 21 16:41:14 CEST 2011
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.
Jim
More information about the Cplusplus-sig
mailing list