Editing Guided Tutorial GNU Radio in C++

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 688: Line 688:
 
== Step 5: Install my_qpsk_demod in grc ==
 
== Step 5: Install my_qpsk_demod in grc ==
  
Now that we have finished the implementation of our block, we need to build and install it. To do so, execute the following commands:
+
We have finished the implementation of our block, now it's important use its functionality under GRC. So we build our OOT and install the underlying blocks. To do so, we need to execute the following commands:
  
 +
sequence:
 
<pre>
 
<pre>
cd ~/gr-tutorial
+
xyz@comp:mydir/gr-tutorial$ mkdir build
mkdir build
+
xyz@comp:mydir/gr-tutorial$ cd build
cd build
+
xyz@comp:mydir/gr-tutorial/build$ cmake ..
cmake ../
+
-- Build type not specified: defaulting to release.
make
+
Checking for GNU Radio Module: RUNTIME
sudo make install
+
* INCLUDES=/usr/local/include
sudo ldconfig
+
* LIBS=/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
 +
GNURADIO_RUNTIME_FOUND = TRUE
 +
-- Configuring done
 +
-- Generating done
 +
-- Build files have been written to: pathtomyhomefolder/mydir/gr-qpsk_demod/build
 +
xyz@comp:mydir/gr-demod/build$make
 +
[  7%] Built target gnuradio-tutorial
 +
[ 23%] Built target test-tutorial
 +
[ 23%] Built target tutorial_swig_swig_doc
 +
[ 30%] Built target _tutorial_swig_swig_tag
 +
[ 38%] Swig source
 +
Scanning dependencies of target _tutorial_swig
 +
[ 46%] Building CXX object swig/CMakeFiles/_tutorial_swig.dir/tutorial_swigPYTHON_wrap.cxx.o
 +
Linking CXX shared module _tutorial_swig.so
 +
[ 53%] Built target _tutorial_swig
 +
[ 61%] Generating tutorial_swig.pyc
 +
[ 69%] Generating tutorial_swig.pyo
 +
[ 84%] Built target pygen_swig_2598c
 +
[100%] Built target pygen_python_6ab2e
 +
[100%] Built target pygen_apps_9a6dd
 +
 
 +
xyz@comp:mydir/gr-qpsk_demod/build$ sudo make install
 +
[  7%] Built target gnuradio-tutorial
 +
[ 23%] Built target test-tutorial
 +
[ 23%] Built target tutorial_swig_swig_doc
 +
[ 30%] Built target _tutorial_swig_swig_tag
 +
[ 53%] Built target _tutorial_swig
 +
[ 84%] Built target pygen_swig_2598c
 +
[100%] Built target pygen_python_6ab2e
 +
[100%] Built target pygen_apps_9a6dd
 +
Install the project...
 +
-- Install configuration: "Release"
 +
-- Up-to-date: /usr/local/lib/cmake/tutorial/demodConfig.cmake
 +
-- Up-to-date: /usr/local/include/tutorial/api.h
 +
-- Up-to-date: /usr/local/include/tutorial/my_qpsk_demod_cb.h
 +
-- Up-to-date: /usr/local/lib/libgnuradio-tutorial.so
 +
-- Installing: /usr/local/lib/python2.7/dist-packages/tutorial/_tutorial_swig.so
 +
-- Removed runtime path from "/usr/local/lib/python2.7/dist-packages/tutorial/_tutorial_swig.so"
 +
-- Installing: /usr/local/lib/python2.7/dist-packages/tutorial/tutorial_swig.py
 +
-- Installing: /usr/local/lib/python2.7/dist-packages/tutorial/tutorial_swig.pyc
 +
-- Installing: /usr/local/lib/python2.7/dist-packages/tutorial/tutorial_swig.pyo
 +
-- Up-to-date: /usr/local/include/tutorial/tutorial/swig/tutorial_swig.i
 +
-- Installing: /usr/local/include/tutorial/tutorial/swig/tutorial_swig_doc.i
 +
-- Up-to-date: /usr/local/lib/python2.7/dist-packages/tutorial/__init__.py
 +
-- Up-to-date: /usr/local/lib/python2.7/dist-packages/tutorial/__init__.pyc
 +
-- Up-to-date: /usr/local/lib/python2.7/dist-packages/tutorial/__init__.pyo
 +
-- Up-to-date: /usr/local/share/gnuradio/grc/blocks/tutorial_my_qpsk_cb.xml
 +
 
 +
xyz@comp:mydir/gr-qpsk_demod/build$ sudo ldconfig
 
</pre>
 
</pre>
  

Please note that all contributions to GNU Radio are considered to be released under the Creative Commons Attribution-ShareAlike (see GNU Radio:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)