Bug #522
"gr_modtool add -l python" fails without first making a c++ block
| Status: | Closed | Start date: | 03/08/2013 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | Martin Braun | % Done: | 0% |
|
| Category: | gr-modtool | |||
| Target version: | release-3.6.5 | |||
| Resolution: | wontfix |
Description
Hi guys,
"gr_modtool add -l python" fails without first making a c++ block.
Summary of errors are below, full output is in the attached log file.
CMake errors:
You have called ADD_LIBRARY for library gnuradio-squish without any source files. This typically indicates a problem with your CMakeLists.txt file
CMake Error: CMake can not determine linker language for target:gnuradio-squish
CMake Error: Cannot determine link language for target "gnuradio-squish".
Make errors:
make2: * No rule to make target `lib/CMakeFiles/gnuradio-squish.dir/build'. Stop.
make1: [lib/CMakeFiles/gnuradio-squish.dir/all] Error 2
make: ** [all] Error 2
Mike
M0MIK
History
Updated by Mike Jameson 3 months ago
GNU Radio git revision:
commit 4389b769891283face9aa397bd4d736f478e97e4
Author: Tom Rondeau <[email protected]>
Date: Fri Mar 8 08:57:46 2013 -0500
Updated by Martin Braun 3 months ago
- Status changed from New to Resolved
- Resolution set to wontfix
Hi Mike,
the oot-modules are designed for C++ and Python. If you don't add any C++, they won't compile unless you edit the CMakeLists.txt (removing the lib subdir might be enough).
modtool is doing exactly what it's been told: add a Python block, nothing else. This doesn't look like a bug to me.
Updated by Ben Reynwar 3 months ago
- Status changed from Resolved to Closed