help-make
[Top][All Lists]
Advanced

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

Make command failing


From: Justin White
Subject: Make command failing
Date: Thu, 31 Mar 2022 12:05:59 -0400

Good Morning Everyone.

I am trying to follow this page https://github.com/tapparelj/gr-lora_sdr
and am running into an odd problem that I just can not seem to get past.

I am currently running the following:
Ubuntu 20.04.4
GNU Radio 3.9

*workcomp*:*~/lora_sdr/gr-lora_sdr/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: filesystem system
-- Using GMP.
-- 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
CMake Warning (dev) at
/usr/lib/x86_64-linux-gnu/cmake/gnuradio/GnuradioConfig.cmake:36 (if):
  if given arguments:

    "ON"

  An argument named "ON" appears in a conditional statement.  Policy CMP0012
  is not set: if() recognizes numbers and boolean constants.  Run "cmake
  --help-policy CMP0012" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.
Call Stack (most recent call first):
  CMakeLists.txt:137 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/Modules/GrTest.cmake:45 (get_target_property):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The LOCATION property should not be read from target "test-lora_sdr".  Use
  the target name directly with add_custom_command, or use the generator
  expression $<TARGET_FILE>, as appropriate.

Call Stack (most recent call first):
  lib/CMakeLists.txt:92 (GR_ADD_TEST)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Using install prefix: /home/workcomp/lora_sdr/
-- Building for version: ...0 / ..
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/workcomp/lora_sdr/gr-lora_sdr/build*workcomp*:*~/lora_sdr/gr-lora_sdr/build*$
make
[  2%] Building CXX object
lib/CMakeFiles/gnuradio-lora_sdr.dir/add_crc_impl.cc.o*/home/workcomp/lora_sdr/gr-lora_sdr/lib/add_crc_impl.cc:*
In static member function ‘*static gr::lora_sdr::add_crc::sptr
gr::lora_sdr::add_crc::make(bool)*’:*/home/workcomp/lora_sdr/gr-lora_sdr/lib/add_crc_impl.cc:15:9:*
*error: *could not convert ‘*gnuradio::get_initial_sptr(T*) [with T =
gr::lora_sdr::add_crc_impl]()*’ from
‘*std::shared_ptr<gr::lora_sdr::add_crc_impl>*’ to
‘*gr::lora_sdr::add_crc::sptr*’ {aka
‘*boost::shared_ptr<gr::lora_sdr::add_crc>*’}
   14 |       return *gnuradio::get_initial_sptr*
      |              *~~~~~~~~~~~~~~~~~~~~~~~~~~*
   15 | *        (new add_crc_impl(has_crc))*;
      |         *^~~~~~~~~~~~~~~~~~~~~~~~~~~*
      |         *|*
      |         *std::shared_ptr<gr::lora_sdr::add_crc_impl>*
make[2]: *** [lib/CMakeFiles/gnuradio-lora_sdr.dir/build.make:63:
lib/CMakeFiles/gnuradio-lora_sdr.dir/add_crc_impl.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:304:
lib/CMakeFiles/gnuradio-lora_sdr.dir/all] Error 2
make: *** [Makefile:141: all] Error 2


I tried to search the archive first, but did not come across this. I
apologize ahead of time if I missed it.

Thank you for any help you may be able to provide.

Best regards,
Justin


reply via email to

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