|Subject:||Problem on calling the count_bits32() method|
|Date:||Tue, 15 Dec 2020 09:38:28 +0000|
I am writing a block that needs to call the gr::blocks::count_bits32() method in its corresponding CPP script. At the beginning of the script, I have added "#include <gnuradio/blocks/count_bits.h>".
When I used the "make" command to compile the program, no errors occurred.
However, when I typed the "ctest -V" command in the terminal to check the compilation, the following error appeared: "ImportError: /home/<my-path>/build/lib/libgnuradio-<my-module’s-name>.so: undefined symbol: _ZN2gr6blocks12count_bits32Ej"
Then, I typed the "c++filt _ZN2gr6blocks12count_bits32Ej" command in the terminal and obtained an output: "gr::blocks::count_bits32(unsigned int)".
Do you have any idea why I encounter this error?
Sent from Mail for Windows 10
|[Prev in Thread]||Current Thread||[Next in Thread]|