Re: [Discuss-gnuradio] Gnu radio and IDEs

2017-10-16 Thread Michael Piscopo
Yes, you can use the Eclipse debugger if you incorporate some test apps
into your project (you can always pull them out to release/publish).

The way I got it all pulled together is that I add new test executables
(just C++ mains) to the project and manually added them to the cmake files
in the /lib directory.  Then I set the debugger to run whichever
test executable I wanted.  Inside there I could instantiate my new classes
and call whatever functions I want (such as work() or a modified work()
just for testing purposes).  For test data I would either use a real signal
saved with a file sink in GNURadio and just read it in, or create a
function in my test program to generate it.  Then I could step through my
modules with the debugger.  I'm personally a big fan of debuggers.  Trying
to debug with print statements to me is too painful/slow from a development
process perspective.


On Sat, Oct 14, 2017 at 8:32 AM, Walter Grossman 
wrote:

> Were you able to use the debugger?  If so, how?
>
> On Fri, Oct 13, 2017 at 5:14 PM, Michael Piscopo 
> wrote:
>
>> I've had great success with Eclipse.  I use it for all my OOT modules.
>>
>> On Fri, Oct 13, 2017 at 5:03 PM, Walter Grossman 
>> wrote:
>>
>>> Does anyone have experience e using an idea integrated with gnu radio
>>> for making c, c++ modules? Any recommendations? Eclipse? NetBeans? Don't do
>>> it?
>>>
>>> ___
>>> Discuss-gnuradio mailing list
>>> Discuss-gnuradio@gnu.org
>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>>
>>>
>>
>
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Gnu radio and IDEs

2017-10-13 Thread U L
I would recommend any IDE supported by cmake, as it is nice to have cmake
build the appropriate project files for the IDE.  I've personally used
codeblocks which I find acceptable.  I guess if the IDE has a sufficient
project import feature this might not be as important. On my system

$ cmake --help
...
Generators

The following generators are available on this platform:
  Unix Makefiles   = Generates standard UNIX makefiles.
  Ninja= Generates build.ninja files.
  Watcom WMake = Generates Watcom WMake makefiles.
  CodeBlocks - Ninja   = Generates CodeBlocks project files.
  CodeBlocks - Unix Makefiles  = Generates CodeBlocks project files.
  CodeLite - Ninja = Generates CodeLite project files.
  CodeLite - Unix Makefiles= Generates CodeLite project files.
  Sublime Text 2 - Ninja   = Generates Sublime Text 2 project files.
  Sublime Text 2 - Unix Makefiles
   = Generates Sublime Text 2 project files.
  Kate - Ninja = Generates Kate project files.
  Kate - Unix Makefiles= Generates Kate project files.
  Eclipse CDT4 - Ninja = Generates Eclipse CDT 4.0 project files.
  Eclipse CDT4 - Unix Makefiles= Generates Eclipse CDT 4.0 project files.
  KDevelop3= Generates KDevelop 3 project files.
  KDevelop3 - Unix Makefiles   = Generates KDevelop 3 project files.



On Fri, Oct 13, 2017 at 4:55 PM, Martin Braun 
wrote:

> On 10/13/2017 02:27 PM, Andrej Rode wrote:
> > Hi,
> >
> >>> Does anyone have experience e using an idea integrated with gnu radio
> for
> >>> making c, c++ modules? Any recommendations? Eclipse? NetBeans? Don't
> do it?
> >
> > you can basically use any IDE which support C/C++ if you are into
> > hacking blocks together in C/C++. If you are using existing
> > blocks/create Python blocks you could get along with an IDE only
> > supporting Python.
> >
> > You can even work on GNU Radio just using an Editor. It really depends
> > on your personal preference.
>
> We've had some vague ideas about integrating gr_modtool into some IDE,
> but not much has come of it. That said, gr_modtool is pretty easy to use
> from the command line alongside the IDE of your choice.
>
> -- M
>
>
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Gnu radio and IDEs

2017-10-13 Thread Martin Braun
On 10/13/2017 02:27 PM, Andrej Rode wrote:
> Hi, 
> 
>>> Does anyone have experience e using an idea integrated with gnu radio for
>>> making c, c++ modules? Any recommendations? Eclipse? NetBeans? Don't do it?
> 
> you can basically use any IDE which support C/C++ if you are into
> hacking blocks together in C/C++. If you are using existing
> blocks/create Python blocks you could get along with an IDE only
> supporting Python. 
> 
> You can even work on GNU Radio just using an Editor. It really depends
> on your personal preference.

We've had some vague ideas about integrating gr_modtool into some IDE,
but not much has come of it. That said, gr_modtool is pretty easy to use
from the command line alongside the IDE of your choice.

-- M



signature.asc
Description: OpenPGP digital signature
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Gnu radio and IDEs

2017-10-13 Thread Andrej Rode
Hi, 

> > Does anyone have experience e using an idea integrated with gnu radio for
> > making c, c++ modules? Any recommendations? Eclipse? NetBeans? Don't do it?

you can basically use any IDE which support C/C++ if you are into
hacking blocks together in C/C++. If you are using existing
blocks/create Python blocks you could get along with an IDE only
supporting Python. 

You can even work on GNU Radio just using an Editor. It really depends
on your personal preference.

Cheers
Andrej

 
-- 
Andrej Rode
GPG Key: 750B CBBB 4A75 811A 4D5F 03ED 5C23 7FB8 9A7D A2AA


signature.asc
Description: Digital signature
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Gnu radio and IDEs

2017-10-13 Thread Michael Piscopo
I've had great success with Eclipse.  I use it for all my OOT modules.

On Fri, Oct 13, 2017 at 5:03 PM, Walter Grossman 
wrote:

> Does anyone have experience e using an idea integrated with gnu radio for
> making c, c++ modules? Any recommendations? Eclipse? NetBeans? Don't do it?
>
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Gnu radio and IDEs

2017-10-13 Thread Walter Grossman
Does anyone have experience e using an idea integrated with gnu radio for
making c, c++ modules? Any recommendations? Eclipse? NetBeans? Don't do it?
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio