Re: [Discuss-gnuradio] AttributeError: 'gr_msg_queue_sptr'
Thanks a lot Marcus, that helped a lot. I mofified the gr_msg_queue.i as you told me in b) and it worked! Regards, Nada Marcus Müller mar...@hostalia.de a écrit : Hi Nada, that's really hard to tell based on the information you gave. I'm currently on the run, so I can't really look at the 3.6 branch and give definite advice, but: a) make sure there is no special c++-to-python gateway class for the things you're trying to extend b) look into the swig files (ending in .i), whether there is some special wrapping for gr_msg_queue c) in your build directory, delete the swig/ subfolder and rebuild; sometimes, swig/make do strange things d) are you really sure you want to do this? From my point of view I'd rather keep the real queue structure, and whenever my consumer is able to fetch objects from the message queue, it should probably get them all and prioritize itself; but however, there are strong arguments for your approach :) Greetings, Marcus On 22.11.2013 16:18, Nada ABDELKADER wrote: Hi all, I have gnuradio 3.6.5 on Ubuntu 12.10. I needed to add some priority to some packets and insert them on the head of the message queue. I defined a new function insert_head in gr_msg_queue.c and gr_msg_queue.h and build my gnuradio. I got this error when running: File /usr/local/lib/python2.7/dist-packages/gnuradio/digital/pkt.py, line 103, in send_pkt self._pkt_input.msgq().insert_head(msg) AttributeError: 'gr_msg_queue_sptr' object has no attribute 'insert_head' Did I miss some thing? Any help plz? Nada This message was sent using IMP, the Internet Messaging Program. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio This message was sent using IMP, the Internet Messaging Program. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] AttributeError: 'gr_msg_queue_sptr'
Hi all, I have gnuradio 3.6.5 on Ubuntu 12.10. I needed to add some priority to some packets and insert them on the head of the message queue. I defined a new function insert_head in gr_msg_queue.c and gr_msg_queue.h and build my gnuradio. I got this error when running: File /usr/local/lib/python2.7/dist-packages/gnuradio/digital/pkt.py, line 103, in send_pkt self._pkt_input.msgq().insert_head(msg) AttributeError: 'gr_msg_queue_sptr' object has no attribute 'insert_head' Did I miss some thing? Any help plz? Nada This message was sent using IMP, the Internet Messaging Program. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] swig/python memory leak
The .i file includes the .h file where my_type is defined. isn't that enough? Josh Blum j...@joshknows.com a écrit : On 05/27/2013 11:10 AM, Nada ABDELKADER wrote: Hi, May be this is not the appropriate place to post this problem but I'm working on gnuradio and USRPs and trying to access c++ objects from python. Every thing works well, but in each call I got this display: swig/python detected a memory leak of type 'my_type *', no destructor found. my_type is a struct type that I've defined in c++. It seems that swig didn't recognize my_type type but how to figure it out. Any idea? The .i file that you gave to swig, its probably missing a definition for my_type. http://stackoverflow.com/questions/918180/swig-python-memory-leak-detected -josh Regards, Nada This message was sent using IMP, the Internet Messaging Program. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio This message was sent using IMP, the Internet Messaging Program. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] swig/python memory leak
Hi, May be this is not the appropriate place to post this problem but I'm working on gnuradio and USRPs and trying to access c++ objects from python. Every thing works well, but in each call I got this display: swig/python detected a memory leak of type 'my_type *', no destructor found. my_type is a struct type that I've defined in c++. It seems that swig didn't recognize my_type type but how to figure it out. Any idea? Regards, Nada This message was sent using IMP, the Internet Messaging Program. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Compiling Module Issue
Hi, I've added a module 'sensing' with a noblock block 'sensing' but when I tried to make, I got this error: Building CXX object swig/CMakeFiles/_sensing_swig.dir/sensing_swigPYTHON_wrap.cxx.o In file included from /home/utilisateur/Documents/Work_tx/gr-sensing/build/swig/sensing_swigPYTHON_wrap.cxx:4509:0: /usr/include/boost/checked_delete.hpp: In instantiation of ?void boost::checked_delete(T*) [with T = gr::sensing::sensing]?: /usr/include/boost/smart_ptr/detail/shared_count.hpp:95:13: required from ?boost::detail::shared_count::shared_count(Y*) [with Y = gr::sensing::sensing]? /usr/include/boost/smart_ptr/shared_ptr.hpp:183:50: required from ?boost::shared_ptrT::shared_ptr(Y*) [with Y = gr::sensing::sensing; T = gr::sensing::sensing]? /home/utilisateur/Documents/Work_tx/gr-sensing/build/swig/sensing_swigPYTHON_wrap.cxx:5484:111: required from here /home/utilisateur/Documents/Work_tx/gr-sensing/include/sensing/sensing.h:38:7: erreur: ?gr::sensing::sensing::~sensing()? is private In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:30:0, from /usr/include/boost/shared_ptr.hpp:17, from /usr/local/include/gnuradio/gr_types.h:27, from /home/utilisateur/Documents/Work_tx/gr-sensing/build/swig/sensing_swigPYTHON_wrap.cxx:3113: /usr/include/boost/checked_delete.hpp:34:5: erreur: à l'intérieur du contexte make[2]: *** [swig/CMakeFiles/_sensing_swig.dir/sensing_swigPYTHON_wrap.cxx.o] Erreur 1 make[1]: *** [swig/CMakeFiles/_sensing_swig.dir/all] Erreur 2 make: *** [all] Erreur 2 Help plz. Any Idea? Regards, Nada This message was sent using IMP, the Internet Messaging Program. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Compiling Module Issue
I got it, just need the destructor to be public. Nada ABDELKADER nada.abdelka...@etu.upmc.fr a écrit : Hi, I've added a module 'sensing' with a noblock block 'sensing' but when I tried to make, I got this error: Building CXX object swig/CMakeFiles/_sensing_swig.dir/sensing_swigPYTHON_wrap.cxx.o In file included from /home/utilisateur/Documents/Work_tx/gr-sensing/build/swig/sensing_swigPYTHON_wrap.cxx:4509:0: /usr/include/boost/checked_delete.hpp: In instantiation of ?void boost::checked_delete(T*) [with T = gr::sensing::sensing]?: /usr/include/boost/smart_ptr/detail/shared_count.hpp:95:13: required from ?boost::detail::shared_count::shared_count(Y*) [with Y = gr::sensing::sensing]? /usr/include/boost/smart_ptr/shared_ptr.hpp:183:50: required from ?boost::shared_ptrT::shared_ptr(Y*) [with Y = gr::sensing::sensing; T = gr::sensing::sensing]? /home/utilisateur/Documents/Work_tx/gr-sensing/build/swig/sensing_swigPYTHON_wrap.cxx:5484:111: required from here /home/utilisateur/Documents/Work_tx/gr-sensing/include/sensing/sensing.h:38:7: erreur: ?gr::sensing::sensing::~sensing()? is private In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:30:0, from /usr/include/boost/shared_ptr.hpp:17, from /usr/local/include/gnuradio/gr_types.h:27, from /home/utilisateur/Documents/Work_tx/gr-sensing/build/swig/sensing_swigPYTHON_wrap.cxx:3113: /usr/include/boost/checked_delete.hpp:34:5: erreur: à l'intérieur du contexte make[2]: *** [swig/CMakeFiles/_sensing_swig.dir/sensing_swigPYTHON_wrap.cxx.o] Erreur 1 make[1]: *** [swig/CMakeFiles/_sensing_swig.dir/all] Erreur 2 make: *** [all] Erreur 2 Help plz. Any Idea? Regards, Nada This message was sent using IMP, the Internet Messaging Program. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio This message was sent using IMP, the Internet Messaging Program. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] New Module/block call issue: make function??
Hi, I've added a module 'sensingmod' with a noblock block 'sensing' but when I tried to call the block from python, I got this error: Traceback (most recent call last): File ./tunnel_tx_simul.py, line 49, in module from sensingmod import sensing File /usr/local/lib/python2.7/dist-packages/sensingmod/__init__.py, line 45, in module from sensingmod_swig import * File /usr/local/lib/python2.7/dist-packages/sensingmod/sensingmod_swig.py, line 188, in module sensing = sensing.make; AttributeError: type object 'sensing' has no attribute 'make' I thought I had to add a function make to the block but still got the error. Any Idea? Regards, Nada This message was sent using IMP, the Internet Messaging Program. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] 4rx FPGA image issue
I'm using UHD 003.005.002-47-g4a860d74 I'm working on narrowband/tunnel.py. I changed the usrp_source call to create 4 channels, I added all necessary connections. I made those changes with two channels using the default fpga image and it worked well. mle...@ripnet.com a écrit : On 02 May 2013 12:25, Nada ABDELKADER wrote: I got the same error! What version of UHD are you using? Can you forward to the list a minimum .grc file that shows the problem? This message was sent using IMP, the Internet Messaging Program. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] 4rx FPGA image issue
Hi all, I'm using two USRP1 as transmitter and receiver. I'm trying to make the receiver listening to three channels. I found that I have to use the 4rx FPGA image for 4 RX DSPs on the USRP1. But when I run my command with the --args=fpga=usrp1_fpga_4rx.rbf option and I got this error: thread[thread-per-block[0]: gr_block gr uhd usrp source (6)]: LookupError: KeyError: Cannot find a conversion routine for conversion ID Input format: sc16_item16_usrp1 Num inputs: 1 Output format: fc32 Num outputs: 3 I did not understand the origin of the problem and how to resolve it. Can anybody help me plz? Regards, Nada This message was sent using IMP, the Internet Messaging Program. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] 4rx FPGA image issue
I got the same error! mle...@ripnet.com a écrit : On 02 May 2013 11:45, Nada ABDELKADER wrote: Hi all, I'm using two USRP1 as transmitter and receiver. I'm trying to make the receiver listening to three channels. I found that I have to use the 4rx FPGA image for 4 RX DSPs on the USRP1. But when I run my command with the --args=fpga=usrp1_fpga_4rx.rbf option and I got this error: thread[thread-per-block[0]: ]: LookupError: KeyError: Cannot find a conversion routine for conversion ID Input format: sc16_item16_usrp1 Num inputs: 1 Output format: fc32 Num outputs: 3 I did not understand the origin of the problem and how to resolve it. Can anybody help me plz? Regards, Nada This message was sent using IMP, the Internet Messaging Program. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio Clutching at straws here, but what happens if you use 4 channels, and just attach the fourth channel to a NULL sink? This message was sent using IMP, the Internet Messaging Program. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Error while running gr-modtool: module building
Hi, Yes Martin, you're right. Sorry for the mistake. Thank you Nathan for help. Regards, Nada Martin Braun (CEL) martin.br...@kit.edu a écrit : On Tue, Apr 23, 2013 at 12:22:26PM -0500, Nathan West wrote: [ 5%] Building CXX object lib/CMakeFiles/gnuradio-testmod.dir/ testbloc_impl.cc.o /home/utilisateur/Documents/GnuradioInstall/gnuradio/gr-testmod/lib/ testbloc_impl.cc: In constructor ?gr::testmod::testbloc_impl::testbloc_impl ()?: [...] It sounds like you didn't change the in/out port sizes. Look at line 42, change anything surrounded by + foo +. The bracket/plus sign is just there as a hint of what the code should look like and you need to replace it with real code. Also, you got the error while running 'make', not while running 'gr_modtool'. Just saying. MB -- Karlsruhe Institute of Technology (KIT) Communications Engineering Lab (CEL) Dipl.-Ing. Martin Braun Research Associate Kaiserstraße 12 Building 05.01 76131 Karlsruhe Phone: +49 721 608-43790 Fax: +49 721 608-46071 www.cel.kit.edu KIT -- University of the State of Baden-Württemberg and National Laboratory of the Helmholtz Association This message was sent using IMP, the Internet Messaging Program. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Error while running gr-modtool
Hi all, I'm trying to add new module following the tutorial in http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModules;. But when building I got these errors: [ 5%] Building CXX object lib/CMakeFiles/gnuradio-testmod.dir/testbloc_impl.cc.o /home/utilisateur/Documents/GnuradioInstall/gnuradio/gr-testmod/lib/testbloc_impl.cc: In constructor ?gr::testmod::testbloc_impl::testbloc_impl()?: /home/utilisateur/Documents/GnuradioInstall/gnuradio/gr-testmod/lib/testbloc_impl.cc:42:30: erreur: expected primary-expression before ?? token /home/utilisateur/Documents/GnuradioInstall/gnuradio/gr-testmod/lib/testbloc_impl.cc:42:32: erreur: ?MIN_IN? was not declared in this scope /home/utilisateur/Documents/GnuradioInstall/gnuradio/gr-testmod/lib/testbloc_impl.cc:42:39: erreur: expected primary-expression before ?? token Any idea? Nada This message was sent using IMP, the Internet Messaging Program. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] video streaming with vlc over gnuradio
Hi all, I'm trying to stream video using tunnel.py. I run the script on two machines (Ubuntu 12.10), configured IP addresses then run ping. I got Tx and Rx traces displayed on both sides but the ping command displayed Destination host unreachable. Is there a problem with my experiment or it's related to pind and ICMP response? If so, I tried to configure vlc server and vlc client to stream video through gnuradio but I got always Error on the client side (can't open http://IPaddr:portnum). Any idea? Best Regards, Nada ABDELKADER This message was sent using IMP, the Internet Messaging Program. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Problems running tunnel.py
Hi, I tried to run tunnel.py on my machine (Ubuntu 11.10) with 2 USRPs (usrp1). from one side I launched: ./tunnel.py --tx-freq 2.4G --rx-freq 2.4001G -a=name=dev1 -A TX/RX --bitrate 500k -v then : sudo ifconfig gr0 192.168.200.1 from another terminal (on the same machine): ./tunnel.py --rx-freq 2.4G --tx-freq 2.4001G -a=name=dev0 -A TX/RX --bitrate 500k -v sudo ifconfig gr1 192.168.200.2 But when I run ping from both sides I see nothing displayed! Is what I've done correct? Is it possible to use one machine? What did I miss? Can you help me plz! Best Regards, Nada This message was sent using IMP, the Internet Messaging Program. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] tunnel.py command not working
Hi, I tried to run tunnel.py on my machine (Ubuntu 11.10) with 2 USRPs (usrp1). from one side I launched: ./tunnel.py --tx-freq 2.4G --rx-freq 2.4001G -a=name=dev1 -A TX/RX --bitrate 500k -v then : sudo ifconfig gr0 192.168.200.1 from another terminal (on the same machine): ./tunnel.py --rx-freq 2.4G --tx-freq 2.4001G -a=name=dev0 -A TX/RX --bitrate 500k -v sudo ifconfig gr1 192.168.200.2 But when I run ping from both sides I see nothing displayed! Is what I've done correct? Is it possible to use one machine? What did I miss? Can you help me plz! Best Regards, Nada This message was sent using IMP, the Internet Messaging Program. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Two usrps on one machine
Hi, I'm trying to run benchmark_tx.py and benchmark_rx.py with two USRPs (usrp1) connected to the same machine (Ubuntu 11.10). I named my usrps dev0 and dev1 using usrp_burn_mb_eeprom and called my python scripts with the --args option to specify the transmitter and the receiver. But I got nothing on the receiver side. Is what I did enough to configure my usrps? Is there any thing else to do to make it work? Nada This message was sent using IMP, the Internet Messaging Program. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Errors building gnuradio
Hi all, I'm trying to build gnuradio using the gnuradio_build script and I'm getting these errors: Configuring Boost C++ Libraries... -- Could NOT find GRUEL (missing: GRUEL_INCLUDE_DIRS) -- checking for module 'gnuradio-core' -- package 'gnuradio-core' not found -- Could NOT find GNURADIO_CORE (missing: GNURADIO_CORE_LIBRARIES GNURADIO_CORE_INCLUDE_DIRS) -- checking for module 'gnuradio-iqbalance' -- package 'gnuradio-iqbalance' not found -- Could NOT find GNURADIO_IQBALANCE (missing: GNURADIO_IQBALANCE_LIBRARIES GNURADIO_IQBALANCE_INCLUDE_DIRS) -- checking for module 'gnuradio-uhd' -- package 'gnuradio-uhd' not found -- gnuradio-uhd not found. -- Could NOT find GNURADIO_UHD (missing: GNURADIO_UHD_LIBRARIES GNURADIO_UHD_INCLUDE_DIRS) -- checking for module 'gnuradio-fcd' -- package 'gnuradio-fcd' not found -- gnuradio-fcd not found. -- Could NOT find GNURADIO_FCD (missing: GNURADIO_FCD_LIBRARIES GNURADIO_FCD_INCLUDE_DIRS) -- checking for module 'libosmosdr' -- package 'libosmosdr' not found -- libosmosdr not found. -- checking for module 'libmirisdr' -- package 'libmirisdr' not found -- libmirisdr not found. CMake Error at CMakeLists.txt:121 (message): Gruel required to compile osmosdr -- Configuring incomplete, errors occurred! make: *** No rule to make target `clean'. Stop. make: *** No targets specified and no makefile found. Stop. Can anyone help me plz to find out what's wrong? Nada This message was sent using IMP, the Internet Messaging Program. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Errors building gnuradio
I'm on Ubuntu 11.10 and I'm using the --verbose option with which I get these messages. Yes Marcus, you're right, apparently gnuradio components were not installed. I tried to rebuild manually gnuradio and I got this: ## -- # Gnuradio disabled components -- ## -- * sphinx -- * gruel -- * gnuradio-core -- * gnuradio-companion -- * gr-blocks -- * gr-fft -- * gr-filter -- * gr-atsc -- * gr-audio -- * gr-comedi -- * gr-analog -- * gr-digital -- * gr-noaa . and for each component I got sth like: Configuring gr-audio support... -- Dependency Boost_FOUND = FALSE -- Dependency ENABLE_GR_CORE = -- Disabling gr-audio support. -- Override with -DENABLE_GR_AUDIO=ON/OFF -- WARNING: Found a known bad version of Boost (v104601). Disabling. -- checking for module 'comedilib' -- package 'comedilib' not found Is that related to boost? Did I miss sth? Nada Quoting Marcus D. Leech mle...@ripnet.com: On 03/25/2013 07:27 AM, Nada ABDELKADER wrote: Hi all, I'm trying to build gnuradio using the gnuradio_build script and I'm getting these errors: Configuring Boost C++ Libraries... -- Could NOT find GRUEL (missing: GRUEL_INCLUDE_DIRS) -- checking for module 'gnuradio-core' -- package 'gnuradio-core' not found -- Could NOT find GNURADIO_CORE (missing: GNURADIO_CORE_LIBRARIES GNURADIO_CORE_INCLUDE_DIRS) -- checking for module 'gnuradio-iqbalance' -- package 'gnuradio-iqbalance' not found -- Could NOT find GNURADIO_IQBALANCE (missing: GNURADIO_IQBALANCE_LIBRARIES GNURADIO_IQBALANCE_INCLUDE_DIRS) -- checking for module 'gnuradio-uhd' -- package 'gnuradio-uhd' not found -- gnuradio-uhd not found. -- Could NOT find GNURADIO_UHD (missing: GNURADIO_UHD_LIBRARIES GNURADIO_UHD_INCLUDE_DIRS) -- checking for module 'gnuradio-fcd' -- package 'gnuradio-fcd' not found -- gnuradio-fcd not found. -- Could NOT find GNURADIO_FCD (missing: GNURADIO_FCD_LIBRARIES GNURADIO_FCD_INCLUDE_DIRS) -- checking for module 'libosmosdr' -- package 'libosmosdr' not found -- libosmosdr not found. -- checking for module 'libmirisdr' -- package 'libmirisdr' not found -- libmirisdr not found. CMake Error at CMakeLists.txt:121 (message): Gruel required to compile osmosdr -- Configuring incomplete, errors occurred! make: *** No rule to make target `clean'. Stop. make: *** No targets specified and no makefile found. Stop. Can anyone help me plz to find out what's wrong? Nada This message was sent using IMP, the Internet Messaging Program. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio What type of system are you on? If you run build-gnuradio with the --verbose option, you can get more information about what it's doing. This looks to me like the gnuradio part of the build failed in some subtle way, and gr-osmosdr failed because none of the gnuradio components were installed. -- Marcus Leech Principal Investigator Shirleys Bay Radio Astronomy Consortium http://www.sbrac.org ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio This message was sent using IMP, the Internet Messaging Program. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Errors building gnuradio
Thks Nicholas, now most blocks are installed but I got always the same errors Configuring Boost C++ Libraries... -- Could NOT find GRUEL (missing: GRUEL_INCLUDE_DIRS) -- checking for module 'gnuradio-core' -- package 'gnuradio-core' not found -- Could NOT find GNURADIO_CORE (missing: GNURADIO_CORE_LIBRARIES GNURADIO_CORE_INCLUDE_DIRS) checking for module 'gnuradio-iqbalance' -- package 'gnuradio-iqbalance' not found Nada Quoting Nicholas Corgan nick.cor...@ettus.com: When running CMake, the -DENABLE_BAD_BOOST=ON option will disable that warning and allow you to compile most blocks. On Mon, Mar 25, 2013 at 5:38 AM, Nada ABDELKADER nada.abdelka...@etu.upmc.fr wrote: I'm on Ubuntu 11.10 and I'm using the --verbose option with which I get these messages. Yes Marcus, you're right, apparently gnuradio components were not installed. I tried to rebuild manually gnuradio and I got this: ##** -- # Gnuradio disabled components -- ##** -- * sphinx -- * gruel -- * gnuradio-core -- * gnuradio-companion -- * gr-blocks -- * gr-fft -- * gr-filter -- * gr-atsc -- * gr-audio -- * gr-comedi -- * gr-analog -- * gr-digital -- * gr-noaa . and for each component I got sth like: Configuring gr-audio support... -- Dependency Boost_FOUND = FALSE -- Dependency ENABLE_GR_CORE = -- Disabling gr-audio support. -- Override with -DENABLE_GR_AUDIO=ON/OFF -- WARNING: Found a known bad version of Boost (v104601). Disabling. -- checking for module 'comedilib' -- package 'comedilib' not found Is that related to boost? Did I miss sth? Nada Quoting Marcus D. Leech mle...@ripnet.com: On 03/25/2013 07:27 AM, Nada ABDELKADER wrote: Hi all, I'm trying to build gnuradio using the gnuradio_build script and I'm getting these errors: Configuring Boost C++ Libraries... -- Could NOT find GRUEL (missing: GRUEL_INCLUDE_DIRS) -- checking for module 'gnuradio-core' -- package 'gnuradio-core' not found -- Could NOT find GNURADIO_CORE (missing: GNURADIO_CORE_LIBRARIES GNURADIO_CORE_INCLUDE_DIRS) -- checking for module 'gnuradio-iqbalance' -- package 'gnuradio-iqbalance' not found -- Could NOT find GNURADIO_IQBALANCE (missing: GNURADIO_IQBALANCE_LIBRARIES GNURADIO_IQBALANCE_INCLUDE_**DIRS) -- checking for module 'gnuradio-uhd' -- package 'gnuradio-uhd' not found -- gnuradio-uhd not found. -- Could NOT find GNURADIO_UHD (missing: GNURADIO_UHD_LIBRARIES GNURADIO_UHD_INCLUDE_DIRS) -- checking for module 'gnuradio-fcd' -- package 'gnuradio-fcd' not found -- gnuradio-fcd not found. -- Could NOT find GNURADIO_FCD (missing: GNURADIO_FCD_LIBRARIES GNURADIO_FCD_INCLUDE_DIRS) -- checking for module 'libosmosdr' -- package 'libosmosdr' not found -- libosmosdr not found. -- checking for module 'libmirisdr' -- package 'libmirisdr' not found -- libmirisdr not found. CMake Error at CMakeLists.txt:121 (message): Gruel required to compile osmosdr -- Configuring incomplete, errors occurred! make: *** No rule to make target `clean'. Stop. make: *** No targets specified and no makefile found. Stop. Can anyone help me plz to find out what's wrong? Nada --**--** This message was sent using IMP, the Internet Messaging Program. __**_ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/**listinfo/discuss-gnuradiohttps://lists.gnu.org/mailman/listinfo/discuss-gnuradio What type of system are you on? If you run build-gnuradio with the --verbose option, you can get more information about what it's doing. This looks to me like the gnuradio part of the build failed in some subtle way, and gr-osmosdr failed because none of the gnuradio components were installed. -- Marcus Leech Principal Investigator Shirleys Bay Radio Astronomy Consortium http://www.sbrac.org __**_ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/**listinfo/discuss-gnuradiohttps://lists.gnu.org/mailman/listinfo/discuss-gnuradio --**--** This message was sent using IMP, the Internet Messaging Program. __**_ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/**listinfo/discuss-gnuradiohttps://lists.gnu.org/mailman/listinfo/discuss-gnuradio -- Nicholas Corgan This message was sent using IMP, the Internet Messaging Program. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] VoIP and gnuradio
Hi, Sorry for bothering again, but if I do so (use application or add block), Do you think this may not affect VOIP delay? I won't get bad audio quality (packets loss) or more delay? Nada Phillip Frost ind...@bitglue.com a écrit : On Mar 15, 2013, at 6:41 AM, Nada ABDELKADER wrote: I'm wondering if it's possible to make gnuradio working with some VoIP applications (e.g ekiga). Can I for example direct pkts from/to Ethernet port to/from Gnuradio (usb port)? It's not clear at all what you are asking, but if you want to use some VoIP application, or really any application, as an audio source or sink, you may be able to do so through something like PulseAudio[1], which can route audio between applications. You can also use file IO, perhaps with the files being FIFOs, or develop a custom block which interfaces with another application using some API it might provide. [1] http://www.freedesktop.org/wiki/Software/PulseAudio This message was sent using IMP, the Internet Messaging Program. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Dwell Delay and Tune Delay
Hi How to adjust the dwell and tune delays and the FFT_size for spectrum sensing? Are they related to h/w properties or just a choice for experimentation? Nada This message was sent using IMP, the Internet Messaging Program. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] VoIP and gnuradio
Hi, I'm wondering if it's possible to make gnuradio working with some VoIP applications (e.g ekiga). Can I for example direct pkts from/to Ethernet port to/from Gnuradio (usb port)? Nada This message was sent using IMP, the Internet Messaging Program. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] VoIP and gnuradio
My goal is to use a VoIP application basing on gnuradio and USRP instead of ordinary Ethernet/Wifi connection. If I choose to develop a block do I need to go through C++ Code and add/modify sth to do so? I'm beginner in gnuradio and am a little bit confused Nada Phillip Frost ind...@bitglue.com a écrit : On Mar 15, 2013, at 6:41 AM, Nada ABDELKADER wrote: I'm wondering if it's possible to make gnuradio working with some VoIP applications (e.g ekiga). Can I for example direct pkts from/to Ethernet port to/from Gnuradio (usb port)? It's not clear at all what you are asking, but if you want to use some VoIP application, or really any application, as an audio source or sink, you may be able to do so through something like PulseAudio[1], which can route audio between applications. You can also use file IO, perhaps with the files being FIFOs, or develop a custom block which interfaces with another application using some API it might provide. [1] http://www.freedesktop.org/wiki/Software/PulseAudio This message was sent using IMP, the Internet Messaging Program. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Rx/Tx gain
Hi, Would you plz tell me the best way to set the gain values for Rx/Tx USRP with benchmark_tx and benchmark_rx at command line. How to adjust these values? Thanks. This message was sent using IMP, the Internet Messaging Program. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio