balint256 / gr-baz

Collection of new blocks for GNU Radio
http://wiki.spench.net/wiki/gr-baz
GNU General Public License v3.0
191 stars 78 forks source link

cmake errors #64

Open pubdc opened 4 years ago

pubdc commented 4 years ago

I encountered some error w cmake as it complained about the cmakelist.txt reference to the next cmakelist.txt. I just renamed the CMakeLists-3.8.txt to CMakeLists.txt to workaround that one. Then the next popped up when that 3.8 txt file expects GNU radio v3.9 (line 78 "find_package(Gnuradio "3.9" REQUIRED)"). I just altered that to 3.8. Rest seems to work fine. Mine is a Kubuntu 18.04 LTS system. All the best, Peter

CastilloDelacroix commented 3 years ago

Hi, I have similars problem's but I can't resolve as you. can you help me please? I attach de Cmake error's files.

The error is:

lucas@lucas:~/Bloques/gr-baz/build$ cmake .. -- Build type not specified: defaulting to release. -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.35") found components: system thread -- Found LOG4CPP: /usr/lib/x86_64-linux-gnu/liblog4cpp.so -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") -- Checking for module 'gmp' -- Found gmp, version 6.2.0 -- Found GMP: /usr/lib/x86_64-linux-gnu/libgmpxx.so
-- Checking for module 'mpir >= 3.0' -- No package 'mpir' found -- Could NOT find MPIR (missing: MPIRXX_LIBRARY MPIR_LIBRARY MPIR_INCLUDE_DIR) -- Found MPLIB: /usr/lib/x86_64-linux-gnu/libgmpxx.so
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.71.0") found components: date_time program_options filesystem system regex thread unit_test_framework -- Found VOLK: Volk::volk
-- User set python executable /usr/bin/python3 -- Found PythonInterp: /usr/bin/python3 (found version "3.8.5") -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so (found suitable exact version "3.8.5") CMake Error at CMakeLists.txt:138 (message): GnuRadio Core required to compile baz

-- Configuring incomplete, errors occurred! See also "/home/lucas/Bloques/gr-baz/build/CMakeFiles/CMakeOutput.log". See also "/home/lucas/Bloques/gr-baz/build/CMakeFiles/CMakeError.log".

This "GnuRadio Core required to compile baz" is extremly rare. GnuRadios it's install correctly.

CMakeError.log CMakeOutput.log

CastilloDelacroix commented 3 years ago

I have installed GnuRadio companion - 3.8.1.0 in Ubuntu 20.04.1 LTS focal with core 5.4.0-52-generic

waqarulhaq129 commented 3 years ago

In Cmake file there is commented line find(gnuradiolive) , uncommenting that worked for me but during make it gives error , no such module doxyxml