Thank you. That works!
Yes, I was trying to compile a custom OOT module.
Vipin
> On May 20, 2018, at 12:12 PM, Michael Dickens
> wrote:
>
> SET(CMAKE_CXX_STANDARD 11)
___
Discuss-gnuradio mailing list
Is there error in your GR OOT module, or when you're building GR itself?
If the former, then you'll want to include the following in the top-
level CMakeLists.txt somewhere near the top:{{{
SET(CMAKE_CXX_STANDARD 11)
}}}
If the latter, then contact me off-list & I'll help you get gr-dev
I tried installing gnuradio-devel. The following error still shows up. I also
tried uninstalling the “gnuradio” and left “gnuradio-devel” installed. That
doesn’t make any difference either.
Anything else I can try until your fix is available in the release?
Error:
If I understood correctly, Vipin in trying to compile his own OOT.
In that case, you can just switch to C++11 independently of GNU Radio AFAIK.
You can do that by putting `set(CMAKE_CXX_STANDARD 11)` into your root
CMakeLists.txt.
Sebastian Müller
gse...@gmail.com
PGP ID DC2AA3EE
Hi Vipin - Easiest way is to just install gnuradio-devel:
{{{
sudo port -f deactivate gnuradio
sudo port install gnuradio-devel
}}}
Assuming that the 2nd command works, then in your OOT when you "make"
for the first time since this GR change CMake will redo configuration &
you should be good to
Thank you. I was just trying to build a custom block in GnuRadio. GnuRadio
itself is what I got from MacPorts.
I will wait for your fix. If the work involved more than a few days is there an
alternative I can try out to bypass the issue for now?
Vipin
> On May 16, 2018, at 6:07 AM, Michael
Yes what you found is the case: any project when using CppUnit 1.14
requires C++11. Are you trying to build the "gnuradio" port? If so,
instead try the "gnuradio-devel", as it contains fixes for this issue
&& I don't recall if the release does yet. I'll look into it on my
end. - MLDOn Wed, May 16,
Although I was able to install cppunit it looks like the build doesn’t go
through. Google says likely cppunit 1.14 requires c++11 but gnu radio isn’t
configured for it? How do I ge the right version of cppunit?
This happens when I do make under ‘build’ directory of the OOT module I am
working
Hi Vipin - I'll second what Sebastian writes ... because ... I moved
CppUnit from a forced requirement to just a testing requirement a bit
ago. Which means it is not installed by default unless testing is
enabled ... which is not the case by default. So you currently have to
install it separately.
Hello Vipin,
can you make sure you have installed cppunit?
CMake is looking for cppunit/TestCase.h, which in my case can be found in
/opt/local/include/cppunit/TestCase.h
Since CMake is also looking in ${CMAKE_INSTALL_PREFIX}/include, it actually
should have no problem finding it there, if you’re
Hi,
My old insulation of MacPorts and GnuRadio was working until I upgraded my
OS to High Sierra. MacPorts started complaining that I likely need to
migrate the installation to a new OS.
Instead I proceeded to download a new copy of MacPorts for High Sierra
itself. The installation went fine for
11 matches
Mail list logo