Hi all,
I have problems building gr-bluetooth on Debian jessie because of
missing file errors, although gnuradio and other packages were locally
compiled in their respective recent versions.
$ git clone https://github.com/greatscottgadgets/gr-bluetooth.git
$ cd gr-bluetooth && mkdir build && cd build
$ cmake ..
[ throws some seemingly harmless warnings, see cmake-output.log ]
$ make
[ full output in make-output-1.log ]
/data/projects/gnuradio/gr-bluetooth/swig/gr_bluetooth.i:5: Error:
Unable to find 'gnuradio.i'
swig/CMakeFiles/gr_bluetooth_swig_2d0df.dir/build.make:97: recipe for
target 'swig/gr_bluetooth_swig_2d0df' failed
make[2]: *** [swig/gr_bluetooth_swig_2d0df] Error 1
...
If I rerun make, I get a different error:
$ make
[ full output in make-output-2.log ]
[ 70%] Building CXX object
swig/CMakeFiles/_gr_bluetooth.dir/gr_bluetoothPYTHON_wrap.cxx.o
c++: error:
/data/projects/gnuradio/gr-bluetooth/build/swig/gr_bluetoothPYTHON_wrap.cxx:
No such file or directory
c++: fatal error: no input files
...
I tried to by myself but could not fix the errors since I'm quite new to
gnuradio and don't understand the cmake build system and dependencies
involved (py/cxx/swig/...).
Also note that gr-bluetooth did not see any commits for 2 years.
Anyone with an idea what the reason could be and how to fix it?
Cheers!
-- The CXX compiler identification is GNU 4.9.2
-- The C compiler identification is GNU 4.9.2
-- 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.55.0
-- Found the following Boost libraries:
-- filesystem
-- system
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
Checking for GNU Radio Module: RUNTIME
-- checking for module 'gnuradio-runtime'
-- found gnuradio-runtime, version 3.7.9.2
* INCLUDES=/usr/local/include
* LIBS=/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
-- Found GNURADIO_RUNTIME: /usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
GNURADIO_RUNTIME_FOUND = TRUE
Checking for GNU Radio Module: BLOCKS
-- checking for module 'gnuradio-blocks'
-- found gnuradio-blocks, version 3.7.9.2
* INCLUDES=/usr/local/include
* LIBS=/usr/local/lib/libgnuradio-blocks.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
-- Found GNURADIO_BLOCKS: /usr/local/lib/libgnuradio-blocks.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
GNURADIO_BLOCKS_FOUND = TRUE
Checking for GNU Radio Module: FILTER
-- checking for module 'gnuradio-filter'
-- found gnuradio-filter, version 3.7.9.2
* INCLUDES=/usr/local/include
* LIBS=/usr/local/lib/libgnuradio-filter.so;/usr/local/lib/libgnuradio-fft.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
-- Found GNURADIO_FILTER: /usr/local/lib/libgnuradio-filter.so;/usr/local/lib/libgnuradio-fft.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
GNURADIO_FILTER_FOUND = TRUE
-- checking for module 'cppunit'
-- found cppunit, version 1.13.2
-- Found CPPUNIT: /usr/lib/x86_64-linux-gnu/libcppunit.so;dl
-- Found LIBBTBB: /usr/local/lib/libbtbb.so
--
-- Checking for module SWIG
-- Found SWIG version 2.0.12.
-- Found SWIG: /usr/bin/swig2.0
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found version "2.7.9")
-- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.9", 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
-- Check size of unsigned long
-- Check size of unsigned long - done
-- Check size of unsigned long long
-- Check size of unsigned long long - done
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version "2.7.9", 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 /usr/local/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-bluetooth".
Use the target name directly with add_custom_command, or use the generator
expression $, as appropriate.
Call Stack (most recent call first):
python/CMakeLists.txt:44 (