Bug #522

"gr_modtool add -l python" fails without first making a c++ block

Added by Mike Jameson almost 3 years ago. Updated almost 3 years ago.

Status:ClosedStart date:03/08/2013
Priority:NormalDue date:
Assignee:Martin Braun% Done:


Target version:release-3.6.5


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.
[lib/CMakeFiles/gnuradio-squish.dir/all] Error 2
make: *
* [all] Error 2


20130308_gr-modtool_bug.log (7.32 KB) Mike Jameson, 03/08/2013 05:12 pm


#2 Updated by Martin Braun almost 3 years 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.

#3 Updated by Ben Reynwar almost 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF