Hello all, Thanks for the recomendation,
i did (in the top-level OOT directory): $ mkdir build $ cd build $ cmake .. -DCMAKE_INSTALL_PREFIX=/home/felipe/prefix/lib/python2.7/dist-packages/ And the following output comes out: CMake Error: The source directory "/home/felipe/WLAN/gr-mer/build/..-DCMAKE_INSTALL_PREFIX=/home/felipe/prefix/lib/python2.7/dist-packages" does not exist. Specify --help for usage, or press the help button on the CMake GUI. make: *** No target specified and no makefile found. Stop. ----This is my trasalation so you can understand it make: *** there is no rule for building object 'install'. Stop. ----This is my trasalation so you can understand it And i also erased the build file, and did exactly in the top-level OOT directory: $ mkdir build $ cd build $ cmake -DCMAKE_INSTALL_PREFIX=/home/felipe/prefix/lib/python2.7/dist-packages/ .. And the following output came out: -- 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") CMake Error at CMakeLists.txt:114 (find_package): By not providing "FindGnuradio.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Gnuradio", but CMake did not find one. Could not find a package configuration file provided by "Gnuradio" (requested version 3.7.2) with any of the following names: GnuradioConfig.cmake gnuradio-config.cmake Add the installation prefix of "Gnuradio" to CMAKE_PREFIX_PATH or set "Gnuradio_DIR" to a directory containing one of the above files. If "Gnuradio" provides a separate development package or SDK, be sure it has been installed. I appreciate your help regarding this. Once again, thanks for the help. Kind regards. On Tue, Jun 12, 2018 at 5:38 PM, Andi Kita <ak...@qmail.qcc.edu> wrote: > > > gr-mer# mkdir build > cd build > cmake .. To build in this folder > cmake .. -DCMAKE_INSTALL_PREFIX=/folder/to/where/you/wanted/installed/ > Make > Make install > Ldconfig > > On Jun 12, 2018 11:07 AM, "Luis Felipe Albarracin Sanchez" < > lfasanc...@gmail.com> 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: > > https://wiki.gnuradio.org/index.php/OutOfTreeModules > > 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: > > > > felipe@felipe-desktop:~/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-mer* > > > The 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 > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > > -- Eng. Luis Felipe Albarracin PMP CCNA/CCDA/CCNP/CCDP/CCIP ITIL v3 Foundation Msc. Telematics / MBA "Die Grenzen meiner Sprache bedeuten die Grenzen meiner Welt"
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio