On 04/22/2013 02:49 PM, Sean Nowlan wrote:
On 04/22/2013 11:59 AM, Sean Nowlan wrote:
So this sets up both include and linker paths? I've been trying to update some code to the new namespace-based API. I can compile OK but I'm getting "symbol not found" errors when importing from swig. It's possible the swig files aren't right, but I modeled them after the output of gr_modtool. I suspect there's a linking issue.

That should read: I'm getting "ImportError: [...] undefined symbol" errors whenever I import the package. Everything compiles including SWIG wrapper file.

Ok, solved my problem. It turns out I hadn't declared member functions as pure virtual (i.e., "virtual xyz f() = 0") in the public header file.

_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to