|
From: | Luis Felipe Albarracin Sanchez |
Subject: | Re: [Discuss-gnuradio] Build Tree Vs. Install Tree OOT - Issue |
Date: | Tue, 12 Jun 2018 17:54:24 +0200 |
gr-mer# mkdir buildcd buildcmake .. To build in this foldercmake .. -DCMAKE_INSTALL_PREFIX=/folder/to/where/you/wanted/ installed/ MakeMake installLdconfigOn Jun 12, 2018 11:07 AM, "Luis Felipe Albarracin Sanchez" <address@hidden> wrote:______________________________Hello all,I have installed GNURAdio through Pybombs in Ubuntu 16.04,I am trying to build some OOT modules, and so i run the line:$cmake -DCMAKE_INSTALL_PREFIX=/home/felipe/prefix/lib/python2.7/ dist-packages/ as it is shown in:I must point out that i did it in the folder of the OOT, for this example (gr-mer).Once i have done this, the following output is shown in the terminal:address@hidden:~/WLAN/gr-mer$ cmake -DCMAKE_INSTALL_PREFIX=/home/ felipe/prefix/lib/python2.7/ dist-packages/
-- The CXX compiler identification is GNU 5.4.0
-- The C compiler identification is GNU 5.4.0
-- 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
-- Detecting CXX compile features
-- Detecting CXX compile features - 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
-- Detecting C compile features
-- Detecting C compile features - done
-- Build type not specified: defaulting to release.
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- filesystem
-- system
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'cppunit'
-- Found cppunit, version 1.13.2
-- Found CPPUNIT: /usr/lib/x86_64-linux-gnu/libcppunit.so;dl
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.11")
Checking for GNU Radio Module: RUNTIME
-- Checking for module 'gnuradio-runtime'
-- Found gnuradio-runtime, version 3.7.12.0
* INCLUDES=/home/felipe/prefix/include
* LIBS=/home/felipe/prefix/lib/libgnuradio-runtime.so;/home/ felipe/prefix/lib/libgnuradio- pmt.so;/usr/lib/liblog4cpp.so
-- Found GNURADIO_RUNTIME: /home/felipe/prefix/lib/libgnuradio-runtime.so;/home/ felipe/prefix/lib/libgnuradio- pmt.so;/usr/lib/liblog4cpp.so
GNURADIO_RUNTIME_FOUND = TRUE
CMake Warning (dev) at /home/felipe/prefix/lib/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-mer". 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.
--
-- Checking for module SWIG
-- Found SWIG version 3.0.8.
-- Found SWIG: /usr/bin/swig3.0
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version "2.7.12", minimum required is "2")
-- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.12", minimum required is "2")
-- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE
-- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE - Success
CMake Warning (dev) at /home/felipe/prefix/lib/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-mer". 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 Warning (dev) at /home/felipe/prefix/lib/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 /home/felipe/prefix/lib/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/felipe/WLAN/gr-mer/python/qa_probe_mer_c.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.
CMake Warning (dev) at /home/felipe/prefix/lib/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-mer". 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:45 (GR_ADD_TEST)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /home/felipe/prefix/lib/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:45 (GR_ADD_TEST)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /home/felipe/prefix/lib/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/felipe/WLAN/gr-mer/python/qa_probe_ste_cf.py".
Call Stack (most recent call first):
python/CMakeLists.txt:45 (GR_ADD_TEST)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /home/felipe/prefix/lib/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-mer". 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:46 (GR_ADD_TEST)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /home/felipe/prefix/lib/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:46 (GR_ADD_TEST)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /home/felipe/prefix/lib/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/felipe/WLAN/gr-mer/python/qa_probe_cs_cf.py".
Call Stack (most recent call first):
python/CMakeLists.txt:46 (GR_ADD_TEST)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /home/felipe/prefix/lib/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-mer". 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:47 (GR_ADD_TEST)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /home/felipe/prefix/lib/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:47 (GR_ADD_TEST)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /home/felipe/prefix/lib/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/felipe/WLAN/gr-mer/python/qa_probe_ai_cf.py".
Call Stack (most recent call first):
python/CMakeLists.txt:47 (GR_ADD_TEST)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /home/felipe/prefix/lib/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-mer". 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:48 (GR_ADD_TEST)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /home/felipe/prefix/lib/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:48 (GR_ADD_TEST)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /home/felipe/prefix/lib/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/felipe/WLAN/gr-mer/python/qa_probe_qe_cf.py".
Call Stack (most recent call first):
python/CMakeLists.txt:48 (GR_ADD_TEST)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /home/felipe/prefix/lib/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-mer". 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:49 (GR_ADD_TEST)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /home/felipe/prefix/lib/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:49 (GR_ADD_TEST)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /home/felipe/prefix/lib/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/felipe/WLAN/gr-mer/python/qa_probe_pj_cf.py".
Call Stack (most recent call first):
python/CMakeLists.txt:49 (GR_ADD_TEST)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /home/felipe/prefix/lib/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-mer". 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:50 (GR_ADD_TEST)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /home/felipe/prefix/lib/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:50 (GR_ADD_TEST)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /home/felipe/prefix/lib/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/felipe/WLAN/gr-mer/python/qa_probe_all_ meassurements_cf.py".
Call Stack (most recent call first):
python/CMakeLists.txt:50 (GR_ADD_TEST)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/felipe/WLAN/gr-merThe issue i haver, is that the buld files are bieng created outside the build folder. I have tried to run the command:$cmake -DCMAKE_INSTALL_PREFIX=/home/felipe/prefix/lib/python2.7/ dist-packages/ Insde the build folder, gut it does not work, it shows a message:CMake Error: The source directory "/home/felipe/WLAN/gr-mer/build" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.Can someone please help me, how should i place de -DCMAKE INSTALL PREFIX right?, i am asking this, because i can keep on building (do the "make") outside the build folder, but it does not work, once i open GNUradio the OOT Boxes for the Flowgraph are not recognized.I appreciate your help.Kind regards._________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Prev in Thread] | Current Thread | [Next in Thread] |