On Fri, Jul 4, 2014 at 5:56 PM, Martin Braun <martin.braun@ettus.com> wrote:
On 07/04/2014 09:29 PM, Abhishek Bhowmick wrote:Hey Abhishek,
> Hi,
> I am trying to use VOLK in a new module that will have some new fast
> blocks (hopefully). Being new to the cmake system, I have some
> difficulty in including the volk headers and linking it.
> Specifically, I am trying to figure out what changes to make to the
> CMakeLists.txt in the <new-module> directory. I tried adding the
> following lines :
>
> include(GrComponent)
> GR_REGISTER_COMPONENT("gr-fastblocks" ENABLE_VOLK)
>
> but still, the build process complains about volk functions being
> undeclared. I am trying to understand the cmake system to figure out a
> way, but any help in the meantime would be greatly appreciated.
have a look at other OOTs that use VOLK, such as gr-dvbt.
(https://github.com/BogdanDIA/gr-dvbt).
M
Abhishek,
In particular, look at the lib/CMakeLists.txt file for adding libraries to build against.
Tom
No comments:
Post a Comment