[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Wrong number of arguments for overloaded function 'gr
From: |
Johan Mussche |
Subject: |
[Discuss-gnuradio] Wrong number of arguments for overloaded function 'gr_top_block_sptr_connect'. |
Date: |
Wed, 2 Dec 2009 16:16:30 +0100 |
Hello everyone,
I am trying to use a SSRP with GNU-radio. In the past, with version 3.1 of
gnuradio and GRC 0.69, the SSRP worked.
Now I am using the latest version of GNU-radio from the svn trunk in
combination with swig 1.3.36 and python 2.6.
I have installed the ssrp-files into gnuradio and added the SSRP-block to GRC.
Loading the firmware into the SSRP is no problem but
when I want to run the flow-graph I get the following error:
#####################################################################################
ssrp: firmware /usr/share/ssrp/firmware/rxS_512.ihx loaded successfully.
Traceback (most recent call last):
File "/root/Desktop/top_block.py", line 62, in <module>
tb = top_block()
File "/root/Desktop/top_block.py", line 52, in __init__
self.connect((self.ssrp_simple_source_x_0, 0),
(self.gr_interleaved_short_to_complex_0, 0))
File "/usr/local/lib/python2.6/dist-packages/gnuradio/gr/top_block.py", line
124, in connect
self._connect(points[i-1], points[i])
File "/usr/local/lib/python2.6/dist-packages/gnuradio/gr/top_block.py", line
130, in _connect
dst_block.basic_block(), dst_port)
File
"/usr/local/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_swig_py_runtime.py",
line 1443, in connect
return _gnuradio_swig_py_runtime.gr_top_block_sptr_connect(*args)
NotImplementedError: Wrong number of arguments for overloaded function
'gr_top_block_sptr_connect'.
Possible C/C++ prototypes are:
connect(boost::shared_ptr< gr_top_block > *,gr_basic_block_sptr)
connect(boost::shared_ptr< gr_top_block >
*,gr_basic_block_sptr,int,gr_basic_block_sptr,int)
########################################################################################
I have also tried to to use the old GRC (0.69) but that gives the same error,
so it has nothing to do with GRC.
Can anyone tell me the cause of this error. Is it because of the newer version
of swig or gnuradio?
Best regards,
Johan
- [Discuss-gnuradio] Wrong number of arguments for overloaded function 'gr_top_block_sptr_connect'.,
Johan Mussche <=