|
From: | Sami Mezhoud |
Subject: | Re: [Discuss-gnuradio] OOT module with external cpp library |
Date: | Fri, 30 Mar 2018 14:38:54 +0200 |
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:DOn 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 managedto include the SDK sources in `lib/CMakeLists.txt` so that it compiles. The problem is that ifI include in the block implementation a header from the SDK, when it is executed in gnuradio, Iget the following error:```AttributeError: 'module' object has no attribute 'foobar'```Does anyone had anyone had a similar issue ?Am I forgetting something ?
[Prev in Thread] | Current Thread | [Next in Thread] |