Hi Martin,
I wrote the XML files by hand as you suggested, but when I run a grc file to test the blocks, there's another error that I don't know.
Traceback (most recent call last):
File "/home/van-ly/sandbox/gnuradio-builds/Test/top_block.py", line 18, in <module>
import PNC
File "/opt/gnuradio-3.7.3/lib/python2.7/dist-packages/PNC/__init__.py", line 45, in <module>
from PNC_swig import *
File "/opt/gnuradio-3.7.3/lib/python2.7/dist-packages/PNC/PNC_swig.py", line 28, in <module>
_PNC_swig = swig_import_helper()
File "/opt/gnuradio-3.7.3/lib/python2.7/dist-packages/PNC/PNC_swig.py", line 24, in swig_import_helper
_mod = imp.load_module('_PNC_swig', fp, pathname, description)
ImportError: /opt/gnuradio-3.7.3/lib/libgnuradio-PNC.so: undefined symbol: _ZN2gr3PNC18sync_end_node_impl17shift_window_funcESt6vectorISt7complexIfESaIS4_EES4_i
You can see my module and my grc test file in the enclosed files.
Thank you very much,
Ly