Hi Michael, Thanks for the quick reply.
So to be clear, I am trying to include external files & compiling them directly inside the GR OOT. Here is the repo of the project: https://github.com/sunytux/gr-djilink Thanks you for the help, Sami 2018-03-30 14:17 GMT+02:00 Michael Dickens <[email protected]>: > Hi Sami - Just to be clear: Are you linking to an external library, or are > you including the external files & compiling then directly into your GR > OOT? There are plenty of good examples on CGRAN of OOTs that do the former > -- and probably the latter, which is generally mostly just setting the > correct sources for compiling & letting CMake do its magic. Since we don't > know the name of your OOT, the error you note doesn't have a lot of > meaning. If your OOT is in a public repo somewhere where we could review > what you did that would be the most efficient path forward. Cheers! - ML:D > > On Fri, Mar 30, 2018, at 8:08 AM, Sami Mezhoud wrote: > > I am trying to develop a custom Out Of Tree module that uses an external > cpp SDK. I managed > to include the SDK sources in `lib/CMakeLists.txt` so that it compiles. > The problem is that if > I include in the block implementation a header from the SDK, when it is > executed in gnuradio, I > get the following error: > ``` > AttributeError: 'module' object has no attribute 'foobar' > ``` > Does anyone had anyone had a similar issue ? > Am I forgetting something ? > > >
_______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
