Closed mattia-beta closed 8 years ago
I'm afraid I don't have any advice for Python SWIG issues — and as you've already figured out, this is a problem with installing gr-dsd and not ShinySDR per se. Sorry!
(But if you figure it out, let me know — I'm thinking of putting together a “troubleshooting” section of the manual.)
@kpreid I've fixed this issue doing:
cmake . -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_LIBRARY=/usr/lib/libpyglib-2.0-python2.7.so.0
make
sudo make install
sudo ldconfig
Otherwise _dsd_swig.so is built and linked against libpython3.5m.so, leading to the following error on "import dsd": dynamic module does not define init function (init_dsd_swig)
Bye
Hi, i've just built gr-dsd from source but the DSD demodulator is not showing inside shinysdr. Looking at the source code I've found this snippet:
I think the problem is that shinysdr can't find the dsd python module. I've manually tried to import this module inside a python script but I got this error:
I've also checked the PYTHON_PATH running:
python -c "import sys; print '\n'.join(sys.path)"
and the response is:
Searching for "gr-dsd" in the filesystem:
Any idea? How can I fix this error? Thank you =)