In my out-of-tree module (in develop)
I want to use Reed-Solomon encoder and decoder from gr-dvbt
I’ve successfully installed gr-dvbt.
In my code, it contains:
#include <dvbt/reed_solomon_enc.h>
#include <dvbt/reed_solomon_dec.h>
#include <dvbt/reed_solomon.h>
and variable declaration:
reed_solomon::reed_solomon d_rs(rs_p, rs_m, gfpoly, phy.rs_n,
phy.rs_k,
phy.rs_t2 / 2, phy.rs_s, blocks);
and so on.
When I build my module with make
command, the following errors appear:
gr-mymodule/lib/utils.cc: In function ‘void outer_encode(char*,
char*,
tx_param&, phy_param&)’:
gr-mymodule/lib/utils.cc:170:3: error: ‘reed_solomon’ has not been
declared
reed_solomon::reed_solomon d_rs(rs_p, rs_m, gfpoly, phy.rs_n,
phy.rs_k, phy.rs_t2 / 2, phy.rs_s, blocks); // gr-dvbt
^
I think I need to modify CMakeLists.txt in somewhere and somehow to tell
‘I
will be using gr-dvbt’, but I have no idea to do it.
Does anyone have an idea for my problem?
Regards,
Jeon.