Hi Yan,
if you are developing an out-of-tree module, this software is intended to be used within the GNU Radio runtime, not as standalone. Code::Blocks is expecting to get an executable after the build process, which is not the case for OOTs, so maybe that’s because it is pretending the project has not been built. What you probably want to do is building it and installing it (cmake .. && make -j4 && sudo make install). Then you can access the implemented blocks from gnuradio-companion or write own python flowgraphs by importing your module there.
Hope that helps Regards Sebastian
Am 27. Mai 2016 um 15:52:58, Yan Huang (address@hidden) schrieb:
Hi all,
I want to use Code::Blocks to editing my GNU Radio modules
following this link:
http://gnuradio.org/redmine/projects/gnuradio/wiki/UsingCB
I have generated a Code::Blocks project with CMake, but after I
build the project, when run it, there is a pop up information:
It seems that this project has not been built yet.Do you want to
build it now?
I can run hello_world in my Code::Blocks, So maybe its
not the problem about CB. I want to know is:
- what's the problem about this?
- How can I add input_items in the project in
CB? Can I add a input vector from the main function in
swig_doc_tag.cpp or swig_swig_tag.cpp?
I try this just want to now how to debug my module when I cannot
get the right result. Thanks in advance for any reply.
Kind regards,
Yan
This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please send it back to me, and immediately delete it.
Please do not use, copy or disclose the information contained in this
message or in any attachment. Any views or opinions expressed by the
author of this email do not necessarily reflect the views of the
University of Nottingham.
This message has been checked for viruses but the contents of an
attachment may still contain software viruses which could damage your
computer system, you are advised to perform your own checks. Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation.
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
|