Friday, April 5, 2019

Re: [Discuss-gnuradio] Error compiling gnuradio v3.7.9

If v3.7.9 is installed on my USRP E310, could I have trouble using v3.7.9.2 on my PC in "network mode"?
Otherwise, I would have to build an older version of cmake (perhaps with static libraries, not needing to install it) to configure v3.7.9.
Thank you.
Ivan

Il 05.04.2019 04:42 Ron Economos ha scritto:

I get the same error here. As it turns out, any version of GNU Radio before 3.7.9.2 cannot be built with a newer CMake. If you really need to build 3.7.9, you have to use an older version of CMake.

I've tested CMake 2.8.12.2 (the version used in Ubuntu 14.04), and that works.

Ron

On 4/4/19 17:24, Michael Dickens wrote:
Hmmm ... so the cmake debug output log shows:
{{{
/usr/bin/python2: can't open file '/home/user/workarea-gnuradio/gnuradio-3.7.9/gen/volk_compile_utils.py': [Errno 2] No such file or directory
}}}
Is this really true, that that file doesn't exist? Or maybe it needs to be "chmod a+x"?
On Thu, Apr 4, 2019, at 11:22 AM, krono86@tiscali.it wrote:
I tried to solve the issues as in:
  1. I added SET(CMAKE_C_FLAGS "$(CMAKE_C_FLAGS) -lpthread") and SET(CMAKE_CXX_FLAGS "$(CMAKE_CXX_FLAGS) -lpthread") in CMakeLists.txt.
  2. I modified CMakeLists.txt of volk using "sed -i 's/(intrin.h/(x86intrin.h/g' ../volk/lib/CMakeLists.txt".
  3. I modified CMakeLists.txt of volk using "sed -i 's/.\+Werror=unused\-command-line\-argument.\+//g' ../volk/lib/CMakeLists.txt".
Now the output of cmake is:
and the content of CMakeError.log is:
Thank you.
Ivan

Il 04.04.2019 17:04 krono86@tiscali.it ha scritto:

Hi Michael,
I'm sorry! Sure, next time I will.
I'm building on Debian 9.8, and cmake is 3.7.2.
Thank you for reply.
Ivan
--

by krono86 ...e vada come vuole, un uomo non puo che morire una sola volta http://www.krono86.netsons.org

No comments:

Post a Comment