Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expanding Include header files for OOT GNU Radio Block #6

Open
2 of 3 tasks
AshitakaLax opened this issue Feb 28, 2017 · 2 comments
Open
2 of 3 tasks

Expanding Include header files for OOT GNU Radio Block #6

AshitakaLax opened this issue Feb 28, 2017 · 2 comments

Comments

@AshitakaLax
Copy link

Hi I've been looking into the GNU radio block support. specifically with the gr-pothos.
Specifically the Utility Assumptions https://github.com/pothosware/gr-pothos/wiki#utility-assumptions

  • There is a library called libgnuradio-foo.so
  • Headers are installed to include/gnuradio/foo/*.h
  • GRC files are installed to share/gnuradio/grc/blocks/foo_*.xml

When I install a new OOT module for gnu radio, via pybombs or manually, it is placed in appropriate prefix directory. Whether /usr/local/, ~/prefix/, or whatever. Some of the OOT Headers are installed in different Directories.

e.g. gr-ccsds(https://github.com/lofaldli/gr-ccsds)
It has the following

  • There is a library called libgnuradio-ccsds.so
  • Headers are installed to include/ccsds/*.h (Doesn't match up with Assumptions)
  • GRC files are installed to share/gnuradio/grc/blocks/ccsds_ccsds*.xml

I'm not sure if there is a way to specify the header_path manually from the cmake build.
Or to scan additional include paths.

Thanks

@guruofquality
Copy link
Contributor

Thanks for the info, ccsds sounds like a good target use case. I was thinking of expanding the CMakeLists (and GrPothosUtil.py) to take a list of additional projects like -DADDITIONAL_PROJECTS="ccsds;others;somemore" The cmake code will search both the gnuradio install prefix and the current CMAKE_INSTALL_PREFIX and include/${name}/*.h and include/gnuradio/${name}/*.h formats. As long as the additional projects are explicit, we dont have to search the entire include/* directories :-)

@AshitakaLax
Copy link
Author

That sounds great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants