discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: Difficulty in compiling gnuradio from git on opensuse 15.3


From: Ron Economos
Subject: Re: Difficulty in compiling gnuradio from git on opensuse 15.3
Date: Tue, 18 Jan 2022 18:02:41 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0

You probably also need -DCMAKE_CXX_COMPILER=g++-11 on your CMake command line.

Ron

On 1/18/22 4:39 PM, lists@lazygranch.com wrote:
I looked at
https://build.opensuse.org/package/show/home:wkazubski:test:science/gnuradio39
I clicked around a bit but I don't know specifically where you get the
package list.

The only one I can't load is for plotting. I have it but Cmake doesn't
find it.
"Python checking for pyqtgraph - not found"
I have python3-pyqtgraph. Maybe there is a companio "devel" file.

I put the output from cmake on a pastebin.
https://pastebin.com/s5zi8SFh

On Tue, 18 Jan 2022 12:42:42 +0100
Wojciech Kazubski <wk@ire.pw.edu.pl> wrote:

I just upgraded my Opensuse from 15.2 to rev 15.3. I compiled
gnuradio 3.9 maintenance release
using the instructions from
https://wiki.gnuradio.org/index.php/InstallingGR#From_Source

Results:
----------
building release 3.9.0.0
100% tests passed, 0 tests failed out of 252

Total Test time (real) = 149.09 sec
-----------------------

When I try to compile the current release I get this error:
-------------------
[  3%] Building CXX object
gnuradio-runtime/lib/CMakeFiles/gnuradio-runtime.dir/constants.cc.o
In file included from
/usr/include/boost/dll/runtime_symbol_info.hpp:11:0, from
/usr/local/src/gnuradio/build/gnuradio-runtime/lib/constants.cc:16:
/usr/include/boost/dll/config.hpp:42:10: fatal error: filesystem:
No such file or directory #include <filesystem> ^~~~~~~~~~~~
compilation terminated.
make[2]: ***
[gnuradio-runtime/lib/CMakeFiles/gnuradio-runtime.dir/build.make:100:
gnuradio-runtime/lib/CMakeFiles/gnuradio-runtime.dir/constants.cc.o]
Error 1 make[1]: *** [CMakeFiles/Makefile2:2336:
gnuradio-runtime/lib/CMakeFiles/gnuradio-runtime.dir/all] Error 2
make: *** [Makefile:158: all] Error 2
-------------------------
I am using this command line for cmake in both cases:
cmake -DCMAKE_C_COMPILER=gcc-11 -DCMAKE_BUILD_TYPE=Release
-DPYTHON_EXECUTABLE=/usr/bin/python3 ../
I have last release of GNU Radio 3.9.5 package on my openSUSE Build
Service project at:
https://build.opensuse.org/package/show/home:wkazubski:test:science/gnuradio39
You can see the specfile to build your own package from git snapshot
or install binaries from:
https://build.opensuse.org/package/binaries/home:wkazubski:test:science/
gnuradio39/openSUSE_Leap_15.3

There is a repository hardware:sdr on OBS with more packages related
to GNU Radio (currently 3.8.5 is there).

--
Wojciech Kazubski







reply via email to

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