Hi Marcin and Vasil,
Thank you guys very much!
Marcin: I did as you suggested and left out win_type and beta.
Vasil: Based on the conversation exchanges between you Marcin, I followed your suggestion to link in the gnuradio-filter library - in lib/CMakeLists.txt in target_link_libraries() by adding gnuradio-filter.
Thus, the target_link_libraries in the original OOT lib/CMakeLists.txt file was:
target_link_libraries(gnuradio-ge_filters gnuradio::gnuradio-runtime)
and I added to it as shown below:
target_link_libraries(gnuradio-ge_filters gnuradio::gnuradio-runtime gnuradio-filter)
The OOT program compiles and makes the intended Gnuradio block for me to load in a GRC flowgraph. For experimental purposes, I made the OOT block to output the filter coefficients. When I run the grc, the lowpass filter outputs all zeros, so something is wrong!
Marcin: You had written a piece of code to print "Hello World". Please run your code to print out the returned filter coefficients and let me know if it works well because mine is having some problems.
This is how I invoked the filter method (all parameters are defined):
vector <float> lpfilter; //vector variable will contain the filter coeff's
lpfilter = gr::filter::firdes::low_pass(gain, sampling_freq, cutoff_freq, transition_bandwidth);
Thank you guys!
George