Using VOLK in a new gr-block

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 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.

Abhishek B…

On 07/04/2014 09:29 PM, Abhishek B. wrote:

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.

Hey Abhishek,

have a look at other OOTs that use VOLK, such as gr-dvbt.
(GitHub - BogdanDIA/gr-dvbt: DVB-T implementation in gnuradio).

M

On Fri, Jul 4, 2014 at 5:56 PM, Martin B. [email protected]
wrote:

GR_REGISTER_COMPONENT(“gr-fastblocks” ENABLE_VOLK)
M

Abhishek,
In particular, look at the lib/CMakeLists.txt file for adding libraries
to
build against.

Tom