error LNK2001: unresolved external symbol

Bladerunner

New Member
Hi there!

Attempting to develop a plugin, just trying the example from obs-module.h and I get:

error LNK2001: unresolved external symbol "struct obs_source_info overlay_console_info" (?overlay_console_info@@3Uobs_source_info@@A)

any hints?

Thanks

#include <obs-module.h>


OBS_DECLARE_MODULE()
OBS_MODULE_USE_DEFAULT_LOCALE("overlay-console", "en-US")

extern struct obs_source_info overlay_console_info;


bool obs_module_load(void)
{
obs_register_source(&overlay_console_info);
return true;
}
 
Top