discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Creating OOT module


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] Creating OOT module
Date: Fri, 20 Jun 2014 11:45:37 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

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.

Greetings,
Marcus

On 20.06.2014 11:41, sreena p h wrote:
Hi

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 target:gnuradio-dec
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 error: 

Scanning dependencies of target _dec_swig
[ 46%] Building CXX object swig/CMakeFiles/_dec_swig.dir/dec_swigPYTHON_wrap.cxx.o
Linking CXX shared module _dec_swig.so
/usr/bin/ld: cannot find -lgnuradio-dec
collect2: error: ld returned 1 exit status
make[2]: *** [swig/_dec_swig.so] 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.. 


Regards



_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

[Prev in Thread] Current Thread [Next in Thread]