discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] How to Share Modules with Coworkers


From: Dylan Overstreet
Subject: Re: [Discuss-gnuradio] How to Share Modules with Coworkers
Date: Mon, 26 Aug 2019 13:57:52 +0000 (UTC)

Barry,

Thank you for responding to me. This does not solve my issue unfortunately. I know how to share code for viewing/editing using Git, but this does not install the module in GNU Radio Companion so that we can both use the module separately on our machines.

If anyone can explain how to install GNU Radio Companion modules from a coworker/the internet then that would be great!

On Saturday, August 24, 2019, 6:49:57 PM MDT, Barry Duggan <address@hidden> wrote:


Hi Dylan,

I am a newbie to Gnuradio and GitHub, but since no one else has responded to your question yet, I offer the following suggestions:

The 'normal' approach for group development of a project (such as Gnuradio itself!) is to create a project on GitHub and then clone it to your local computer. Each developer then can push their changes back to the GitHub repository for merging / inclusion.
It sounds like your co-worker has the source code, so he/she should create the GitHub repository. Then you can clone it into your computer. That way, both of you have source code tracking of all changes you make. That’s much better than copying and pasting.

per Derek Kozel:
"Here's a git course that I really recommend. It says it takes 10 hours,
but I find most people go through much faster and most of the basics are
covered in the first 30 minutes or so. It does require registration but
is free.
https://www.codecademy.com/learn/learn-git"
The course is only free for about a week, but that is long enough for you to complete it. GitHub also has lots of turorials and guides (free).

Gnuradio has lots of tutorials. One that paricularly applies to you is https://wiki.gnuradio.org/index.php/OutOfTreeModules

I have only been working with Gnuradio for three months, but have learned LOTS by reading, experimenting, and asking lots of questions :)

If you don't want to put all your questions on this discussion group, feel free to write to me directly.

Best wishes,
Barry Duggan KV4FV

P.S. If you ‘reply all’, your response gets posted on Discuss-gnuradio as well as to me. If you just ‘reply’, it comes only to me.


On Fri, 23 Aug 2019 22:54:01 +0000 (UTC), Dylan Overstreet wrote:

All,

My coworker has created a module (gr-Example) and I would like to import this module directly. How is this done?

I have a fresh install of GNU Radio Companion that I did via PyBombs on the RFNoC Getting Started page that packages RFNoC, GNU Radio, and UHD all in one download on my Ubuntu 16.04.5 system.

My attempt today involved gr_modtool newmod gr-Example, then copying and pasting my coworker's module into the created folder. I then navigated to the "build" folder and ran "cmake ../" followed by "sudo make install". This failed due to C++11 issues, which I fixed by modifying a CMake file. Then I failed in linking. I could not find -lgnuradio-runtime and -lgnuradio-pmt libraries.

Why can I not find these libraries? I tried removing these libraries from the files that use them and it will successfuly install. Then in GNU Radio Companion I can use the block. When I hit run I get an "Attribute Error: No object blockname found in Example" or something along those lines. I'm assuming this is due to me removing the libraries during linking? Any help would be great. Thank you for your time.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]