It is a block for gnuradio for phase shifting modulation.
"make" tells me:
In file included from howto_diffconst_bc.cc:5:
./howto_diffconst_bc.h:6: error: expected identifier before ‘.’ token
./howto_diffconst_bc.h:6: error: expected ‘;’ before ‘.’ token
./howto_diffconst_bc.h:6: error: expected unqualified-id before ‘.’ token
howto_diffconst_bc.cc:12: error: expected initializer before ‘<’ token
howto_diffconst_bc.cc:13: error: expected initializer before ‘<’ token
howto_diffconst_bc.cc:14: error: expected constructor, destructor, or type conversion before ‘<’ token
howto_diffconst_bc.cc: In constructor ‘howto_diffconst_bc::howto_diffconst_bc()’:
howto_diffconst_bc.cc:19: error: ‘phase’ was not declared in this scope
howto_diffconst_bc.cc:19: error: ‘complex’ was not declared in this scope
howto_diffconst_bc.cc:19: error: expected primary-expression before ‘float’
howto_diffconst_bc.cc:19: error: expected ‘;’ before ‘float’
howto_diffconst_bc.cc: In member function ‘virtual int howto_diffconst_bc::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’:
howto_diffconst_bc.cc:30: error: ‘complex’ was not declared in this scope
howto_diffconst_bc.cc:30: error: expected primary-expression before ‘float’
howto_diffconst_bc.cc:30: error: expected ‘;’ before ‘float’
howto_diffconst_bc.cc:33: error: ‘phase’ was not declared in this scope
howto_diffconst_bc.cc:33: error: ‘p_change’ was not declared in this scope
howto_diffconst_bc.cc:35: error: ‘phase’ was not declared in this scope
howto_diffconst_bc.cc:35: error: ‘n_change’ was not declared in this scope
howto_diffconst_bc.cc:37: error: ‘out’ was not declared in this scope
howto_diffconst_bc.cc:37: error: ‘phase’ was not declared in this scope
make[2]: *** [howto_diffconst_bc.lo] Error 1
make[2]: Leaving directory `/home/thunderbolt/Desktop/modulator/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/thunderbolt/Desktop/modulator'
make: *** [all] Error 2
As far as I understand - it doesn't recognise complex, or I declared phase, n_change and p_change somewhere I shouldn't have. Please help me sort this out.