I receive a LNK2019 error on obs_module_text when I try to compile the example code below. I am using Visual Studio 2015 and have included obs.lib in the Linker > Input > Additional Dependencies part of the project properties.
obs_module_text is declared in obs-module.h of the libobs project, which generates obs.lib, so it looks to me like my code should compile and link. This of course means that there is some fundamental understanding that I'm lacking.
Any help with this will be greatly appreciated!
obs_module_text is declared in obs-module.h of the libobs project, which generates obs.lib, so it looks to me like my code should compile and link. This of course means that there is some fundamental understanding that I'm lacking.
Any help with this will be greatly appreciated!
Code:
#include <obs-module.h>
OBS_DECLARE_MODULE()
struct obs_source_info my_source;
bool obs_module_load(void)
{
obs_module_text("WAT");
return true;
}