我在这样的动态库中定义了一个cpp函数
levels
现在我以下列方式从obcpp.mm文件调用上述函数:
In [390]: ax.contour(xi,yi,wi,levels=[0,1])
/usr/local/lib/python3.5/dist-packages/matplotlib/contour.py:1514: UserWarning: Warning: converting a masked element to nan.
self.zmax = float(z.max())
/usr/local/lib/python3.5/dist-packages/matplotlib/contour.py:1515: UserWarning: Warning: converting a masked element to nan.
self.zmin = float(z.min())
Out[390]: <matplotlib.contour.QuadContourSet at 0xa934ef0c>
这给了我像Undefined Symbol A :: B :: C :: funcA
这样的错误非常感谢有关此方面的任何帮助。