Re: [Discuss-gnuradio] Undefined reference to `gr::blocks::vector_source_b::make()'
Thanks Martin, you're right, it's about linking gnuradio-blocks libraries. To make it easy, I've regenerated my project (for Eclipse CDT4), and when I took the time to read what cmake outputs, I found that he actually didn't check for gnuradio-blocks, though he successfully found the others: runtime, filter and fft: Checking for GNU Radio Module: RUNTIME -- checking for module 'gnuradio-runtime' -- found gnuradio-runtime, version 3.7.5 * INCLUDES=/usr/local/include * LIBS=/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so -- Found GNURADIO_RUNTIME: /usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so GNURADIO_RUNTIME_FOUND = TRUE Checking for GNU Radio Module: FFT -- checking for module 'gnuradio-fft' -- found gnuradio-fft, version 3.7.5 * INCLUDES=/usr/local/include * LIBS=/usr/local/lib/libgnuradio-fft.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so -- Found GNURADIO_FFT: /usr/local/lib/libgnuradio-fft.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so GNURADIO_FFT_FOUND = TRUE Checking for GNU Radio Module: FILTER -- checking for module 'gnuradio-filter' -- found gnuradio-filter, version 3.7.5 * INCLUDES=/usr/local/include * LIBS=/usr/local/lib/libgnuradio-filter.so;/usr/local/lib/libgnuradio-fft.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so -- Found GNURADIO_FILTER: /usr/local/lib/libgnuradio-filter.so;/usr/local/lib/libgnuradio-fft.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so GNURADIO_FILTER_FOUND = TRUE -- I really don't know what I've missed ? I maybe need to review my cmake files once again. Mohamed -- View this message in context: http://gnuradio.4.n7.nabble.com/Undefined-reference-to-gr-blocks-vector-source-b-make-tp53327p53418.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Undefined reference to `gr::blocks::vector_source_b::make()'
Hi Marcus, You know what, when I start reviewing my cmake files from the main CMakeLists.txt, I found that I didn't have BLOCKS in that set() instruction !! I've just regenerated and built my project, there's no more undefined reference error. Thanks Marcus, well seen, I hope this helps somebody. Regards Mohamed -- View this message in context: http://gnuradio.4.n7.nabble.com/Undefined-reference-to-gr-blocks-vector-source-b-make-tp53327p53420.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Undefined reference to `gr::blocks::vector_source_b::make()'
Hi again, I managed to solve my initial issue (I just add double control of in/out item count), but still not able to run a flow graph from main, I got the undefined reference to what ever blocks other than mine. If someone has an idea to fix this, I'm still interested. Thanks, Mohamed -- View this message in context: http://gnuradio.4.n7.nabble.com/Undefined-reference-to-gr-blocks-vector-source-b-make-tp53327p53367.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Undefined reference to `gr::blocks::vector_source_b::make()'
Hi there, I'm working on my OOT with gnuradio 3.7.5 on ubuntu 14.04.2 LTS. The problem began when I got a segment fault from python test of one of my blocks, so I decided to run a flowgraph in c++ to debug the source code, it looks like the following: ... gr::top_block_sptr tp = gr::top_block_sptr(); gr::blocks::head::sptr head = blocks::head::make(sizeof(unsigned char), nin); gr::blocks::vector_source_b::sptr src = gr::blocks::vector_source_b::make(data, true); gr::blocks::vector_sink_b::sptr sink = gr::blocks::vector_sink_b::make(); std::vectorunsigned char data; for(int i=0; i nin; i++) data.push_back(i); (tp.get())-connect(src, 0, myblock, 0); (tp.get())-connect(myblock, 0, head, 0); (tp.get())-connect(head, 0, sink, 0); (tp.get())-run(); ... I did add gr::blocks headers and libraries in myootroot/CMakeLists.txt and myootroot/lib/CMakeLists.txt, but in vain. Is there anyone who could help me fix this, Thank you, Mohamed -- View this message in context: http://gnuradio.4.n7.nabble.com/Undefined-reference-to-gr-blocks-vector-source-b-make-tp53327.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Undefined reference error
Hi there, I'm run into a linker error when I build my OOT module; Hereafter what I get when typing sudo make: * libgnuradio-ssg.so: undefined reference to « gr::filter::firdes::window(gr::filter::firdes::win_type, int, double) »* For information, I use gnuradio 3.7.3 on fedora 20 and the version 4.8.2 of gcc. I know it could be handled by modifying cmake files, but I don't know which one and how ! Could you please help me fix this. Greetings, Mohamed -- View this message in context: http://gnuradio.4.n7.nabble.com/Undefined-reference-error-tp49559.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Undefined reference error
Hi Marcus, Thanks for helping me to fix this, it's working well. Here is the direct link to the disussion you've mentionned: http://gnuradio.4.n7.nabble.com/Out-of-Tree-linker-error-libgnuradio-MYMOD-so-undefined-reference-to-gr-fft-fft-complex-execute-td49549.html In other hand, when I add another implementation class into the lib directory - it doesn't have an abstract class in include directory, the make process returns the same error, but this time it concerns the constructor of this new imlementation class I just added ! I've mentioned the .cc file in CMakeLists.txt existing in lib directory, but I still get the same error. Any ideas that can help me with this new issue ? Greetings, Mohamed -- View this message in context: http://gnuradio.4.n7.nabble.com/Undefined-reference-error-tp49559p49565.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] ctest can't find gnuradio module !
Hi there, Could someone help me fix this issue, when I try to run my tests, the ctest returns the following: ... from gnuradio import gr, gr_unittest ImportError: No module named gnuradio ... Nonetheless, when I import any module from gnuradio in python terminal, it passes without any problem, and I can also run gnuradio-companion ! which I found very strange. Thank you in advance. Mohamed -- View this message in context: http://gnuradio.4.n7.nabble.com/ctest-can-t-find-gnuradio-module-tp49344.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] ctest can't find gnuradio module !
Hi Tom, Thank you for your prompt response. I use 3.7.3 version, I've installed it from the source. Here is what cmake -Wno-dev ../ returns: -- Build type not specified: defaulting to release. -- Boost version: 1.54.0 -- Found the following Boost libraries: -- filesystem -- system Checking for GNU Radio Module: RUNTIME -- checking for module 'gnuradio-runtime' -- package 'gnuradio-runtime' not found * INCLUDES=/usr/local/include * LIBS=/lib64/libgnuradio-runtime.so GNURADIO_RUNTIME_FOUND = TRUE -- Configuring done -- Generating done -- Build files have been written to: //build ** So there is no testing support, and yes, I'm running ctest within build directory. This a little bit strange, cmake didn't find the runtime for the first place ! I appreciate anything would help. On Tue, Jul 15, 2014 at 3:21 PM, Tom Rondeau-2 [via GnuRadio] ml-node+s4n49346...@n7.nabble.com wrote: On Tue, Jul 15, 2014 at 8:51 AM, mohamedx [hidden email] http://user/SendEmail.jtp?type=nodenode=49346i=0 wrote: Hi there, Could someone help me fix this issue, when I try to run my tests, the ctest returns the following: ... from gnuradio import gr, gr_unittest ImportError: No module named gnuradio ... Nonetheless, when I import any module from gnuradio in python terminal, it passes without any problem, and I can also run gnuradio-companion ! which I found very strange. Thank you in advance. Mohamed What version of GNU Radio? And how did you install it in the first place? When you ran cmake, did you see that testing-support was enabled? And, just to make sure, you are running ctest within the build directory, right? Tom ___ Discuss-gnuradio mailing list [hidden email] http://user/SendEmail.jtp?type=nodenode=49346i=1 https://lists.gnu.org/mailman/listinfo/discuss-gnuradio -- If you reply to this email, your message will be added to the discussion below: http://gnuradio.4.n7.nabble.com/ctest-can-t-find-gnuradio-module-tp49344p49346.html To unsubscribe from ctest can't find gnuradio module !, click here http://gnuradio.4.n7.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=49344code=bW9oYW1lZC5hYm91enJhckBnbWFpbC5jb218NDkzNDR8OTE5NzQwNDQ2 . NAML http://gnuradio.4.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml -- *Graduate Student at Supélec, MSc, Advanced Wireless Communication Systems,* *Élève ingénieur à l'INPT en mobilité internationale.* -- View this message in context: http://gnuradio.4.n7.nabble.com/ctest-can-t-find-gnuradio-module-tp49344p49347.html Sent from the GnuRadio mailing list archive at Nabble.com.___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Maximum supported frequency
Hi Martin, I'm not sure that (what I've understood) was the opposite of what Martin said, but anyway, I really appreciate your answer. Could you please tell me where I can find more about this question ? and where I can find the source code related to that sample unit ? so I can see closely how the things were done. Regards, Mohamed On Sat, May 24, 2014 at 12:44 PM, Marcus Müller-3 [via GnuRadio] ml-node+s4n48473...@n7.nabble.com wrote: Hi Mohamed, I was sure that is just related to what my machine can process that's the opposite of what Martin said. GNU Radio does not care the slightest about how high your sampling rate is. Some blocks need this information to calculate relative frequence (ie. frequencies related to the unit sample), but there is absolutely no restriction that links your theoretical sampling rate to your processing speed. If you start using hardware, then, of course, you'll have to make sure that a) your sampling rate matches your application and your hardware and b) your computer is able to process the samples fast enough to keep everything running in real time. Greetings, Marcus ___ Discuss-gnuradio mailing list [hidden email] http://user/SendEmail.jtp?type=nodenode=48473i=0 https://lists.gnu.org/mailman/listinfo/discuss-gnuradio -- If you reply to this email, your message will be added to the discussion below: http://gnuradio.4.n7.nabble.com/Maximum-supported-frequency-tp48398p48473.html To unsubscribe from Maximum supported frequency, click herehttp://gnuradio.4.n7.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=48398code=bW9oYW1lZC5hYm91enJhckBnbWFpbC5jb218NDgzOTh8OTE5NzQwNDQ2 . NAMLhttp://gnuradio.4.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml -- *Graduate Student at Supélec, MSc, Advanced Wireless Communication Systems,* *Élève ingénieur à l'INPT en mobilité internationale.* -- View this message in context: http://gnuradio.4.n7.nabble.com/Maximum-supported-frequency-tp48398p48481.html Sent from the GnuRadio mailing list archive at Nabble.com.___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Cannot import gnuradio !
I've found a post on same issue under the same title: http://gnuradio.4.n7.nabble.com/Cannot-import-gnuradio-td42045.html I tried to load the configuration by ldconfig after setting the path varaiables, and it works perfectly now. -- View this message in context: http://gnuradio.4.n7.nabble.com/Cannot-import-gnuradio-tp48422p48444.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Cannot import gnuradio !
Hi everyone, Finally, I've succeded to install the gnuradio 3.7.3 on fedora 20, even if it was my second time that I build it on fedora 20 ! However, I've one more issue which concerns the importation of gnuradio, I receive this kind of error message: Cannot import gnuradio. I tried the following command: export PYTHONPATH=${PYTHONPATH};/usr/local/lib64/python2.7 but it did change nothing ! Could someone help me fix this issue ? Thanks. -- View this message in context: http://gnuradio.4.n7.nabble.com/Cannot-import-gnuradio-tp48422.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Cannot import gnuradio !
Well, I've built it from the source code 3.7.3 and I kept the default path (i.e. /usr/local). Moreover, my system knows perfectly the command lines concerning gnuradio (e.g. gnuradio-companion, gr_modtool) but he crashes when I attempt to execute any of those commands. Is there anything else you want to know ? Thanks Martin. -- View this message in context: http://gnuradio.4.n7.nabble.com/Cannot-import-gnuradio-tp48422p48426.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Building error of GNURadio 3.7.2
Thank you Tom, I really appreciate your help. I tried again the cmake and turning off the docs, but I got another encoding error, when I took a look at the source file, I found that the reason of this is actually a non utf-8 character in my path to the source file, so I changed the source file path and all things went good till the installation ! Well, when I came to the make install I received the following error: *** /bin/sh: ligne 0 : cd: /gnuradio-3.7.2/build: N'est pas un dossier make[2]: *** [volk/lib/CMakeFiles/volk.dir/depend] Erreur 1 make[1]: *** [volk/lib/CMakeFiles/volk.dir/all] Erreur 2 make: *** [all] Erreur 2 *** I really don't understand what does it mean that xx/build is not a directory ! -- View this message in context: http://gnuradio.4.n7.nabble.com/Building-error-of-GNURadio-3-7-2-tp48375p48394.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Building error of GNURadio 3.7.2
Actually I've used sudo make install, and the prefix is the default one /usr/local/, I'm now trying to move the source file to /var/tmp and recompile it with root privileges ! On Wed, May 21, 2014 at 3:25 PM, Tom Rondeau-2 [via GnuRadio] ml-node+s4n48396...@n7.nabble.com wrote: On Wed, May 21, 2014 at 7:47 AM, mohamedx [hidden email]http://user/SendEmail.jtp?type=nodenode=48396i=0 wrote: Thank you Tom, I really appreciate your help. I tried again the cmake and turning off the docs, but I got another encoding error, when I took a look at the source file, I found that the reason of this is actually a non utf-8 character in my path to the source file, so I changed the source file path and all things went good till the installation ! Well, when I came to the make install I received the following error: *** /bin/sh: ligne 0 : cd: /gnuradio-3.7.2/build: N'est pas un dossier make[2]: *** [volk/lib/CMakeFiles/volk.dir/depend] Erreur 1 make[1]: *** [volk/lib/CMakeFiles/volk.dir/all] Erreur 2 make: *** [all] Erreur 2 *** I really don't understand what does it mean that xx/build is not a directory ! What are the permissions of the prefix directory you're trying to install into? It's possible you'll need sudo make install. Tom ___ Discuss-gnuradio mailing list [hidden email] http://user/SendEmail.jtp?type=nodenode=48396i=1 https://lists.gnu.org/mailman/listinfo/discuss-gnuradio -- If you reply to this email, your message will be added to the discussion below: http://gnuradio.4.n7.nabble.com/Building-error-of-GNURadio-3-7-2-tp48375p48396.html To unsubscribe from Building error of GNURadio 3.7.2, click herehttp://gnuradio.4.n7.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=48375code=bW9oYW1lZC5hYm91enJhckBnbWFpbC5jb218NDgzNzV8OTE5NzQwNDQ2 . NAMLhttp://gnuradio.4.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml -- *Graduate Student at Supélec, MSc, Advanced Wireless Communication Systems,* *Élève ingénieur à l'INPT en mobilité internationale.* -- View this message in context: http://gnuradio.4.n7.nabble.com/Building-error-of-GNURadio-3-7-2-tp48375p48397.html Sent from the GnuRadio mailing list archive at Nabble.com.___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Maximum supported frequency
Hi everyone, I'm wondering about the maximum supported frequency in gnuradio, in fact, I want to model a UHF transmission chain, where the model concludes a simulation of the radio front end. Can I do it without worry about the software limitation ? I mean, is it depend only on my machine limitations ? Thanks, -- View this message in context: http://gnuradio.4.n7.nabble.com/Maximum-supported-frequency-tp48398.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Maximum supported frequency
Yes, the sampling frequency or sampling rate. I was sure that is just related to what my machine can process, since I'm not depending on some specific hardware plateforms, but I've heard the opposite, that's why I'm posting this. Thank you Martin, I really appreciate your answer. -- View this message in context: http://gnuradio.4.n7.nabble.com/Maximum-supported-frequency-tp48398p48402.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Building error of GNURadio 3.7.2
Hi everyone, I've tried to build GNRadio 3.7.2.1 from source, when I came to make step I've received two strange error, you find hereafter what it looks like: *** [ 13%] Generating python docstrings for pmt_swig_doc Traceback (most recent call last): File /gnuradio-3.7.2/docs/doxygen/swig_doc.py, line 328, in module make_swig_interface_file(di, swigdocfilename, custom_output=custom_output) File /gnuradio-3.7.2/docs/doxygen/swig_doc.py, line 251, in make_swig_interface_file blocks = di.in_category(Block) File /gnuradio-3.7.2/docs/doxygen/doxyxml/base.py, line 140, in in_category self.confirm_no_error() File xx/gnuradio-3.7.2/docs/doxygen/doxyxml/base.py, line 206, in confirm_no_error self.check_parsed() File /gnuradio-3.7.2/docs/doxygen/doxyxml/base.py, line 203, in check_parsed self._parse() File /gnuradio-3.7.2/docs/doxygen/doxyxml/doxyindex.py, line 54, in _parse self._members += converted.members() File xxx/gnuradio-3.7.2/docs/doxygen/doxyxml/base.py, line 174, in members self.confirm_no_error() File xx/gnuradio-3.7.2/docs/doxygen/doxyxml/base.py, line 206, in confirm_no_error self.check_parsed() File xxx/gnuradio-3.7.2/docs/doxygen/doxyxml/base.py, line 203, in check_parsed self._parse() File xxx/gnuradio-3.7.2/docs/doxygen/doxyxml/doxyindex.py, line 238, in _parse self.retrieve_data() File xxx/gnuradio-3.7.2/docs/doxygen/doxyxml/base.py, line 193, in retrieve_data filename = os.path.join(self._xml_path, self.refid + '.xml') File /usr/lib64/python2.7/posixpath.py, line 80, in join path += '/' + b UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 17: ordinal not in range(128) make[2]: *** [gnuradio-runtime/swig/pmt_swig_doc.i] Erreur 1 make[1]: *** [gnuradio-runtime/swig/CMakeFiles/pmt_swig_swig_doc.dir/all] Erreur 2 make: *** [all] Erreur 2 Could someone help me fix this ? Thanks. -- View this message in context: http://gnuradio.4.n7.nabble.com/Building-error-of-GNURadio-3-7-2-tp48375.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio