Bug #522

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

Added by Mike Jameson about 1 year ago. Updated about 1 year ago.

Status:ClosedStart date:03/08/2013
Priority:NormalDue 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

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

History

#2 Updated by Martin Braun about 1 year 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 about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF