Re: [Discuss-gnuradio] GSL_FOUND both TRUE and FALSE
On 02/21/2017 03:01 PM, Achilleas Anastasopoulos wrote: > Hi all, > > after a long time update from source on a Fedora 23 I came across the > following problem when cmaking: > > -- Configuring gr-fec support... > -- Dependency ENABLE_VOLK = ON > -- Dependency Boost_FOUND = 1 > -- Dependency ENABLE_GNURADIO_RUNTIME = ON > -- Dependency ENABLE_GR_BLOCKS = ON > -- Dependency GSL_FOUND = TRUE < > -- Enabling gr-fec support. > -- Override with -DENABLE_GR_FEC=ON/OFF > -- Checking for module 'fftw3f >= 3.0' > -- Found fftw3f , version 3.3.4 > -- Found FFTW3F: /lib64/libfftw3f.so > > but then > > -- Configuring gr-dtv support... > -- Dependency Boost_FOUND = 1 > -- Dependency GSL_FOUND = FALSE < > -- Dependency ENABLE_GNURADIO_RUNTIME = ON > -- Dependency ENABLE_GR_ANALOG = ON > -- Dependency ENABLE_GR_FILTER = ON > -- Dependency ENABLE_GR_FEC = ON > -- Disabling gr-dtv support. > -- Override with -DENABLE_GR_DTV=ON/OFF > -- Could NOT find GSL (missing: GSL_INCLUDE_DIRS GSL_LIBRARY_DIRS) > -- > -- Configuring gr-atsc support... > -- Dependency Boost_FOUND = 1 > -- Dependency GSL_FOUND = FALSE < > -- Dependency ENABLE_GNURADIO_RUNTIME = ON > -- Dependency ENABLE_GR_FFT = ON > -- Dependency ENABLE_GR_BLOCKS = ON > -- Dependency ENABLE_GR_FEC = ON > -- Dependency ENABLE_GR_FILTER = ON > -- Dependency ENABLE_GR_ANALOG = ON > -- Disabling gr-atsc support. > -- Override with -DENABLE_GR_ATSC=ON/OFF > > -- > -- Configuring gr-wavelet support... > -- Dependency Boost_FOUND = 1 > -- Dependency ENABLE_GNURADIO_RUNTIME = ON > -- Dependency ENABLE_GR_BLOCKS = ON > -- Dependency ENABLE_GR_ANALOG = ON > -- Dependency GSL_FOUND = FALSE < > -- Disabling gr-wavelet support. > -- Override with -DENABLE_GR_WAVELET=ON/OFF > -- > > and so the packages > > -- * gr-dtv > -- * gr-atsc > -- * gr-wavelet How about the package 'gnuradio-companion' - the one just before gr-fec - does it find gsl? There should be a couple of lines at the end of 'gnuradio-companion': -- checking for module 'gsl >= 1.10' -- found gsl , version 1.16 -- Found GSL: gsl;gslcblas;m Is it possible you have libgsl (gsl) but not libgslcblas (gslcblas)? > > are not being built. > > BTW: I have gsl and gsl-devel installed (version 1.16-17) > > Can anyone give me a hint as to what may be wrong here? Incidently, what version of gnuradio are you building? > > thanks > Achilleas > > > > ___ > 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
Re: [Discuss-gnuradio] GSL_FOUND both TRUE and FALSE
Hi, On 02/22/2017 12:01 AM, Achilleas Anastasopoulos wrote: > after a long time update from source on a Fedora 23 I came across the > following problem when cmaking: > > Can anyone give me a hint as to what may be wrong here? > Does that happen even after you delete the build directory and start from scratch? Best, Bastian ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] feedback loop in gnu radio
I am using a GRC flowgraph for testing the energy detection algorithm for cognitive radio.I want to update my threshold for probability detection by estimating the SNR of the channel. However, for this, I need a feedback loop, which I want to know how to implement. Regards, Sagnik Basu B. Tech | 2013-2017 Dept. of Electronics and Communication NIT Rourkela M: 8337942928 ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] feedback loop in gnu radio
Hi Sagnik, right now, you can't build loops out of stream connections. That has causality reasons – if you had such a loop, and the "merging" block at the start of the loop would need input on both channels, GNU Radio couldn't guarantee your flow graph could ever start¹. If you can live with a loosely–coupled feedback loop, message passing would be an appropriate method: You can pass messages from any block to any block without any restrictions - but also, without backpressure. See chapter four or five of http://tutorials.gnuradio.org . (If you haven't already, read the tutorial from the start – I think it's rather nice!) Best regards, Marcus ¹ In fact, that restriction has historical reasons, and we know we could remove it in some cases, but we didn't, so far. I used to have an experimental branch where we didn't have that restriction, but then a lot of our not-directly-stream-connection-related stuff breaks; basically, a lot of algorithm in GNU Radio's internal data handling depend on the Flow Graph being cycle-free. On 22.02.2017 12:51, Sagnik Basu wrote: > I am using a GRC flowgraph for testing the energy detection algorithm > for cognitive radio.I want to update my threshold for probability > detection by estimating the SNR of the channel. > > However, for this, I need a feedback loop, which I want to know how to > implement. > > Regards, > Sagnik Basu > B. Tech | 2013-2017 > Dept. of Electronics and Communication > NIT Rourkela > M: 8337942928 > > > > > > ___ > 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
[Discuss-gnuradio] OFDM receiver
How can I receive bits using file sink in ofdm receiver. where I have to connect file sink in flow graph of ofdm receiver? either bits repack block output can give bits? ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] GSL_FOUND both TRUE and FALSE
A patch was applied a couple weeks ago because gr-dtv wasn't running the same check for GSL that the previous libraries were (in CMAKE), which caused the same problem. Perhaps this is the same issue? Really depends exactly which version you were running. If you are running from git between I think October and recently that could be it. If so, then just update your repo and you should pick it up. Geof On Wed, Feb 22, 2017 at 4:02 AM, Bastian Bloessl wrote: > Hi, > > On 02/22/2017 12:01 AM, Achilleas Anastasopoulos wrote: > > > after a long time update from source on a Fedora 23 I came across the > > following problem when cmaking: > > > > Can anyone give me a hint as to what may be wrong here? > > > > Does that happen even after you delete the build directory and start > from scratch? > > Best, > Bastian > > ___ > 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
Re: [Discuss-gnuradio] OFDM receiver
Hi Muhammad, sadly, it's not very clear what you're asking about. * Which flow graph are you referring to? * What is your precise problem, and what have you tried to solve it so far? How can we help you with that? Best regards, Marcus On 02/22/2017 02:05 PM, MUHAMMAD AHMAD wrote: > How can I receive bits using file sink in ofdm receiver. > where I have to connect file sink in flow graph of ofdm receiver? > either bits repack block output can give bits? > > > ___ > 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
Re: [Discuss-gnuradio] GSL_FOUND both TRUE and FALSE
Hi all, thank you for your input. Some clarifications: I was indeed cmaking the latest version from git "Building for version: v3.7.10.1-237-g81e7af7b / 3.7.11git" and was working from scratch with a clean built. I attach here the whole output of cmake. thanks for the help , Achilleas On Tue, Feb 21, 2017 at 6:01 PM, Achilleas Anastasopoulos wrote: > Hi all, > > after a long time update from source on a Fedora 23 I came across the > following problem when cmaking: > > -- Configuring gr-fec support... > -- Dependency ENABLE_VOLK = ON > -- Dependency Boost_FOUND = 1 > -- Dependency ENABLE_GNURADIO_RUNTIME = ON > -- Dependency ENABLE_GR_BLOCKS = ON > -- Dependency GSL_FOUND = TRUE < > -- Enabling gr-fec support. > -- Override with -DENABLE_GR_FEC=ON/OFF > -- Checking for module 'fftw3f >= 3.0' > -- Found fftw3f , version 3.3.4 > -- Found FFTW3F: /lib64/libfftw3f.so > > but then > > -- Configuring gr-dtv support... > -- Dependency Boost_FOUND = 1 > -- Dependency GSL_FOUND = FALSE < > -- Dependency ENABLE_GNURADIO_RUNTIME = ON > -- Dependency ENABLE_GR_ANALOG = ON > -- Dependency ENABLE_GR_FILTER = ON > -- Dependency ENABLE_GR_FEC = ON > -- Disabling gr-dtv support. > -- Override with -DENABLE_GR_DTV=ON/OFF > -- Could NOT find GSL (missing: GSL_INCLUDE_DIRS GSL_LIBRARY_DIRS) > -- > -- Configuring gr-atsc support... > -- Dependency Boost_FOUND = 1 > -- Dependency GSL_FOUND = FALSE < > -- Dependency ENABLE_GNURADIO_RUNTIME = ON > -- Dependency ENABLE_GR_FFT = ON > -- Dependency ENABLE_GR_BLOCKS = ON > -- Dependency ENABLE_GR_FEC = ON > -- Dependency ENABLE_GR_FILTER = ON > -- Dependency ENABLE_GR_ANALOG = ON > -- Disabling gr-atsc support. > -- Override with -DENABLE_GR_ATSC=ON/OFF > > -- > -- Configuring gr-wavelet support... > -- Dependency Boost_FOUND = 1 > -- Dependency ENABLE_GNURADIO_RUNTIME = ON > -- Dependency ENABLE_GR_BLOCKS = ON > -- Dependency ENABLE_GR_ANALOG = ON > -- Dependency GSL_FOUND = FALSE < > -- Disabling gr-wavelet support. > -- Override with -DENABLE_GR_WAVELET=ON/OFF > -- > > and so the packages > > -- * gr-dtv > -- * gr-atsc > -- * gr-wavelet > > are not being built. > > BTW: I have gsl and gsl-devel installed (version 1.16-17) > > Can anyone give me a hint as to what may be wrong here? > > thanks > Achilleas > > -- The CXX compiler identification is GNU 5.3.1 -- The C compiler identification is GNU 5.3.1 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Build type not specified: defaulting to release. -- Build type set to Release. -- Found Git: /usr/bin/git -- Extracting version information from git describe... -- Performing Test HAVE_VISIBILITY_HIDDEN -- Performing Test HAVE_VISIBILITY_HIDDEN - Success -- Performing Test HAVE_WARN_SIGN_COMPARE -- Performing Test HAVE_WARN_SIGN_COMPARE - Success -- Performing Test HAVE_WARN_ALL -- Performing Test HAVE_WARN_ALL - Success -- Performing Test HAVE_WARN_NO_UNINITIALIZED -- Performing Test HAVE_WARN_NO_UNINITIALIZED - Success -- Compiler Version: cc (GCC) 5.3.1 20160406 (Red Hat 5.3.1-6) Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- Compiler Flags: /usr/bin/cc:::-O3 -DNDEBUG -std=gnu99 -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized /usr/bin/c++:::-O3 -DNDEBUG -std=c++98 -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -- ADDING PERF COUNTERS -- Building Static Libraries: OFF -- Boost version: 1.58.0 -- Found the following Boost libraries: -- date_time -- program_options -- filesystem -- system -- regex -- thread -- Found PythonLibs: /usr/lib64/libpython2.7.so (found suitable version "2.7.11", minimum required is "2") -- -- Checking for module SWIG -- Found SWIG version 3.0.7. -- Found SWIG: /usr/bin/swig -- -- The build system will automatically enable all components. -- Use -DENABLE_DEFAULT=OFF to disable components by default. -- -- Configuring python-support support... -- Dependency PYTHONLIBS_FOUND = TRUE -- Dependency SWIG_FOUND = TRUE -- Dependency SWIG_VERSION_CHECK = TRUE -- Enabling python-support support. -- Override with -DENABLE_PYTHON=ON/OFF -- Found PkgConfig: /usr/bin/pkg-config (found version "0.28") -- Checking for module 'cppunit' -- Found cppun
Re: [Discuss-gnuradio] GSL_FOUND both TRUE and FALSE
Hi Achilleas, I'm "able" to reproduce this on Fedora 25. Mh, what a pleasure. Have you opened a bug report on github for this already? Best regards, Marcus On 02/22/2017 04:42 PM, Achilleas Anastasopoulos wrote: > Hi all, > > thank you for your input. > > Some clarifications: > > I was indeed cmaking the latest version from git > > "Building for version: v3.7.10.1-237-g81e7af7b / 3.7.11git" > > and was working from scratch with a clean built. > > I attach here the whole output of cmake. > > thanks for the help , > Achilleas > > > > > > > > > > > > > > > > > > > On Tue, Feb 21, 2017 at 6:01 PM, Achilleas Anastasopoulos > mailto:anas...@umich.edu>> wrote: > > Hi all, > > after a long time update from source on a Fedora 23 I came across > the following problem when cmaking: > > -- Configuring gr-fec support... > -- Dependency ENABLE_VOLK = ON > -- Dependency Boost_FOUND = 1 > -- Dependency ENABLE_GNURADIO_RUNTIME = ON > -- Dependency ENABLE_GR_BLOCKS = ON > -- Dependency GSL_FOUND = TRUE < > -- Enabling gr-fec support. > -- Override with -DENABLE_GR_FEC=ON/OFF > -- Checking for module 'fftw3f >= 3.0' > -- Found fftw3f , version 3.3.4 > -- Found FFTW3F: /lib64/libfftw3f.so > > but then > > -- Configuring gr-dtv support... > -- Dependency Boost_FOUND = 1 > -- Dependency GSL_FOUND = FALSE < > -- Dependency ENABLE_GNURADIO_RUNTIME = ON > -- Dependency ENABLE_GR_ANALOG = ON > -- Dependency ENABLE_GR_FILTER = ON > -- Dependency ENABLE_GR_FEC = ON > -- Disabling gr-dtv support. > -- Override with -DENABLE_GR_DTV=ON/OFF > -- Could NOT find GSL (missing: GSL_INCLUDE_DIRS GSL_LIBRARY_DIRS) > -- > -- Configuring gr-atsc support... > -- Dependency Boost_FOUND = 1 > -- Dependency GSL_FOUND = FALSE < > -- Dependency ENABLE_GNURADIO_RUNTIME = ON > -- Dependency ENABLE_GR_FFT = ON > -- Dependency ENABLE_GR_BLOCKS = ON > -- Dependency ENABLE_GR_FEC = ON > -- Dependency ENABLE_GR_FILTER = ON > -- Dependency ENABLE_GR_ANALOG = ON > -- Disabling gr-atsc support. > -- Override with -DENABLE_GR_ATSC=ON/OFF > > -- > -- Configuring gr-wavelet support... > -- Dependency Boost_FOUND = 1 > -- Dependency ENABLE_GNURADIO_RUNTIME = ON > -- Dependency ENABLE_GR_BLOCKS = ON > -- Dependency ENABLE_GR_ANALOG = ON > -- Dependency GSL_FOUND = FALSE < > -- Disabling gr-wavelet support. > -- Override with -DENABLE_GR_WAVELET=ON/OFF > -- > > and so the packages > > -- * gr-dtv > -- * gr-atsc > -- * gr-wavelet > > are not being built. > > BTW: I have gsl and gsl-devel installed (version 1.16-17) > > Can anyone give me a hint as to what may be wrong here? > > thanks > Achilleas > > > > > ___ > 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
Re: [Discuss-gnuradio] GSL_FOUND both TRUE and FALSE
I would take a look at the FindGSL.cmake script. I suspect the issue is related to the change to run FindPackage twice. Perhaps the pkgconfig detection isn't pulling in the variables the second time so they are being set to nulls? For a quick test, I would try commenting out the "find_package(GSL)" in the gr-dtv CMakeLists.txt and see what happens. Geof On Wed, Feb 22, 2017 at 10:42 AM, Achilleas Anastasopoulos < anas...@umich.edu> wrote: > Hi all, > > thank you for your input. > > Some clarifications: > > I was indeed cmaking the latest version from git > > "Building for version: v3.7.10.1-237-g81e7af7b / 3.7.11git" > > and was working from scratch with a clean built. > > I attach here the whole output of cmake. > > thanks for the help , > Achilleas > > > > > > > > > > > > > > > > > > > On Tue, Feb 21, 2017 at 6:01 PM, Achilleas Anastasopoulos < > anas...@umich.edu> wrote: > >> Hi all, >> >> after a long time update from source on a Fedora 23 I came across the >> following problem when cmaking: >> >> -- Configuring gr-fec support... >> -- Dependency ENABLE_VOLK = ON >> -- Dependency Boost_FOUND = 1 >> -- Dependency ENABLE_GNURADIO_RUNTIME = ON >> -- Dependency ENABLE_GR_BLOCKS = ON >> -- Dependency GSL_FOUND = TRUE < >> -- Enabling gr-fec support. >> -- Override with -DENABLE_GR_FEC=ON/OFF >> -- Checking for module 'fftw3f >= 3.0' >> -- Found fftw3f , version 3.3.4 >> -- Found FFTW3F: /lib64/libfftw3f.so >> >> but then >> >> -- Configuring gr-dtv support... >> -- Dependency Boost_FOUND = 1 >> -- Dependency GSL_FOUND = FALSE < >> -- Dependency ENABLE_GNURADIO_RUNTIME = ON >> -- Dependency ENABLE_GR_ANALOG = ON >> -- Dependency ENABLE_GR_FILTER = ON >> -- Dependency ENABLE_GR_FEC = ON >> -- Disabling gr-dtv support. >> -- Override with -DENABLE_GR_DTV=ON/OFF >> -- Could NOT find GSL (missing: GSL_INCLUDE_DIRS GSL_LIBRARY_DIRS) >> -- >> -- Configuring gr-atsc support... >> -- Dependency Boost_FOUND = 1 >> -- Dependency GSL_FOUND = FALSE < >> -- Dependency ENABLE_GNURADIO_RUNTIME = ON >> -- Dependency ENABLE_GR_FFT = ON >> -- Dependency ENABLE_GR_BLOCKS = ON >> -- Dependency ENABLE_GR_FEC = ON >> -- Dependency ENABLE_GR_FILTER = ON >> -- Dependency ENABLE_GR_ANALOG = ON >> -- Disabling gr-atsc support. >> -- Override with -DENABLE_GR_ATSC=ON/OFF >> >> -- >> -- Configuring gr-wavelet support... >> -- Dependency Boost_FOUND = 1 >> -- Dependency ENABLE_GNURADIO_RUNTIME = ON >> -- Dependency ENABLE_GR_BLOCKS = ON >> -- Dependency ENABLE_GR_ANALOG = ON >> -- Dependency GSL_FOUND = FALSE < >> -- Disabling gr-wavelet support. >> -- Override with -DENABLE_GR_WAVELET=ON/OFF >> -- >> >> and so the packages >> >> -- * gr-dtv >> -- * gr-atsc >> -- * gr-wavelet >> >> are not being built. >> >> BTW: I have gsl and gsl-devel installed (version 1.16-17) >> >> Can anyone give me a hint as to what may be wrong here? >> >> thanks >> Achilleas >> >> > > ___ > 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
[Discuss-gnuradio] How can I modify QT GUI as I want to use?
Hi, I'm using gnuradio for In-band full duplex (with USRP N210) I want to make a demo for transfer a movie clip. Here's the thing. How can I make a GUI with constellation, frequency, and streaming movie clip in one window (without tab) ? ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] OFDM Receiver
Hi, I am referring the built in example of gnuradio companion ( rx_ofdm.grc). In which I replace random source with usrp source. on Transmetter side I am sending some bits and in receiver flow graph (rx_ofdm ) I am facing problem where I have to attach file sink to get these bits. I attached *File sink block* after *bits repack* block but I did not get any data in file. I also have attached *File sink after stream CRC32 block but* I did not get data in file. Kindly inform if possible where I have to attach file sink in flow graph to get receiving bits. Here is an Attached flow graph modified form of (rx_ofdm) Thanks in anticipation. finaloftm_rx.grc Description: Binary data ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio