Closed cpbridges closed 5 years ago
Hello everyone, I have more or less the same issue. I have decode_rs_general from gr-satellites working. However when I try to build my own OOT block for a custom RS decoder I have the same error. With some debug I realized that the problem concerns indeed libfec. I obtain that error whenever I try to call either "decode_rs_char" or "init_rs_char" from libfec.
As further detail, I include the library as extern "C"{}
in my source code of the block.
Installation gave no warnings, Is there some installation trick i missed?
Thoughts are super welcome also here!
Hi Chris,
To me this looks as a problem with SWIG. If SWIG is not installed properly, then Python bindings for the C++ blocks will not be compiled properly, giving this sort of errors.
Could you check the compile log (especially during cmake) for any errors or warnings regarding SWIG?
Yup - good spot. My cmake says:
-- Checking for module SWIG
-- Disabling SWIG because version check failed.
sudo apt-get install swig got me:
-- Checking for module SWIG
-- Found SWIG version 3.0.10.
-- Found SWIG: /usr/bin/swig3.0
Will keep you posted on this. 73s C
Resolved! Thanks Dani. 73s
Saw the previous closed issue on attribute errors but this is a little different. I'm porting gr-satellites ESEO code into satnogs and have been resolving lots of errors but the minimal python script I'm debugging falls over at:
Lib found but no decode_rs_general inside:
Proper installation settings was followed. Thoughts super welcome (provided you're not frozen!). 73s C