[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] problem building gr-howto-write-a-block-cmake
From: |
Achilleas Anastasopoulos |
Subject: |
[Discuss-gnuradio] problem building gr-howto-write-a-block-cmake |
Date: |
Thu, 16 Feb 2012 11:49:10 -0500 |
OK, I am having a problem building the howto module with CMake.
Here is the output of all the steps:
address@hidden build]$ cmake ../
-- The CXX compiler identification is GNU
-- Check for working CXX compiler: /usr/lib64/ccache/c++
-- Check for working CXX compiler: /usr/lib64/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Build type not specified: defaulting to release.
-- Boost version: 1.46.0
-- checking for module 'gruel'
-- found gruel, version 3.5.2git
-- Found GRUEL: /usr/local/lib64/libgruel.so
-- checking for module 'gnuradio-core'
-- found gnuradio-core, version 3.5.2git
-- Found GNURADIO_CORE: /usr/local/lib64/libgnuradio-core.so
-- Boost version: 1.46.0
-- Found the following Boost libraries:
-- unit_test_framework
-- Found SWIG: /usr/bin/swig (found version "2.0.4")
-- Could NOT find PythonLibs (missing: PYTHON_LIBRARIES)
-- Found PythonInterp: /usr/bin/python2.7
-- Found Doxygen: /usr/bin/doxygen
-- Configuring done
-- Generating done
-- Build files have been written to:
/n/harrisville/x/anastas/gnuradio_trunk/gr-howto-write-a-block-cmake/build
Then
address@hidden build]$ make
[ 12%] Building CXX object
lib/CMakeFiles/gnuradio-howto.dir/howto_square_ff.cc.o
[ 25%] Building CXX object
lib/CMakeFiles/gnuradio-howto.dir/howto_square2_ff.cc.o
[ 37%] Building CXX object
lib/CMakeFiles/gnuradio-howto.dir/howto_demod_filterbank_ccvc.cc.o
Linking CXX shared library libgnuradio-howto.so
[ 37%] Built target gnuradio-howto
[ 50%] Building CXX object
lib/CMakeFiles/qa_howto_square2_ff.dir/qa_howto_square2_ff.cc.o
Linking CXX executable qa_howto_square2_ff
[ 50%] Built target qa_howto_square2_ff
[ 62%] Building CXX object
lib/CMakeFiles/qa_howto_square_ff.dir/qa_howto_square_ff.cc.o
Linking CXX executable qa_howto_square_ff
[ 62%] Built target qa_howto_square_ff
[ 62%] Generating __init__.pyc
[ 62%] Generating __init__.pyo
[ 87%] Built target pygen_python_6b399
[ 87%] Shebangin howto_square.py
[100%] Built target pygen_apps_19307
Then
address@hidden build]$ sudo make install
Built target gnuradio-howto
Built target qa_howto_square2_ff
Built target qa_howto_square_ff
Built target pygen_python_6b399
Built target pygen_apps_19307
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/include/howto/howto_api.h
-- Installing: /usr/local/include/howto/howto_square_ff.h
-- Installing: /usr/local/include/howto/howto_square2_ff.h
-- Installing: /usr/local/lib64/libgnuradio-howto.so
-- Removed runtime path from "/usr/local/lib64/libgnuradio-howto.so"
-- Installing: /usr/local/lib64/python2.7/site-packages/howto/__init__.py
-- Installing: /usr/local/lib64/python2.7/site-packages/howto/__init__.pyc
-- Installing: /usr/local/lib64/python2.7/site-packages/howto/__init__.pyo
-- Installing: /usr/local/share/gnuradio/grc/blocks/howto_square_ff.xml
-- Installing: /usr/local/share/gnuradio/grc/blocks/howto_square2_ff.xml
-- Installing: /usr/local/bin/howto_square.py
Now in python I try:
address@hidden build]$ python
Python 2.7.1 (r271:86832, Apr 12 2011, 16:15:16)
[GCC 4.6.0 20110331 (Red Hat 4.6.0-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import howto
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib64/python2.7/site-packages/howto/__init__.py",
line 45, in <module>
from howto_swig import *
ImportError: No module named howto_swig
The module howto_swig is missing....
Any thoughts?
thanks
Achilleas
- [Discuss-gnuradio] problem building gr-howto-write-a-block-cmake,
Achilleas Anastasopoulos <=
- Re: [Discuss-gnuradio] problem building gr-howto-write-a-block-cmake, Achilleas Anastasopoulos, 2012/02/16
- Re: [Discuss-gnuradio] problem building gr-howto-write-a-block-cmake, Tom Rondeau, 2012/02/16
- Re: [Discuss-gnuradio] problem building gr-howto-write-a-block-cmake, Achilleas Anastasopoulos, 2012/02/16
- Re: [Discuss-gnuradio] problem building gr-howto-write-a-block-cmake, Achilleas Anastasopoulos, 2012/02/16
- Re: [Discuss-gnuradio] problem building gr-howto-write-a-block-cmake, Achilleas Anastasopoulos, 2012/02/16
- Re: [Discuss-gnuradio] problem building gr-howto-write-a-block-cmake, Tom Rondeau, 2012/02/18
- Re: [Discuss-gnuradio] problem building gr-howto-write-a-block-cmake, Achilleas Anastasopoulos, 2012/02/18
- Re: [Discuss-gnuradio] problem building gr-howto-write-a-block-cmake, Josh Blum, 2012/02/18
- Re: [Discuss-gnuradio] problem building gr-howto-write-a-block-cmake, Josh Blum, 2012/02/18
Re: [Discuss-gnuradio] problem building gr-howto-write-a-block-cmake, Martin Braun, 2012/02/16