Hello,
I tried to build and compile a gr_modtool module, and I got an error.
Someone knows why and what this error stands for? (and how to fix it)
samson@linux-tncw:~/workspace/02_GNU Radio/GOMsGNURadioComponents/scrambler_g3ruh/gr-GOMspace/build> cmake ../ -- The CXX compiler identification is GNU 4.8.3
-- The C compiler identification is GNU 4.8.3
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Build type not specified: defaulting to release.
-- Boost version: 1.54.0
-- Found the following Boost libraries:
-- filesystem
-- system
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- checking for module 'cppunit'
-- found cppunit, version 1.13.2
-- Found CPPUNIT: /usr/lib64/libcppunit.so;dl
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.8")
Checking for GNU Radio Module: RUNTIME
-- checking for module 'gnuradio-runtime'
-- found gnuradio-runtime, version 3.7.5
* INCLUDES=/usr/include
* LIBS=/usr/lib64/libgnuradio-runtime.so;/usr/lib64/libgnuradio-pmt.so
-- Found GNURADIO_RUNTIME: /usr/lib64/libgnuradio-runtime.so;/usr/lib64/libgnuradio-pmt.so
GNURADIO_RUNTIME_FOUND = TRUE
CMake Warning (dev) at /usr/lib64/cmake/gnuradio/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-GOMspace". 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:79 (GR_ADD_TEST)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at /usr/lib64/cmake/gnuradio/GrTest.cmake:48 (string):
string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
command.
Call Stack (most recent call first):
lib/CMakeLists.txt:79 (GR_ADD_TEST)
-- Found SWIG: /usr/bin/swig (found version "3.0.2")
-- Found PythonLibs: /usr/lib64/libpython2.7.so (found suitable version "2.7.8", minimum required is "2")
-- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.8", minimum required is "2")
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of size_t
-- Check size of size_t - done
-- Check size of unsigned int
-- Check size of unsigned int - done
-- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE
-- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE - Success
CMake Warning (dev) at /usr/lib64/cmake/gnuradio/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 "gnuradio-GOMspace".
Use the target name directly with add_custom_command, or use the generator
expression $<TARGET_FILE>, as appropriate.
Call Stack (most recent call first):
python/CMakeLists.txt:44 (GR_ADD_TEST)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at /usr/lib64/cmake/gnuradio/GrTest.cmake:48 (string):
string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
command.
Call Stack (most recent call first):
python/CMakeLists.txt:44 (GR_ADD_TEST)
CMake Warning (dev) at /usr/lib64/cmake/gnuradio/GrTest.cmake:45 (get_target_property):
Policy CMP0045 is not set: Error on non-existent target in
get_target_property. Run "cmake --help-policy CMP0045" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
get_target_property() called with non-existent target "/usr/bin/python2".
Call Stack (most recent call first):
python/CMakeLists.txt:44 (GR_ADD_TEST)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/lib64/cmake/gnuradio/GrTest.cmake:45 (get_target_property):
Policy CMP0045 is not set: Error on non-existent target in
get_target_property. Run "cmake --help-policy CMP0045" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
get_target_property() called with non-existent target
"/home/samson/workspace/02_GNU
Radio/GOMsGNURadioComponents/scrambler_g3ruh/gr-GOMspace/python/qa_scrambler_g3ruh.py".
Call Stack (most recent call first):
python/CMakeLists.txt:44 (GR_ADD_TEST)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
See also "/home/samson/workspace/02_GNU Radio/GOMsGNURadioComponents/scrambler_g3ruh/gr-GOMspace/build/CMakeFiles/CMakeOutput.log".