Forum: GNU Radio Creating OOT module

61affa9cfec00aa4c05bcb475fc64326?d=identicon&s=25 sreena p h (Guest)
on 2014-06-20 11:42
(Received via mailing list)

I have written a block in python and was trying to create an out of tree
module as given in the gnuradio tutorial.
While using cmake ../ the following error occured.
CMake Error: CMake can not determine linker language for
CMake Error: Cannot determine link language for target "gnuradio-dec".

this was rectified by removing the lib directory and the cmake file was
created without error. Then i run the make install and found following

Scanning dependencies of target _dec_swig
[ 46%] Building CXX object
Linking CXX shared module
/usr/bin/ld: cannot find -lgnuradio-dec
collect2: error: ld returned 1 exit status
make[2]: *** [swig/] Error 1
make[1]: *** [swig/CMakeFiles/_dec_swig.dir/all] Error 2
make: *** [all] Error 2

what should i do to rectify this linking error..

D17685d174fee4ca258c75cce7bc2202?d=identicon&s=25 Marcus Müller (Guest)
on 2014-06-20 11:47
(Received via mailing list)
Hi Sreena,

1. have you added your block using gr_modtool? otherwise, cmake won't
notice it's there.
2. if you have, what version of GNU Radio are you using? Support for
python-only OOT modules have but recently been added.

This topic is locked and can not be replied to.