Failed to compile Generated Boilerplate
I couldn't compile the generated boilerplate. Below is the steps I used to create the sample boilerplate.
../tools/make_element HelloWorld
After that, I modified the meson.build in gst-plugin directory
helloworld_sources = [
'src/gsthelloworld.c'
]
gsthelloworld = library('gsthelloworld',
helloworld_sources,
c_args: plugin_c_args,
dependencies : [gst_dep],
install : true,
install_dir : plugins_install_dir,
)
However, I encountered errors after doing meson build && ninja -C build
:
gst-template/build/../gst-plugin/src/gsthelloworld.c:184: undefined reference to `GST_HELLOWORLD'
**there are multiple lines of the same errors happen at different part of the source file.
Any idea?